]> git.pld-linux.org Git - packages/fontconfig.git/blob - fontconfig.spec
a58c0caf0e74a711465aec9b559984356046f1f9
[packages/fontconfig.git] / fontconfig.spec
1
2 %define fcname          fcpackage
3 %define fcversion       2_0
4
5 Summary:        Font configuration and customization library
6 Summary(pl):    Biblioteka do konfigurowania fontów
7 Name:           fontconfig
8 Version:        1.0.1
9 Release:        1
10 License:        MIT
11 Group:          Libraries
12 Source0:        http://fontconfig.org/release/%{fcname}.%{fcversion}.tar.gz
13 URL:            http://fontconfig.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  ed
17 BuildRequires:  expat-devel
18 BuildRequires:  freetype-devel
19 BuildRequires:  libtool
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Fontconfig is designed to locate fonts within the system and select
24 them according to requirements specified by applications.
25
26 %description -l pl
27 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
28 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
29
30 %package devel
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
36
37 %description devel
38 Fontconfig is designed to locate fonts within the system and select
39 them according to requirements specified by applications.
40
41 This package contains the header files needed to develop programs that
42 use these fontconfig.
43
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.
47
48 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
49 programów korzystaj±cych z biblioteki fontconfig.
50
51 %prep
52 %setup -q -n %{fcname}.%{fcversion}
53
54 %build
55 cd %{name}
56 %{__autoconf}
57 %configure
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_mandir}/man1
63
64 cd %{name}
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
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
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
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.*.*
85 %{_mandir}/man1/*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/fontconfig-config
90 %{_includedir}/fontconfig
91 %{_libdir}/lib*.so
92 %{_pkgconfigdir}/fontconfig.pc
This page took 0.091963 seconds and 2 git commands to generate.