Set license using %license
[platform/upstream/damageproto.git] / packaging / damageproto.spec
1 Name:           damageproto
2 Version:        1.2.1
3 Release:        1
4 License:        MIT
5 Summary:        X
6 Url:            http://www.x.org
7 Group:          Development/System
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 %configure --disable-static \
21              --libdir=%{_datadir} \
22              --without-xmlto
23
24 make %{?_smp_mflags}
25
26 %install
27 %make_install
28
29 %remove_docs
30
31 %files
32 %license COPYING
33 %defattr(-,root,root,-)
34 %{_includedir}/X11/extensions/*.h
35 %{_datadir}/pkgconfig/*.pc