From 17d073e004310041b4ad5280959a4cb157ea7645 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 6 Mar 2013 00:20:04 -0800 Subject: [PATCH] add packaging --- packaging/fontcacheproto.spec | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 packaging/fontcacheproto.spec diff --git a/packaging/fontcacheproto.spec b/packaging/fontcacheproto.spec new file mode 100644 index 0000000..d3663f3 --- /dev/null +++ b/packaging/fontcacheproto.spec @@ -0,0 +1,35 @@ +Name: fontcacheproto +Version: 0.1.3 +Release: 0 +License: MIT +Summary: X.org FontcacheProto protocol headers +Url: http://www.x.org +Group: Development/X11 Protocols +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 -- 2.7.4