]> git.pld-linux.org Git - packages/fontconfig.git/blob - fontconfig.spec
2ff44ba221f7f8a98c099ed019bb4630753ab656
[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://keithp.com/fonts/pub/%{fcname}.%{fcversion}.tar.gz
13 URL:            http://keithp.com/fonts
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRequires:  freetype-devel
18 BuildRequires:  expat-devel
19 BuildRequires:  ed
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
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog README
82
83 %dir %{_sysconfdir}/fonts
84 %config %{_sysconfdir}/fonts/fonts.conf
85 %{_sysconfdir}/fonts/fonts.dtd
86
87 %attr(755,root,root) %{_bindir}/fc-*
88
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*
90
91 %{_mandir}/man1/*
92
93 %files devel
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/fontconfig-config
96 %{_includedir}/fontconfig
97 %{_pkgconfigdir}/fontconfig.pc
This page took 0.024938 seconds and 3 git commands to generate.