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}-make-jN.patch
13 URL: http://fontconfig.org/
14 BuildRequires: autoconf
15 BuildRequires: automake
17 BuildRequires: expat-devel
18 BuildRequires: freetype-devel
19 BuildRequires: libtool
20 Requires(post): /sbin/ldconfig
21 Provides: XFree86-fontconfig
22 Provides: %{name}-realpkg = %{version}
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Obsoletes: XFree86-fontconfig
27 Fontconfig is designed to locate fonts within the system and select
28 them according to requirements specified by applications.
31 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
32 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
35 Fontconfig é uma biblioteca para configuração e customização do acesso
39 Summary: Font configuration and customization library
40 Summary(pl): Biblioteka do konfigurowania fontów
41 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
42 Group: Development/Libraries
43 Requires: %{name}-realpkg = %{version}
45 Requires: freetype-devel
46 Provides: %{name}-devel-realpkg = %{version}
47 Provides: XFree86-fontconfig-devel
48 Obsoletes: XFree86-fontconfig-devel
51 Fontconfig is designed to locate fonts within the system and select
52 them according to requirements specified by applications.
54 This package contains the header files needed to develop programs that
57 %description devel -l pl
58 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
59 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
61 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
62 programów korzystaj±cych z biblioteki fontconfig.
64 %description devel -l pt_BR
65 Fontconfig é uma biblioteca para configuração e customização do acesso
69 Summary: Static font configuration and customization library
70 Summary(pl): Statyczna biblioteka do konfigurowania fontów
71 Group: Development/Libraries
72 Requires: %{name}-devel-realpkg = %{version}
73 Provides: XFree86-fontconfig-static
74 Obsoletes: XFree86-fontconfig-static
77 This package contains static version of fontconfig library.
79 %description static -l pl
80 Ten pakiet zawiera statyczn± wersjê biblioteki fontconfig.
92 %configure --disable-docs
96 rm -rf $RPM_BUILD_ROOT
97 install -d $RPM_BUILD_ROOT%{_mandir}/man1
100 DESTDIR=$RPM_BUILD_ROOT
102 install fc-cache/fc-cache.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-cache.1
103 install fc-list/fc-list.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-list.1
105 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name} installed-docs
108 rm -rf $RPM_BUILD_ROOT
112 HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
114 %postun -p /sbin/ldconfig
117 %defattr(644,root,root,755)
118 %doc AUTHORS COPYING ChangeLog README
119 %dir %{_sysconfdir}/fonts
120 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
121 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
122 %{_sysconfdir}/fonts/fonts.dtd
123 %attr(755,root,root) %{_bindir}/fc-*
124 %attr(755,root,root) %{_libdir}/lib*.so.*.*
129 %defattr(644,root,root,755)
130 %doc installed-docs/fontconfig-devel/*.html
131 %attr(755,root,root) %{_libdir}/lib*.so
133 %{_includedir}/fontconfig
134 %{_pkgconfigdir}/fontconfig.pc
138 %defattr(644,root,root,755)