2 %define fcname fcpackage
5 Summary: Font configuration and customization library
6 Summary(pl): Biblioteka do konfigurowania fontów
12 Source0: http://keithp.com/fonts/pub/%{fcname}.%{fcversion}.tar.gz
13 URL: http://keithp.com/fonts
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libtool
17 BuildRequires: freetype-devel
18 BuildRequires: expat-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _prefix /usr/X11R6
23 %define _mandir %{_prefix}/man
26 Fontconfig is designed to locate fonts within the system and select
27 them according to requirements specified by applications.
30 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
31 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
34 Summary: Font configuration and customization library
35 Summary(pl): Biblioteka do konfigurowania fontów
36 Group: X11/Development/Libraries
37 Requires: %{name} = %{version}
38 Requires: freetype-devel
41 Fontconfig is designed to locate fonts within the system and select
42 them according to requirements specified by applications.
44 This package contains the header files needed to develop programs that
47 %description devel -l pl
48 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
49 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
51 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
52 programów korzystaj±cych z biblioteki fontconfig.
55 %setup -q -n %{fcname}.%{fcversion}/%{name}
63 rm -rf $RPM_BUILD_ROOT
64 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
77 %postun -p /sbin/ldconfig
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog README
83 %dir %{_sysconfdir}/fonts
84 %config %{_sysconfdir}/fonts/fonts.conf
85 %{_sysconfdir}/fonts/fonts.dtd
87 %attr(755,root,root) %{_bindir}/fc-*
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/fontconfig-config
96 %{_includedir}/fontconfig
97 %{_pkgconfigdir}/fontconfig.pc