summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-31 00:16:37 (GMT)
committerAnas Nashif <anas.nashif@intel.com>2012-10-31 00:16:37 (GMT)
commit1ef4935142c7a91142901dfbc8d7cfc31717bc3b (patch)
treed570e474ca60907cbbb3b4369bfa43d8dd329215 /packaging
parent9046d7865e2cec9d322c9b1368b03e5a283a94bd (diff)
downloadxf86bigfontproto-1ef4935142c7a91142901dfbc8d7cfc31717bc3b.zip
xf86bigfontproto-1ef4935142c7a91142901dfbc8d7cfc31717bc3b.tar.gz
xf86bigfontproto-1ef4935142c7a91142901dfbc8d7cfc31717bc3b.tar.bz2
add packaging
Diffstat (limited to 'packaging')
-rw-r--r--packaging/xf86bigfontproto.spec45
1 files changed, 45 insertions, 0 deletions
diff --git a/packaging/xf86bigfontproto.spec b/packaging/xf86bigfontproto.spec
new file mode 100644
index 0000000..607a17b
--- /dev/null
+++ b/packaging/xf86bigfontproto.spec
@@ -0,0 +1,45 @@
+Name: xf86bigfontproto
+Summary: X.Org X11 Protocol xf86bigfontproto
+Version: 1.2.0
+Release: 1
+Group: Development/System
+License: MIT
+URL: http://www.x.org
+Source0: %{name}-%{version}.tar.gz
+Provides: xf86bigfontproto
+
+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