add packaging
authorAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 00:11:16 +0000 (17:11 -0700)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 00:11:16 +0000 (17:11 -0700)
packaging/bigreqsproto.spec [new file with mode: 0644]

diff --git a/packaging/bigreqsproto.spec b/packaging/bigreqsproto.spec
new file mode 100644 (file)
index 0000000..0bf1241
--- /dev/null
@@ -0,0 +1,46 @@
+Name:     bigreqsproto
+Summary:  X.Org X11 Protocol bigreqsproto
+Version:  1.1.2
+Release:  1
+Group:    Development/System
+License:  MIT
+URL:      http://www.x.org
+Source0:  %{name}-%{version}.tar.gz
+Provides: bigreqsproto
+
+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/*
+%{_datadir}/pkgconfig/*
+