Fixed group.
[framework/uifw/xorg/proto/x11proto-dri2.git] / packaging / xorg-x11-proto-dri2proto.spec
1 Name:       xorg-x11-proto-dri2proto
2 Summary:    X.Org X11 Protocol dri2proto
3 Version:    2.6
4 Release:    1.8
5 Group:      Graphics/X Window System
6 License:    MIT
7 URL:        http://www.x.org
8 Source0:    %{name}-%{version}.tar.gz
9 Source1001: packaging/xorg-x11-proto-dri2proto.manifest 
10 Provides:   dri2proto
11 BuildRequires: pkgconfig(xorg-macros)
12
13 %description
14 Description: %{summary}
15
16
17
18 %prep
19 %setup -q -n %{name}-%{version}
20
21 %build
22 cp %{SOURCE1001} .
23
24 %reconfigure --disable-static \
25     --libdir=%{_datadir}
26
27 # Call make instruction with smp support
28 make %{?jobs:-j%jobs}
29
30 %install
31 rm -rf %{buildroot}
32 %make_install
33
34
35 %clean
36 rm -rf %{buildroot}
37
38
39
40
41
42
43 %files
44 %manifest xorg-x11-proto-dri2proto.manifest
45 %defattr(-,root,root,-)
46 %{_includedir}/X11/extensions/dri2proto.h
47 %{_includedir}/X11/extensions/dri2tokens.h
48 %{_datadir}/pkgconfig/dri2proto.pc
49 %exclude %{_datadir}/doc/dri2proto/dri2proto.txt