2 %define fcname fcpackage
5 Summary: Font configuration and customization library
6 Summary(pl): Biblioteka do konfigurowania fontów
12 Source0: http://fontconfig.org/release/%{fcname}.%{fcversion}.tar.gz
13 URL: http://fontconfig.org/
14 BuildRequires: autoconf
15 BuildRequires: automake
17 BuildRequires: expat-devel
18 BuildRequires: freetype-devel
19 BuildRequires: libtool
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Fontconfig is designed to locate fonts within the system and select
24 them according to requirements specified by applications.
27 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
28 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
31 Summary: Font configuration and customization library
32 Summary(pl): Biblioteka do konfigurowania fontów
33 Group: Development/Libraries
34 Requires: %{name} = %{version}
35 Requires: freetype-devel
38 Fontconfig is designed to locate fonts within the system and select
39 them according to requirements specified by applications.
41 This package contains the header files needed to develop programs that
44 %description devel -l pl
45 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
46 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
48 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
49 programów korzystaj±cych z biblioteki fontconfig.
52 %setup -q -n %{fcname}.%{fcversion}
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_mandir}/man1
66 DESTDIR=$RPM_BUILD_ROOT
68 install fc-cache/fc-cache.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-cache.3
69 install fc-list/fc-list.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-list.3
72 rm -rf $RPM_BUILD_ROOT
74 %post -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
78 %defattr(644,root,root,755)
79 %doc %{name}/{AUTHORS,ChangeLog,README}
80 %dir %{_sysconfdir}/fonts
81 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
82 %{_sysconfdir}/fonts/fonts.dtd
83 %attr(755,root,root) %{_bindir}/fc-*
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/fontconfig-config
90 %{_includedir}/fontconfig
92 %{_pkgconfigdir}/fontconfig.pc