]> git.pld-linux.org Git - packages/fontconfig.git/blob - fontconfig.spec
- updated to 2.2.93
[packages/fontconfig.git] / fontconfig.spec
1 Summary:        Font configuration and customization library
2 Summary(pl):    Biblioteka do konfigurowania fontów
3 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
4 Name:           fontconfig
5 Version:        2.2.93
6 Release:        1
7 Epoch:          1
8 License:        MIT
9 Group:          Libraries
10 # Source0:      http://fontconfig.org/release/%{name}-%{version}.tar.gz
11 Source0:        http://pdx.freedesktop.org/~fontconfig/release/%{name}-%{version}.tar.gz
12 # Source0-md5:  82bafe9691095ec9348449b785bd0744
13 Patch0:         %{name}-blacklist.patch
14 Patch1:         %{name}-date.patch
15 Patch2:         %{name}-autohint.patch
16 URL:            http://fontconfig.org/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  docbook-utils >= 0.6.13-3
20 BuildRequires:  docbook-dtd41-sgml
21 BuildRequires:  ed
22 BuildRequires:  expat-devel
23 BuildRequires:  freetype-devel >= 2.1.5
24 BuildRequires:  libtool
25 Requires(post): /sbin/ldconfig
26 Requires:       freetype >= 2.1.5
27 Provides:       XFree86-fontconfig
28 Obsoletes:      XFree86-fontconfig
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Fontconfig is designed to locate fonts within the system and select
33 them according to requirements specified by applications.
34
35 %description -l pl
36 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
37 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
38
39 %description -l pt_BR
40 Fontconfig é uma biblioteca para configuração e customização do acesso
41 a fontes.
42
43 %package devel
44 Summary:        Font configuration and customization library
45 Summary(pl):    Biblioteka do konfigurowania fontów
46 Summary(pt_BR): Fontconfig é uma biblioteca para configuração e customização do acesso a fontes
47 Group:          Development/Libraries
48 Requires:       %{name} = %{epoch}:%{version}-%{release}
49 Requires:       expat-devel
50 Requires:       freetype-devel >= 2.1.5
51 Provides:       XFree86-fontconfig-devel
52 Obsoletes:      XFree86-fontconfig-devel
53
54 %description devel
55 Fontconfig is designed to locate fonts within the system and select
56 them according to requirements specified by applications.
57
58 This package contains the header files needed to develop programs that
59 use these fontconfig.
60
61 %description devel -l pl
62 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
63 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
64
65 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
66 programów korzystaj±cych z biblioteki fontconfig.
67
68 %description devel -l pt_BR
69 Fontconfig é uma biblioteca para configuração e customização do acesso
70 a fontes.
71
72 %package static
73 Summary:        Static font configuration and customization library
74 Summary(pl):    Statyczna biblioteka do konfigurowania fontów
75 Group:          Development/Libraries
76 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
77 Provides:       XFree86-fontconfig-static
78 Obsoletes:      XFree86-fontconfig-static
79
80 %description static
81 This package contains static version of fontconfig library.
82
83 %description static -l pl
84 Ten pakiet zawiera statyczn± wersjê biblioteki fontconfig.
85
86 %prep
87 %setup -q
88 %patch0 -p1
89 %patch1 -p1
90 %patch2 -p1
91
92 %build
93 %{__libtoolize}
94 %{__aclocal}
95 %{__autoconf}
96 %{__autoheader}
97 %{__automake}
98 %configure \
99         --disable-docs
100 %{__make}
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3,5}
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT
108
109 install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
110 install doc/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %post
116 /sbin/ldconfig
117 HOME=/root %{_bindir}/fc-cache -f 2>/dev/null
118
119 %postun -p /sbin/ldconfig
120
121 %files
122 %defattr(644,root,root,755)
123 %doc AUTHORS COPYING ChangeLog README
124 %dir %{_sysconfdir}/fonts
125 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/fonts.conf
126 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fonts/local.conf
127 %{_sysconfdir}/fonts/fonts.dtd
128 %attr(755,root,root) %{_bindir}/fc-*
129 %attr(755,root,root) %{_libdir}/lib*.so.*.*
130 %{_mandir}/man1/*.1*
131 %{_mandir}/man5/*.5*
132
133 %files devel
134 %defattr(644,root,root,755)
135 %doc doc/fontconfig-devel/*.html
136 %attr(755,root,root) %{_libdir}/lib*.so
137 %{_libdir}/lib*.la
138 %{_includedir}/fontconfig
139 %{_pkgconfigdir}/fontconfig.pc
140 %{_mandir}/man3/*.3*
141
142 %files static
143 %defattr(644,root,root,755)
144 %{_libdir}/lib*.a
This page took 0.069636 seconds and 4 git commands to generate.