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