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 Requires(post): /sbin/ldconfig
27 Provides: %{name}-realpkg = %{epoch}:%{version}-%{release}
28 Provides: XFree86-fontconfig
29 Obsoletes: XFree86-fontconfig
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Fontconfig is designed to locate fonts within the system and select
34 them according to requirements specified by applications.
37 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
38 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
41 Fontconfig é uma biblioteca para configuração e customização do acesso
45 Summary: Font configuration and customization library
46 Summary(pl): Biblioteka do konfigurowania fontów
47 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
48 Group: Development/Libraries
49 Requires: %{name}-realpkg = %{epoch}:%{version}
51 Requires: freetype-devel
52 Provides: %{name}-devel-realpkg = %{epoch}:%{version}-%{release}
53 Provides: XFree86-fontconfig-devel
54 Obsoletes: XFree86-fontconfig-devel
57 Fontconfig is designed to locate fonts within the system and select
58 them according to requirements specified by applications.
60 This package contains the header files needed to develop programs that
63 %description devel -l pl
64 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
65 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
67 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
68 programów korzystaj±cych z biblioteki fontconfig.
70 %description devel -l pt_BR
71 Fontconfig é uma biblioteca para configuração e customização do acesso
75 Summary: Static font configuration and customization library
76 Summary(pl): Statyczna biblioteka do konfigurowania fontów
77 Group: Development/Libraries
78 Requires: %{name}-devel-realpkg = %{epoch}:%{version}
79 Provides: XFree86-fontconfig-static
80 Obsoletes: XFree86-fontconfig-static
83 This package contains static version of fontconfig library.
85 %description static -l pl
86 Ten pakiet zawiera statyczn± wersjê biblioteki fontconfig.
106 rm -rf $RPM_BUILD_ROOT
107 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3,5}
110 DESTDIR=$RPM_BUILD_ROOT
112 install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
113 install doc/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
116 rm -rf $RPM_BUILD_ROOT
120 HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
122 %postun -p /sbin/ldconfig
125 %defattr(644,root,root,755)
126 %doc AUTHORS COPYING ChangeLog README
127 %dir %{_sysconfdir}/fonts
128 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
129 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
130 %{_sysconfdir}/fonts/fonts.dtd
131 %attr(755,root,root) %{_bindir}/fc-*
132 %attr(755,root,root) %{_libdir}/lib*.so.*.*
137 %defattr(644,root,root,755)
138 %doc doc/fontconfig-devel/*.html
139 %attr(755,root,root) %{_libdir}/lib*.so
141 %{_includedir}/fontconfig
142 %{_pkgconfigdir}/fontconfig.pc
146 %defattr(644,root,root,755)