1 Summary: Font configuration and customization library
2 Summary(pl): Biblioteka do konfigurowania fontów
3 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
10 # Source0: http://fontconfig.org/release/%{name}-%{version}.tar.gz
11 Source0: http://pdx.freedesktop.org/~fontconfig/release/%{name}-%{version}.tar.gz
12 # Source0-md5: 82bafe9691095ec9348449b785bd0744
13 Patch0: %{name}-blacklist.patch
14 Patch1: %{name}-date.patch
15 Patch2: %{name}-autohint.patch
16 URL: http://fontconfig.org/
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: docbook-utils >= 0.6.13-3
20 BuildRequires: docbook-dtd41-sgml
22 BuildRequires: expat-devel
23 BuildRequires: freetype-devel >= 2.1.5
24 BuildRequires: libtool
25 Requires(post): /sbin/ldconfig
26 Requires: freetype >= 2.1.5
27 Provides: XFree86-fontconfig
28 Obsoletes: XFree86-fontconfig
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Fontconfig is designed to locate fonts within the system and select
33 them according to requirements specified by applications.
36 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
37 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
40 Fontconfig é uma biblioteca para configuração e customização do acesso
44 Summary: Font configuration and customization library
45 Summary(pl): Biblioteka do konfigurowania fontów
46 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
47 Group: Development/Libraries
48 Requires: %{name} = %{epoch}:%{version}-%{release}
50 Requires: freetype-devel >= 2.1.5
51 Provides: XFree86-fontconfig-devel
52 Obsoletes: XFree86-fontconfig-devel
55 Fontconfig is designed to locate fonts within the system and select
56 them according to requirements specified by applications.
58 This package contains the header files needed to develop programs that
61 %description devel -l pl
62 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
63 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
65 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
66 programów korzystaj±cych z biblioteki fontconfig.
68 %description devel -l pt_BR
69 Fontconfig é uma biblioteca para configuração e customização do acesso
73 Summary: Static font configuration and customization library
74 Summary(pl): Statyczna biblioteka do konfigurowania fontów
75 Group: Development/Libraries
76 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
77 Provides: XFree86-fontconfig-static
78 Obsoletes: XFree86-fontconfig-static
81 This package contains static version of fontconfig library.
83 %description static -l pl
84 Ten pakiet zawiera statyczn± wersjê biblioteki fontconfig.
103 rm -rf $RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3,5}
107 DESTDIR=$RPM_BUILD_ROOT
109 install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
110 install doc/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
113 rm -rf $RPM_BUILD_ROOT
117 HOME=/root %{_bindir}/fc-cache -f 2>/dev/null
119 %postun -p /sbin/ldconfig
122 %defattr(644,root,root,755)
123 %doc AUTHORS COPYING ChangeLog README
124 %dir %{_sysconfdir}/fonts
125 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
126 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
127 %{_sysconfdir}/fonts/fonts.dtd
128 %attr(755,root,root) %{_bindir}/fc-*
129 %attr(755,root,root) %{_libdir}/lib*.so.*.*
134 %defattr(644,root,root,755)
135 %doc doc/fontconfig-devel/*.html
136 %attr(755,root,root) %{_libdir}/lib*.so
138 %{_includedir}/fontconfig
139 %{_pkgconfigdir}/fontconfig.pc
143 %defattr(644,root,root,755)