]> git.pld-linux.org Git - packages/fontconfig.git/blob - fontconfig.spec
- added lib*.so to devel
[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:        2.0
9 Release:        1
10 License:        MIT
11 Group:          X11/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 %define         _prefix         /usr/X11R6
23 %define         _mandir         %{_prefix}/man
24
25 %description
26 Fontconfig is designed to locate fonts within the system and select
27 them according to requirements specified by applications.
28
29 %description -l pl
30 Fontconfig jest biblioteka przeznaczon± do lokalizowania fontów w
31 systemie i wybierania ich w zale¿no¶ci od potrzeb aplikacji.
32
33 %package devel
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
39
40 %description devel
41 Fontconfig is designed to locate fonts within the system and select
42 them according to requirements specified by applications.
43
44 This package contains the header files needed to develop programs that
45 use these fontconfig.
46
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.
50
51 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania
52 programów korzystaj±cych z biblioteki fontconfig.
53
54 %prep
55 %setup -q -n %{fcname}.%{fcversion}/%{name}
56
57 %build
58 %{__autoconf}
59 %configure
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{_mandir}/man1
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
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
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
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.*.*
86 %{_mandir}/man1/*
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_bindir}/fontconfig-config
91 %{_includedir}/fontconfig
92 %{_libdir}/lib*.so
93 %{_pkgconfigdir}/fontconfig.pc
This page took 0.032993 seconds and 3 git commands to generate.