summaryrefslogtreecommitdiff
path: root/packaging/xf86driproto.spec
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-31 00:15:41 (GMT)
committerAnas Nashif <anas.nashif@intel.com>2012-10-31 00:15:41 (GMT)
commit9a98edb5c38725618f4aaea9a76994068ab10c7f (patch)
treed0ebc7fa9a3b1ad7e321486d1b2b3ec5dc275b99 /packaging/xf86driproto.spec
parent73ee5980f7b5e91cd6a37f8d616ef41774086b84 (diff)
downloadxf86driproto-9a98edb5c38725618f4aaea9a76994068ab10c7f.zip
xf86driproto-9a98edb5c38725618f4aaea9a76994068ab10c7f.tar.gz
xf86driproto-9a98edb5c38725618f4aaea9a76994068ab10c7f.tar.bz2
add packaging
Diffstat (limited to 'packaging/xf86driproto.spec')
-rw-r--r--packaging/xf86driproto.spec45
1 files changed, 45 insertions, 0 deletions
diff --git a/packaging/xf86driproto.spec b/packaging/xf86driproto.spec
new file mode 100644
index 0000000..1bdd092
--- /dev/null
+++ b/packaging/xf86driproto.spec
@@ -0,0 +1,45 @@
+Name: xf86driproto
+Summary: X.Org X11 Protocol xf86driproto
+Version: 2.1.1
+Release: 1
+Group: Development/System
+License: MIT
+URL: http://www.x.org
+Source0: %{name}-%{version}.tar.gz
+Provides: xf86driproto
+
+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/dri/*.h
+%{_datadir}/pkgconfig/*.pc \ No newline at end of file