diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 17:08:51 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 17:08:51 -0700 |
commit | 8c5d98d9b88678fc28744a9394aed40edf0525ee (patch) | |
tree | 300c186c3dfb968e0578989231a89aac1a0da32e | |
parent | af514cd555cedb5fa086f9fde295b73027471731 (diff) | |
download | damageproto-8c5d98d9b88678fc28744a9394aed40edf0525ee.tar.gz damageproto-8c5d98d9b88678fc28744a9394aed40edf0525ee.tar.bz2 damageproto-8c5d98d9b88678fc28744a9394aed40edf0525ee.zip |
add packaging
-rw-r--r-- | packaging/damageproto.spec | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/packaging/damageproto.spec b/packaging/damageproto.spec new file mode 100644 index 0000000..38d99a1 --- /dev/null +++ b/packaging/damageproto.spec @@ -0,0 +1,46 @@ +Name: damageproto +Summary: X.Org X11 Protocol damageproto +Version: 1.2.1 +Release: 1 +Group: Development/System +License: MIT +URL: http://www.x.org +Source0: %{name}-%{version}.tar.gz +Provides: damageproto + +BuildRequires: pkgconfig +BuildRequires: pkgconfig(xorg-macros) + +# some file to be intalled can be ignored when rpm generates packages +%define _unpackaged_files_terminate_build 0 + +%description +Description: %{summary} + +%prep +%setup -q + +%build + +./autogen.sh +%reconfigure --disable-static \ + --libdir=%{_datadir} \ + --without-xmlto + +# Call make instruction with smp support +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +%remove_docs + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{_includedir}/X11/extensions/*.h +%{_datadir}/pkgconfig/*.pc + |