Set license using %license
[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
10 BuildRequires: pkgconfig
11 BuildRequires: pkgconfig(xorg-macros)
12
13 %description
14 %{summary}
15
16 %prep
17 %setup -q
18
19 %build
20
21 %configure --disable-static \
22              --libdir=%{_datadir} \
23              --without-xmlto
24
25 make %{?jobs:-j%jobs}
26
27 %install
28 %make_install
29
30 %remove_docs
31
32 %files
33 %license COPYING
34 %defattr(-,root,root,-)
35 %{_includedir}/X11/extensions/*.h
36 %{_datadir}/pkgconfig/*.pc