add packaging
[platform/upstream/damageproto.git] / packaging / damageproto.spec
1 Name:     damageproto
2 Summary:  X.Org X11 Protocol damageproto
3 Version:  1.2.1
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 ./autogen.sh
21 %reconfigure --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 %defattr(-,root,root,-)
34 %{_includedir}/X11/extensions/*.h
35 %{_datadir}/pkgconfig/*.pc