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 URL: http://fontconfig.org/
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: docbook-utils
21 BuildRequires: docbook-dtd41-sgml
23 BuildRequires: expat-devel
24 BuildRequires: freetype-devel >= 2.1.0
25 BuildRequires: libtool
26 BuildRequires: perl-SGMLS
27 Requires(post): /sbin/ldconfig
28 Provides: %{name}-realpkg = %{epoch}:%{version}-%{release}
29 Provides: XFree86-fontconfig
30 Obsoletes: XFree86-fontconfig
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Fontconfig is designed to locate fonts within the system and select
35 them according to requirements specified by applications.
38 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
39 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
42 Fontconfig é uma biblioteca para configuração e customização do acesso
46 Summary: Font configuration and customization library
47 Summary(pl): Biblioteka do konfigurowania fontów
48 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
49 Group: Development/Libraries
50 Requires: %{name}-realpkg = %{epoch}:%{version}
52 Requires: freetype-devel
53 Provides: %{name}-devel-realpkg = %{epoch}:%{version}-%{release}
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-realpkg = %{epoch}:%{version}
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.
107 rm -rf $RPM_BUILD_ROOT
108 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3,5}
111 DESTDIR=$RPM_BUILD_ROOT
113 install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
114 install doc/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
117 rm -rf $RPM_BUILD_ROOT
121 HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
123 %postun -p /sbin/ldconfig
126 %defattr(644,root,root,755)
127 %doc AUTHORS COPYING ChangeLog README
128 %dir %{_sysconfdir}/fonts
129 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
130 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
131 %{_sysconfdir}/fonts/fonts.dtd
132 %attr(755,root,root) %{_bindir}/fc-*
133 %attr(755,root,root) %{_libdir}/lib*.so.*.*
138 %defattr(644,root,root,755)
139 %doc doc/fontconfig-devel/*.html
140 %attr(755,root,root) %{_libdir}/lib*.so
142 %{_includedir}/fontconfig
143 %{_pkgconfigdir}/fontconfig.pc
147 %defattr(644,root,root,755)