From 8972551e314ed9186bf5c560771af8b5a30681fd Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 8 Nov 2012 12:11:44 -0800 Subject: add packaging --- packaging/xcb-proto.spec | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 packaging/xcb-proto.spec diff --git a/packaging/xcb-proto.spec b/packaging/xcb-proto.spec new file mode 100644 index 0000000..a32a9f1 --- /dev/null +++ b/packaging/xcb-proto.spec @@ -0,0 +1,35 @@ +Name: xcb-proto +Version: 1.8 +Release: 1 +License: MIT +Summary: X +Url: http://www.x.org +Group: Development/System +Source0: %{name}-%{version}.tar.bz2 + +BuildRequires: pkgconfig +BuildRequires: pkgconfig(xorg-macros) + +%description +%{summary}. + +%prep +%setup -q + +%build + +%configure --disable-static \ + --libdir=%{_datadir} \ + --without-xmlto + +make %{?_smp_mflags} + +%install +%make_install + +%remove_docs + +%files +%defattr(-,root,root,-) +%{_includedir}/X11/extensions/*.h +%{_datadir}/pkgconfig/*.pc -- cgit v1.2.3