2 Summary: Font configuration and customization library
3 Summary(pl): Biblioteka do konfigurowania fontów
10 Source0: http://fontconfig.org/release/%{name}-%{version}.tar.gz
11 Patch0: %{name}-blacklist.patch
12 URL: http://fontconfig.org/
13 BuildRequires: autoconf
14 BuildRequires: automake
16 BuildRequires: expat-devel
17 BuildRequires: freetype-devel
18 BuildRequires: libtool
19 Requires(post): /sbin/ldconfig
20 Provides: XFree86-fontconfig
21 Provides: %{name}-realpkg = %{version}
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Obsoletes: XFree86-fontconfig
26 Fontconfig is designed to locate fonts within the system and select
27 them according to requirements specified by applications.
30 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
31 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
34 Summary: Font configuration and customization library
35 Summary(pl): Biblioteka do konfigurowania fontów
36 Group: Development/Libraries
37 Provides: XFree86-fontconfig-devel
38 Requires: %{name}-realpkg = %{version}
39 Requires: freetype-devel
40 Obsoletes: XFree86-fontconfig-devel
43 Fontconfig is designed to locate fonts within the system and select
44 them according to requirements specified by applications.
46 This package contains the header files needed to develop programs that
49 %description devel -l pl
50 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
51 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
53 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
54 programów korzystaj±cych z biblioteki fontconfig.
62 %configure --disable-docs
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{_mandir}/man1
70 DESTDIR=$RPM_BUILD_ROOT
72 install fc-cache/fc-cache.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-cache.1
73 install fc-list/fc-list.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-list.1
75 # small docdir location hack
76 mv $RPM_BUILD_ROOT%{_docdir}/%{name}/%{name}-devel $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
77 mv $RPM_BUILD_ROOT%{_docdir}/%{name}/%{name}-* $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}/
79 # Remove *.a file cause it is useless?
80 rm $RPM_BUILD_ROOT%{_libdir}/*.a
83 rm -rf $RPM_BUILD_ROOT
87 HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
94 %dir %{_sysconfdir}/fonts
95 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
96 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
97 %{_sysconfdir}/fonts/fonts.dtd
98 %attr(755,root,root) %{_bindir}/fc-*
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
104 %defattr(644,root,root,755)
106 %{_includedir}/fontconfig
109 %{_pkgconfigdir}/fontconfig.pc