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