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 URL: http://fontconfig.org/
16 BuildRequires: autoconf
17 BuildRequires: automake
19 BuildRequires: expat-devel
20 BuildRequires: freetype-devel
21 BuildRequires: libtool
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Fontconfig is designed to locate fonts within the system and select
26 them according to requirements specified by applications.
29 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
30 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
33 Summary: Font configuration and customization library
34 Summary(pl): Biblioteka do konfigurowania fontów
35 Group: Development/Libraries
36 Requires: %{name} = %{version}
37 Requires: freetype-devel
40 Fontconfig is designed to locate fonts within the system and select
41 them according to requirements specified by applications.
43 This package contains the header files needed to develop programs that
46 %description devel -l pl
47 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
48 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
50 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
51 programów korzystaj±cych z biblioteki fontconfig.
54 %setup -q -n %{fcname}.%{fcversion}
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_mandir}/man1
69 DESTDIR=$RPM_BUILD_ROOT
71 install fc-cache/fc-cache.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-cache.3
72 install fc-list/fc-list.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-list.3
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %doc %{name}/{AUTHORS,README}
83 %dir %{_sysconfdir}/fonts
84 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
85 %{_sysconfdir}/fonts/fonts.dtd
86 %attr(755,root,root) %{_bindir}/fc-*
87 %attr(755,root,root) %{_libdir}/lib*.so.*.*
91 %defattr(644,root,root,755)
92 %doc %{name}/ChangeLog
93 %attr(755,root,root) %{_bindir}/fontconfig-config
94 %{_includedir}/fontconfig
96 %{_pkgconfigdir}/fontconfig.pc