3 %bcond_with bytecode # use bytecode hinting instead of autohinting by default
5 Summary: Font configuration and customization tools
6 Summary(pl): Narzêdzia do konfigurowania fontów
7 Summary(pt_BR): Ferramentas para configuração e customização do acesso a fontes
14 Source0: http://fontconfig.org/release/%{name}-%{version}.tar.gz
15 # Source0-md5: 7354f9f125ea78a8f2851cb9c31d4866
16 Patch0: %{name}-blacklist.patch
17 Patch1: %{name}-autohint.patch
18 URL: http://fontconfig.org/
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: docbook-utils >= 0.6.13-3
22 BuildRequires: docbook-dtd41-sgml
24 BuildRequires: expat-devel
25 BuildRequires: freetype-devel >= 2.1.5
26 BuildRequires: libtool
27 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
28 Requires: freetype >= 2.1.5
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.
35 This package contains tools and documentation.
38 Fontconfig jest bibliotek± przeznaczon± do lokalizowania fontów w
39 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
41 Paket ten zawiera programy narzêdziowe i dokumentacjê.
44 Fontconfig é uma biblioteca para configuração e customização do acesso
47 Este pacote contém as ferramentas e documentação.
50 Summary: Font configuration and customization library
51 Summary(pl): Biblioteka do konfigurowania fontów
52 Summary(pt_BR): Biblioteca para configuração e customização do acesso a fontes
53 Group: Development/Libraries
54 Requires: freetype >= 2.1.5
55 Provides: XFree86-fontconfig
56 Conflicts: fontconfig <= 1:2.2.98-1
57 Obsoletes: XFree86-fontconfig
60 Fontconfig is designed to locate fonts within the system and select
61 them according to requirements specified by applications.
63 %description libs -l pl
64 Fontconfig jest bibliotek± przeznaczon± do lokalizowania fontów w
65 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
67 %description libs -l pt_BR
68 Fontconfig é uma biblioteca para configuração e customização do acesso
72 Summary: Font configuration and customization library - development files
73 Summary(pl): Biblioteka do konfigurowania fontów - pliki dla programistów
74 Summary(pt_BR): Biblioteca para configuração e customização do acesso a fontes - arquivos de desenvolvimento
75 Group: Development/Libraries
76 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
78 Requires: freetype-devel >= 2.1.5
79 Provides: XFree86-fontconfig-devel
80 Obsoletes: XFree86-fontconfig-devel
83 Fontconfig is designed to locate fonts within the system and select
84 them according to requirements specified by applications.
86 This package contains the header files needed to develop programs that
89 %description devel -l pl
90 Fontconfig jest bibliotek± przeznaczon± do lokalizowania fontów w
91 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
93 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
94 programów korzystaj±cych z biblioteki fontconfig.
96 %description devel -l pt_BR
97 Fontconfig é uma biblioteca para configuração e customização do acesso
100 Este pacote contém arquivos de desenvolvimento necessários à criação
101 de extensões baseadas na biblioteca fontconfig.
104 Summary: Static font configuration and customization library
105 Summary(pl): Statyczna biblioteka do konfigurowania fontów
106 Summary(pt_BR): Biblioteca estática para configuração e customização do acesso a fontes
107 Group: Development/Libraries
108 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
109 Provides: XFree86-fontconfig-static
110 Obsoletes: XFree86-fontconfig-static
113 This package contains static version of fontconfig library.
115 %description static -l pl
116 Ten pakiet zawiera statyczn± wersjê biblioteki fontconfig.
118 %description static -l pt_BR
119 Este pacote contém a biblioteca estática do fontconfig
139 rm -rf $RPM_BUILD_ROOT
140 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3,5}
143 DESTDIR=$RPM_BUILD_ROOT
145 install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
146 install doc/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
148 cp -f conf.d/README README.confd
151 rm -rf $RPM_BUILD_ROOT
155 HOME=/tmp %{_bindir}/fc-cache -f 2>/dev/null
157 %post libs -p /sbin/ldconfig
158 %postun libs -p /sbin/ldconfig
161 %defattr(644,root,root,755)
162 %doc AUTHORS COPYING ChangeLog README README.confd
163 %attr(755,root,root) %{_bindir}/fc-*
168 %defattr(644,root,root,755)
169 %dir %{_sysconfdir}/fonts
170 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fonts/fonts.conf
171 %{_sysconfdir}/fonts/fonts.dtd
172 %dir %{_sysconfdir}/fonts/conf.d
173 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fonts/conf.d/*.conf
174 %attr(755,root,root) %{_libdir}/lib*.so.*.*
177 %defattr(644,root,root,755)
178 %doc doc/fontconfig-devel/*.html
179 %attr(755,root,root) %{_libdir}/lib*.so
181 %{_includedir}/fontconfig
182 %{_pkgconfigdir}/fontconfig.pc
186 %defattr(644,root,root,755)