7a142e068c18b3ea6c69e3edc36074694715d7ca
[platform/upstream/libXfontcache.git] / packaging / libXfontcache.spec
1 Name:           libXfontcache
2 Version:        1.0.5
3 Release:        0
4 Summary:        X TrueType font cache extension client library
5 License:        MIT
6 Group:          Development/Libraries
7 Url:            http://xorg.freedesktop.org/
8
9 Source:         %name-%version.tar.bz2
10 Source1001:     libXfontcache.manifest
11 BuildRequires:  fdupes
12 BuildRequires:  pkgconfig
13 BuildRequires:  pkgconfig(fontcacheproto)
14 BuildRequires:  pkgconfig(x11)
15 BuildRequires:  pkgconfig(xext)
16 BuildRequires:  pkgconfig(xextproto)
17 BuildRequires:  pkgconfig(xorg-macros) >= 1.3
18
19 %description
20 FontCache is an extension that is used by X TrueType to cache
21 information about fonts.
22
23 %package devel
24 Summary:        Development files for the X TrueType font cache library
25 Group:          Development/Libraries
26 Requires:       %name = %version
27
28 %description devel
29 FontCache is an extension that is used by X TrueType to cache
30 information about fonts.
31
32 This package contains the development headers for the library found
33 in %name.
34
35 %prep
36 %setup -q
37 cp %{SOURCE1001} .
38
39 %build
40 %configure --disable-static
41 make %{?_smp_mflags}
42
43 %install
44 %make_install
45 %fdupes %buildroot
46
47 %post  -p /sbin/ldconfig
48
49 %postun -p /sbin/ldconfig
50
51 %files 
52 %manifest %{name}.manifest
53 %defattr(-,root,root)
54 %license COPYING
55 %_libdir/libXfontcache.so.1*
56
57 %files devel
58 %manifest %{name}.manifest
59 %defattr(-,root,root)
60 %_libdir/libXfontcache.so
61 %_libdir/pkgconfig/xfontcache.pc
62 %_mandir/man3/*
63
64 %changelog