add packaging
[platform/upstream/fontcacheproto.git] / packaging / fontcacheproto.spec
1 Name:           fontcacheproto
2 Version:        0.1.3
3 Release:        0
4 License:        MIT
5 Summary:        X.org FontcacheProto protocol headers
6 Url:            http://www.x.org
7 Group:          Development/X11 Protocols
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
32 %files
33 %defattr(-,root,root,-)
34 %{_includedir}/X11/extensions/*.h
35 %{_datadir}/pkgconfig/*.pc