1 Summary: Font configuration and customization library
2 Summary(pl): Biblioteka do konfigurowania fontów
3 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
10 # Source0: http://fontconfig.org/release/%{name}-%{version}.tar.gz
11 Source0: http://pdx.freedesktop.org/~fontconfig/release/%{name}-%{version}.tar.gz
12 # Source0-md5: 45c4f2bac99b74fea693eda28fe30c45
13 Patch0: %{name}-blacklist.patch
14 Patch1: %{name}-date.patch
15 Patch2: %{name}-defaultconfig.patch
16 Patch3: %{name}-freetype-includes.patch
17 Patch4: %{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.4
26 BuildRequires: libtool
27 Requires(post): /sbin/ldconfig
28 Requires: freetype >= 2.1.4
29 Provides: %{name}-realpkg = %{epoch}:%{version}-%{release}
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}-realpkg = %{epoch}:%{version}
53 Requires: freetype-devel >= 2.1.4
54 Provides: %{name}-devel-realpkg = %{epoch}:%{version}-%{release}
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-realpkg = %{epoch}:%{version}
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.
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)