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