diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 19:15:09 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 19:15:09 -0700 |
commit | cbf0dc0a65a886e694117fe46f50c7ed30221081 (patch) | |
tree | 066e10f7fe83d2e1a1b6b784d08164ba47dc9761 | |
parent | ec3176160b89a6047fa68d87872731c1393c938b (diff) | |
download | xextproto-cbf0dc0a65a886e694117fe46f50c7ed30221081.tar.gz xextproto-cbf0dc0a65a886e694117fe46f50c7ed30221081.tar.bz2 xextproto-cbf0dc0a65a886e694117fe46f50c7ed30221081.zip |
add packaging
-rw-r--r-- | packaging/xextproto.spec | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/packaging/xextproto.spec b/packaging/xextproto.spec new file mode 100644 index 0000000..e795f84 --- /dev/null +++ b/packaging/xextproto.spec @@ -0,0 +1,47 @@ +Name: xextproto +Summary: X.Org X11 Protocol xextproto +Version: 7.2.1 +Release: 1 +Group: Development/System +License: MIT +URL: http://www.x.org +Source0: %{name}-%{version}.tar.gz +Provides: xextproto +Provides: x11proto-xext + +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 \ + CFLAGS="$CFLAGS -Wall -g " + +# 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 |