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: d5e42a27ad2f22bc5ec45f15533fc5d1
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 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ê.
43 #%description -l pt_BR
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: freetype >= 2.1.5
53 Provides: XFree86-fontconfig
54 Conflicts: fontconfig <= 1:2.2.98-1
55 Obsoletes: XFree86-fontconfig
58 Fontconfig is designed to locate fonts within the system and select
59 them according to requirements specified by applications.
61 %description libs -l pl
62 Fontconfig jest bibliotek± przeznaczon± do lokalizowania fontów w
63 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
65 %description libs -l pt_BR
66 Fontconfig é uma biblioteca para configuração e customização do acesso
70 Summary: Font configuration and customization library - development files
71 Summary(pl): Biblioteka do konfigurowania fontów - pliki dla programistów
72 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
73 Group: Development/Libraries
74 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
76 Requires: freetype-devel >= 2.1.5
77 Provides: XFree86-fontconfig-devel
78 Obsoletes: XFree86-fontconfig-devel
81 Fontconfig is designed to locate fonts within the system and select
82 them according to requirements specified by applications.
84 This package contains the header files needed to develop programs that
87 %description devel -l pl
88 Fontconfig jest bibliotek± przeznaczon± do lokalizowania fontów w
89 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
91 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
92 programów korzystaj±cych z biblioteki fontconfig.
94 %description devel -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
141 cp -f conf.d/README README.confd
144 rm -rf $RPM_BUILD_ROOT
148 HOME=/tmp %{_bindir}/fc-cache -f 2>/dev/null
150 %post libs -p /sbin/ldconfig
151 %postun libs -p /sbin/ldconfig
154 %defattr(644,root,root,755)
155 %doc AUTHORS COPYING ChangeLog README README.confd
156 %attr(755,root,root) %{_bindir}/fc-*
161 %defattr(644,root,root,755)
162 %dir %{_sysconfdir}/fonts
163 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fonts/fonts.conf
164 %{_sysconfdir}/fonts/fonts.dtd
165 %dir %{_sysconfdir}/fonts/conf.d
166 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fonts/conf.d/*.conf
167 %attr(755,root,root) %{_libdir}/lib*.so.*.*
170 %defattr(644,root,root,755)
171 %doc doc/fontconfig-devel/*.html
172 %attr(755,root,root) %{_libdir}/lib*.so
174 %{_includedir}/fontconfig
175 %{_pkgconfigdir}/fontconfig.pc
179 %defattr(644,root,root,755)