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/release/%{name}-%{version}.tar.gz
15 # Source0-md5: f13af7e7dfa4e1d68aeb9dcc8d12045a
16 Patch0: %{name}-blacklist.patch
17 Patch1: %{name}-autohint.patch
18 Patch2: %{name}-autohint2.patch
19 URL: http://fontconfig.org/
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: docbook-utils >= 0.6.13-3
23 BuildRequires: docbook-dtd41-sgml
25 BuildRequires: expat-devel
26 BuildRequires: freetype-devel >= 2.1.5
27 BuildRequires: libtool
28 Requires(post): /sbin/ldconfig
29 Requires: freetype >= 2.1.5
30 Provides: XFree86-fontconfig
31 Obsoletes: XFree86-fontconfig
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Fontconfig is designed to locate fonts within the system and select
36 them according to requirements specified by applications.
39 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
40 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
43 Fontconfig é uma biblioteca para configuração e customização do acesso
47 Summary: Font configuration and customization library
48 Summary(pl): Biblioteka do konfigurowania fontów
49 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
50 Group: Development/Libraries
51 Requires: %{name} = %{epoch}:%{version}-%{release}
53 Requires: freetype-devel >= 2.1.5
54 Provides: XFree86-fontconfig-devel
55 Obsoletes: XFree86-fontconfig-devel
58 Fontconfig is designed to locate fonts within the system and select
59 them according to requirements specified by applications.
61 This package contains the header files needed to develop programs that
64 %description devel -l pl
65 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
66 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
68 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
69 programów korzystaj±cych z biblioteki fontconfig.
71 %description devel -l pt_BR
72 Fontconfig é uma biblioteca para configuração e customização do acesso
76 Summary: Static font configuration and customization library
77 Summary(pl): Statyczna biblioteka do konfigurowania fontów
78 Group: Development/Libraries
79 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
80 Provides: XFree86-fontconfig-static
81 Obsoletes: XFree86-fontconfig-static
84 This package contains static version of fontconfig library.
86 %description static -l pl
87 Ten pakiet zawiera statyczn± wersjê biblioteki fontconfig.
109 rm -rf $RPM_BUILD_ROOT
110 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3,5}
113 DESTDIR=$RPM_BUILD_ROOT
115 install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
116 install doc/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
119 rm -rf $RPM_BUILD_ROOT
123 HOME=/root %{_bindir}/fc-cache -f 2>/dev/null
125 %postun -p /sbin/ldconfig
128 %defattr(644,root,root,755)
129 %doc AUTHORS COPYING ChangeLog README
130 %dir %{_sysconfdir}/fonts
131 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
132 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
133 %{_sysconfdir}/fonts/fonts.dtd
134 %attr(755,root,root) %{_bindir}/fc-*
135 %attr(755,root,root) %{_libdir}/lib*.so.*.*
140 %defattr(644,root,root,755)
141 %doc doc/fontconfig-devel/*.html
142 %attr(755,root,root) %{_libdir}/lib*.so
144 %{_includedir}/fontconfig
145 %{_pkgconfigdir}/fontconfig.pc
149 %defattr(644,root,root,755)