5ff4bb3945e385e0aa8cd33f607dce968be87bf8
[platform/upstream/dri2proto.git] / packaging / dri2proto.spec
1 Name:     dri2proto
2 Summary:  X.Org X11 Protocol dri2proto
3 Version:  2.8
4 Release:  1
5 Group:    Development/System
6 License:  MIT
7 URL:      http://www.x.org
8 Source0:  %{name}-%{version}.tar.bz2
9 Source1001:     dri2proto.manifest
10
11 BuildRequires: pkgconfig
12 BuildRequires: pkgconfig(xorg-macros)
13
14 %description
15 %{summary}
16
17 %prep
18 %setup -q
19 cp %{SOURCE1001} .
20
21 %build
22
23 %configure --disable-static \
24              --libdir=%{_datadir} \
25              --without-xmlto
26
27 make %{?jobs:-j%jobs}
28
29 %install
30 %make_install
31
32 %remove_docs
33
34 %files
35 %manifest %{name}.manifest
36 %license COPYING
37 %defattr(-,root,root,-)
38 %{_includedir}/X11/extensions/*.h
39 %{_datadir}/pkgconfig/*.pc