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