diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 17:33:23 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 17:33:23 -0700 |
commit | b49978a1ba79169d655e0ae39654cd5035da1ef3 (patch) | |
tree | 1d8fc4a20884899061eba2f63852fa7320fefe11 | |
parent | 79563f207e6290a34b28aca46a7709d0a4b9840d (diff) | |
download | dmxproto-b49978a1ba79169d655e0ae39654cd5035da1ef3.tar.gz dmxproto-b49978a1ba79169d655e0ae39654cd5035da1ef3.tar.bz2 dmxproto-b49978a1ba79169d655e0ae39654cd5035da1ef3.zip |
add packaging
-rw-r--r-- | packaging/dmxproto.spec | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/packaging/dmxproto.spec b/packaging/dmxproto.spec new file mode 100644 index 0000000..e39eb67 --- /dev/null +++ b/packaging/dmxproto.spec @@ -0,0 +1,46 @@ +Name: dmxproto +Summary: X.Org X11 Protocol dmxproto +Version: 2.3.1 +Release: 1 +Group: Development/System +License: MIT +URL: http://www.x.org +Source0: %{name}-%{version}.tar.gz +Provides: dmxproto + +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 + |