add packaging
authorAnas Nashif <anas.nashif@intel.com>
Wed, 6 Mar 2013 08:20:04 +0000 (00:20 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 6 Mar 2013 08:21:44 +0000 (00:21 -0800)
packaging/fontcacheproto.spec [new file with mode: 0644]

diff --git a/packaging/fontcacheproto.spec b/packaging/fontcacheproto.spec
new file mode 100644 (file)
index 0000000..d3663f3
--- /dev/null
@@ -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