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 URL: http://fontconfig.org/
19 BuildRequires: autoconf
20 BuildRequires: automake
22 BuildRequires: expat-devel
23 BuildRequires: freetype-devel
24 BuildRequires: libtool
25 Requires(post): /sbin/ldconfig
26 Provides: XFree86-fontconfig
27 Provides: %{name}-realpkg = %{version}
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Obsoletes: XFree86-fontconfig
32 Fontconfig is designed to locate fonts within the system and select
33 them according to requirements specified by applications.
36 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
37 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
40 Summary: Font configuration and customization library
41 Summary(pl): Biblioteka do konfigurowania fontów
42 Group: Development/Libraries
43 Provides: XFree86-fontconfig-devel
44 Requires: %{name}-realpkg = %{version}
45 Requires: freetype-devel
46 Obsoletes: XFree86-fontconfig-devel
49 Fontconfig is designed to locate fonts within the system and select
50 them according to requirements specified by applications.
52 This package contains the header files needed to develop programs that
55 %description devel -l pl
56 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
57 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
59 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
60 programów korzystaj±cych z biblioteki fontconfig.
63 %setup -q -n %{fcname}.%{fcversion}
74 %{__make} CC="%{__cc}"
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3}
82 DESTDIR=$RPM_BUILD_ROOT
84 install fc-cache/fc-cache.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-cache.1
85 install fc-list/fc-list.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-list.1
86 install src/fontconfig.man $RPM_BUILD_ROOT%{_mandir}/man3/fontconfig.3
89 rm -rf $RPM_BUILD_ROOT
93 HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc %{name}/{AUTHORS,README}
100 %dir %{_sysconfdir}/fonts
101 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
102 %{_sysconfdir}/fonts/fonts.dtd
103 %attr(755,root,root) %{_bindir}/fc-*
104 %attr(755,root,root) %{_libdir}/lib*.so.*.*
108 %defattr(644,root,root,755)
109 %doc %{name}/ChangeLog
110 %attr(755,root,root) %{_bindir}/fontconfig-config
111 %{_includedir}/fontconfig
113 %{_pkgconfigdir}/fontconfig.pc