3 %bcond_with bytecode # use bytecode hinting instead of autohinting by default
5 Summary: Font configuration and customization library
6 Summary(pl): Biblioteka do konfigurowania fontów
7 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
14 Source0: http://fontconfig.org/fontconfig/release/%{name}-%{version}.tar.gz
15 # Source0-md5: 45041c2ce1b32bf71097fb6c835b0b84
16 Patch0: %{name}-blacklist.patch
17 Patch1: %{name}-date.patch
18 Patch2: %{name}-autohint.patch
19 Patch3: %{name}-autohint2.patch
20 URL: http://fontconfig.org/
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: docbook-utils >= 0.6.13-3
24 BuildRequires: docbook-dtd41-sgml
26 BuildRequires: expat-devel
27 BuildRequires: freetype-devel >= 2.1.5
28 BuildRequires: libtool
29 Requires(post): /sbin/ldconfig
30 Requires: freetype >= 2.1.5
31 Provides: XFree86-fontconfig
32 Obsoletes: XFree86-fontconfig
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 Fontconfig is designed to locate fonts within the system and select
37 them according to requirements specified by applications.
40 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
41 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
44 Fontconfig é uma biblioteca para configuração e customização do acesso
48 Summary: Font configuration and customization library
49 Summary(pl): Biblioteka do konfigurowania fontó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} = %{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: Static font configuration and customization library
78 Summary(pl): Statyczna biblioteka do konfigurowania fontów
79 Group: Development/Libraries
80 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
81 Provides: XFree86-fontconfig-static
82 Obsoletes: XFree86-fontconfig-static
85 This package contains static version of fontconfig library.
87 %description static -l pl
88 Ten pakiet zawiera statyczn± wersjê biblioteki fontconfig.
111 rm -rf $RPM_BUILD_ROOT
112 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3,5}
115 DESTDIR=$RPM_BUILD_ROOT
117 install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
118 install doc/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
121 rm -rf $RPM_BUILD_ROOT
125 HOME=/root %{_bindir}/fc-cache -f 2>/dev/null
127 %postun -p /sbin/ldconfig
130 %defattr(644,root,root,755)
131 %doc AUTHORS COPYING ChangeLog README
132 %dir %{_sysconfdir}/fonts
133 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
134 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
135 %{_sysconfdir}/fonts/fonts.dtd
136 %attr(755,root,root) %{_bindir}/fc-*
137 %attr(755,root,root) %{_libdir}/lib*.so.*.*
142 %defattr(644,root,root,755)
143 %doc doc/fontconfig-devel/*.html
144 %attr(755,root,root) %{_libdir}/lib*.so
146 %{_includedir}/fontconfig
147 %{_pkgconfigdir}/fontconfig.pc
151 %defattr(644,root,root,755)