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