]>
Commit | Line | Data |
---|---|---|
1 | Summary: Xfontcache - X-TrueType font cache extension client library | |
2 | Summary(pl.UTF-8): Xfontcache - biblioteka kliencka rozszerzenia cache'u fontów X-TrueType | |
3 | Name: xorg-lib-libXfontcache | |
4 | Version: 1.0.5 | |
5 | Release: 3 | |
6 | License: MIT | |
7 | Group: X11/Libraries | |
8 | Source0: http://xorg.freedesktop.org/releases/individual/lib/libXfontcache-%{version}.tar.bz2 | |
9 | # Source0-md5: bbd37768c87f63cf2eb845b2c0f56515 | |
10 | URL: http://xorg.freedesktop.org/ | |
11 | BuildRequires: autoconf >= 2.57 | |
12 | BuildRequires: automake | |
13 | BuildRequires: libtool | |
14 | BuildRequires: pkgconfig >= 1:0.19 | |
15 | BuildRequires: xorg-lib-libXext-devel | |
16 | BuildRequires: xorg-proto-fontcacheproto-devel | |
17 | BuildRequires: xorg-util-util-macros >= 1.3 | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Xfontcache is an X-TrueType font cache extension client library. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Xfontcache to biblioteka kliencka rozszerzenia cache'u fontów | |
25 | X-TrueType. | |
26 | ||
27 | %package devel | |
28 | Summary: Header files for libXfontcache library | |
29 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXfontcache | |
30 | Group: X11/Development/Libraries | |
31 | Requires: %{name} = %{version}-%{release} | |
32 | Requires: xorg-proto-fontcacheproto-devel | |
33 | Requires: xorg-lib-libXext-devel | |
34 | ||
35 | %description devel | |
36 | Xfontcache is an X-TrueType font cache extension client library. | |
37 | ||
38 | This package contains the header files needed to develop programs that | |
39 | use libXfontcache. | |
40 | ||
41 | %description devel -l pl.UTF-8 | |
42 | Xfontcache to biblioteka kliencka rozszerzenia cache'u fontów | |
43 | X-TrueType. | |
44 | ||
45 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów | |
46 | używających biblioteki libXfontcache. | |
47 | ||
48 | %package static | |
49 | Summary: Static libXfontcache library | |
50 | Summary(pl.UTF-8): Biblioteka statyczna libXfontcache | |
51 | Group: X11/Development/Libraries | |
52 | Requires: %{name}-devel = %{version}-%{release} | |
53 | ||
54 | %description static | |
55 | Xfontcache is an X-TrueType font cache extension client library. | |
56 | ||
57 | This package contains the static libXfontcache library. | |
58 | ||
59 | %description static -l pl.UTF-8 | |
60 | Xfontcache to biblioteka kliencka rozszerzenia cache'u fontów | |
61 | X-TrueType. | |
62 | ||
63 | Pakiet zawiera statyczną bibliotekę libXfontcache. | |
64 | ||
65 | %prep | |
66 | %setup -q -n libXfontcache-%{version} | |
67 | ||
68 | %build | |
69 | %{__libtoolize} | |
70 | %{__aclocal} | |
71 | %{__autoconf} | |
72 | %{__autoheader} | |
73 | %{__automake} | |
74 | %configure | |
75 | ||
76 | %{__make} | |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %{__make} install \ | |
82 | DESTDIR=$RPM_BUILD_ROOT \ | |
83 | pkgconfigdir=%{_pkgconfigdir} | |
84 | ||
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %post -p /sbin/ldconfig | |
89 | %postun -p /sbin/ldconfig | |
90 | ||
91 | %files | |
92 | %defattr(644,root,root,755) | |
93 | %doc COPYING ChangeLog README | |
94 | %attr(755,root,root) %{_libdir}/libXfontcache.so.*.*.* | |
95 | %attr(755,root,root) %ghost %{_libdir}/libXfontcache.so.1 | |
96 | ||
97 | %files devel | |
98 | %defattr(644,root,root,755) | |
99 | %attr(755,root,root) %{_libdir}/libXfontcache.so | |
100 | %{_libdir}/libXfontcache.la | |
101 | %{_pkgconfigdir}/xfontcache.pc | |
102 | %{_mandir}/man3/FontCache*.3* | |
103 | %{_mandir}/man3/Xfontcache.3* | |
104 | ||
105 | %files static | |
106 | %defattr(644,root,root,755) | |
107 | %{_libdir}/libXfontcache.a |