summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-08 13:35:56 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-08 13:35:56 -0800
commitff290c0a11ed8b18a68fad23d7f1a8683cddc735 (patch)
tree50f991c348d8aa5a97f3214d386d25bca0283044 /packaging
parentd648d5986f1724e9bd37c28d76d364ef03b9ae6a (diff)
downloaddri2proto-ff290c0a11ed8b18a68fad23d7f1a8683cddc735.tar.gz
dri2proto-ff290c0a11ed8b18a68fad23d7f1a8683cddc735.tar.bz2
dri2proto-ff290c0a11ed8b18a68fad23d7f1a8683cddc735.zip
Diffstat (limited to 'packaging')
-rw-r--r--packaging/dri2proto.spec35
1 files changed, 35 insertions, 0 deletions
diff --git a/packaging/dri2proto.spec b/packaging/dri2proto.spec
new file mode 100644
index 0000000..41697f4
--- /dev/null
+++ b/packaging/dri2proto.spec
@@ -0,0 +1,35 @@
+Name: dri2proto
+Summary: X.Org X11 Protocol dri2proto
+Version: 2.8
+Release: 1
+Group: Development/System
+License: MIT
+URL: http://www.x.org
+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 %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc