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 Patch0: %{name}-blacklist.patch
12 Patch1: %{name}-date.patch
13 Patch2: %{name}-defaultconfig.patch
14 Patch3: %{name}-make-jN.patch
15 URL: http://fontconfig.org/
16 BuildRequires: autoconf
17 BuildRequires: automake
19 BuildRequires: expat-devel
20 BuildRequires: freetype-devel
21 BuildRequires: libtool
22 Requires(post): /sbin/ldconfig
23 Provides: XFree86-fontconfig
24 Provides: %{name}-realpkg = %{version}
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Obsoletes: XFree86-fontconfig
29 Fontconfig is designed to locate fonts within the system and select
30 them according to requirements specified by applications.
33 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
34 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
37 Fontconfig é uma biblioteca para configuração e customização do acesso
41 Summary: Font configuration and customization library
42 Summary(pl): Biblioteka do konfigurowania fontów
43 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
44 Group: Development/Libraries
45 Requires: %{name}-realpkg = %{version}
47 Requires: freetype-devel
48 Provides: %{name}-devel-realpkg = %{version}
49 Provides: XFree86-fontconfig-devel
50 Obsoletes: XFree86-fontconfig-devel
53 Fontconfig is designed to locate fonts within the system and select
54 them according to requirements specified by applications.
56 This package contains the header files needed to develop programs that
59 %description devel -l pl
60 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
61 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
63 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
64 programów korzystaj±cych z biblioteki fontconfig.
66 %description devel -l pt_BR
67 Fontconfig é uma biblioteca para configuração e customização do acesso
71 Summary: Static font configuration and customization library
72 Summary(pl): Statyczna biblioteka do konfigurowania fontów
73 Group: Development/Libraries
74 Requires: %{name}-devel-realpkg = %{version}
75 Provides: XFree86-fontconfig-static
76 Obsoletes: XFree86-fontconfig-static
79 This package contains static version of fontconfig library.
81 %description static -l pl
82 Ten pakiet zawiera statyczn± wersjê biblioteki fontconfig.
97 %configure --disable-docs
101 rm -rf $RPM_BUILD_ROOT
102 install -d $RPM_BUILD_ROOT%{_mandir}/man1
105 DESTDIR=$RPM_BUILD_ROOT
107 install fc-cache/fc-cache.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-cache.1
108 install fc-list/fc-list.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-list.1
110 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name} installed-docs
113 rm -rf $RPM_BUILD_ROOT
117 HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
119 %postun -p /sbin/ldconfig
122 %defattr(644,root,root,755)
123 %doc AUTHORS COPYING ChangeLog README
124 %dir %{_sysconfdir}/fonts
125 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
126 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
127 %{_sysconfdir}/fonts/fonts.dtd
128 %attr(755,root,root) %{_bindir}/fc-*
129 %attr(755,root,root) %{_libdir}/lib*.so.*.*
134 %defattr(644,root,root,755)
135 %doc installed-docs/fontconfig-devel/*.html
136 %attr(755,root,root) %{_libdir}/lib*.so
138 %{_includedir}/fontconfig
139 %{_pkgconfigdir}/fontconfig.pc
143 %defattr(644,root,root,755)