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)
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
76 %postun -p /sbin/ldconfig
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog README
81 %dir %{_sysconfdir}/fonts
82 %config %{_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 %attr(755,root,root) %{_bindir}/fontconfig-config
91 %{_includedir}/fontconfig
93 %{_pkgconfigdir}/fontconfig.pc