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
13 Source0: http://fontconfig.org/release/%{name}-%{version}.tar.gz
14 # Source0-md5: f13af7e7dfa4e1d68aeb9dcc8d12045a
15 Patch0: %{name}-blacklist.patch
16 Patch1: %{name}-autohint.patch
17 Patch2: %{name}-autohint2.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 biblioteka 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ê.
43 #%description -l pt_BR
44 #Fontconfig é uma biblioteca para configuração e customização do acesso
48 Summary: Font configuration and customization library - development files
49 Summary(pl): Biblioteka do konfigurowania fontów - pliki dla programistów
50 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
51 Group: Development/Libraries
52 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
54 Requires: freetype-devel >= 2.1.5
55 Provides: XFree86-fontconfig-devel
56 Obsoletes: XFree86-fontconfig-devel
59 Fontconfig is designed to locate fonts within the system and select
60 them according to requirements specified by applications.
62 This package contains the header files needed to develop programs that
65 %description devel -l pl
66 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
67 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
69 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
70 programów korzystaj±cych z biblioteki fontconfig.
72 %description devel -l pt_BR
73 Fontconfig é uma biblioteca para configuração e customização do acesso
77 Summary: Font configuration and customization library
78 Summary(pl): Biblioteka do konfigurowania fontów
79 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
80 Group: Development/Libraries
81 Requires: freetype >= 2.1.5
82 Provides: XFree86-fontconfig
83 Conflicts: fontconfig <= 1:2.2.98-1
84 Obsoletes: XFree86-fontconfig
87 Fontconfig is designed to locate fonts within the system and select
88 them according to requirements specified by applications.
90 %description libs -l pl
91 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
92 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
94 %description libs -l pt_BR
95 Fontconfig é uma biblioteca para configuração e customização do acesso
99 Summary: Static font configuration and customization library
100 Summary(pl): Statyczna biblioteka do konfigurowania fontów
101 Group: Development/Libraries
102 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
103 Provides: XFree86-fontconfig-static
104 Obsoletes: XFree86-fontconfig-static
107 This package contains static version of fontconfig library.
109 %description static -l pl
110 Ten pakiet zawiera statyczn± wersjê biblioteki fontconfig.
132 rm -rf $RPM_BUILD_ROOT
133 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3,5}
136 DESTDIR=$RPM_BUILD_ROOT
138 install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
139 install doc/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
142 rm -rf $RPM_BUILD_ROOT
146 HOME=/root %{_bindir}/fc-cache -f 2>/dev/null
148 %postun -p /sbin/ldconfig
151 %defattr(644,root,root,755)
152 %doc AUTHORS COPYING ChangeLog README
153 %attr(755,root,root) %{_bindir}/fc-*
158 %defattr(644,root,root,755)
159 %doc doc/fontconfig-devel/*.html
160 %attr(755,root,root) %{_libdir}/lib*.so
162 %{_includedir}/fontconfig
163 %{_pkgconfigdir}/fontconfig.pc
167 %defattr(644,root,root,755)
168 %dir %{_sysconfdir}/fonts
169 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
170 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
171 %{_sysconfdir}/fonts/fonts.dtd
172 %attr(755,root,root) %{_libdir}/lib*.so.*.*
175 %defattr(644,root,root,755)