2 %define fcname fcpackage
5 Summary: Font configuration and customization library
6 Summary(pl): Biblioteka do konfigurowania fontów
13 Source0: http://fontconfig.org/release/%{fcname}.%{fcversion}.tar.gz
14 Patch0: %{name}-date.patch
15 Patch1: %{name}-blacklist.patch
16 Patch2: %{name}-defaultconfig.patch
17 Patch3: %{name}-fontdir.patch
18 Patch4: %{name}-subdir.patch
19 URL: http://fontconfig.org/
20 BuildRequires: autoconf
21 BuildRequires: automake
23 BuildRequires: expat-devel
24 BuildRequires: freetype-devel
25 BuildRequires: libtool
26 Requires(post): /sbin/ldconfig
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 Summary: Font configuration and customization library
39 Summary(pl): Biblioteka do konfigurowania fontów
40 Group: Development/Libraries
41 Requires: %{name} = %{version}
42 Requires: freetype-devel
45 Fontconfig is designed to locate fonts within the system and select
46 them according to requirements specified by applications.
48 This package contains the header files needed to develop programs that
51 %description devel -l pl
52 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
53 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
55 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
56 programów korzystaj±cych z biblioteki fontconfig.
59 %setup -q -n %{fcname}.%{fcversion}
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{_mandir}/man1
79 DESTDIR=$RPM_BUILD_ROOT
81 install fc-cache/fc-cache.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-cache.3
82 install fc-list/fc-list.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-list.3
85 rm -rf $RPM_BUILD_ROOT
89 HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
91 %postun -p /sbin/ldconfig
94 %defattr(644,root,root,755)
95 %doc %{name}/{AUTHORS,README}
96 %dir %{_sysconfdir}/fonts
97 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
98 %{_sysconfdir}/fonts/fonts.dtd
99 %attr(755,root,root) %{_bindir}/fc-*
100 %attr(755,root,root) %{_libdir}/lib*.so.*.*
104 %defattr(644,root,root,755)
105 %doc %{name}/ChangeLog
106 %attr(755,root,root) %{_bindir}/fontconfig-config
107 %{_includedir}/fontconfig
109 %{_pkgconfigdir}/fontconfig.pc