diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 17:17:04 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 17:17:04 -0700 |
commit | 735c1a364e2d65d6c2378cee847a30cb65b8080f (patch) | |
tree | 460e3ab081bbc779ccee0c3af3acdbde0efb8360 | |
parent | a0726619a6b6d350299fe98eb361f5371e7d66b3 (diff) | |
download | resourceproto-735c1a364e2d65d6c2378cee847a30cb65b8080f.tar.gz resourceproto-735c1a364e2d65d6c2378cee847a30cb65b8080f.tar.bz2 resourceproto-735c1a364e2d65d6c2378cee847a30cb65b8080f.zip |
add packaging
-rw-r--r-- | packaging/resourceproto.spec | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/packaging/resourceproto.spec b/packaging/resourceproto.spec new file mode 100644 index 0000000..9c03d32 --- /dev/null +++ b/packaging/resourceproto.spec @@ -0,0 +1,45 @@ +Name: resourceproto +Summary: X.Org X11 Protocol resourceproto +Version: 1.2.0 +Release: 1 +Group: Development/System +License: MIT +URL: http://www.x.org +Source0: %{name}-%{version}.tar.gz +Provides: resourceproto + +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
\ No newline at end of file |