]> git.pld-linux.org Git - packages/fnlib.git/blob - fnlib.spec
- modyfications for using neew rpm automation.
[packages/fnlib.git] / fnlib.spec
1 Summary:        Color Font rendering library for X11R6
2 Summary(pl):    Biblioteki do renderowania fontów pod X11R6
3 Name:           fnlib
4 Version:        0.4
5 Release:        11
6 License:        LGPL
7 Group:          X11/Libraries
8 Group(pl):      X11/Biblioteki
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/fnlib/%{name}-%{version}.tar.gz
10 BuildRequires:  XFree86-devel
11 BuildRequires:  imlib-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _prefix         /usr/X11R6
15 %define         _sysconfdir     /etc/X11
16
17 %description
18 Fnlib is a library that provides full scalable 24-bit Color font
19 rendering abilities for X.
20
21 %description -l pl
22 Fnlib jest bibliotek±, która umo¿liwia renderowanie fontów
23 skalowalnych pod X11.
24
25 %package devel
26 Summary:        Fnlib headers and documentation
27 Summary(pl):    Pliki nag³ówkowe oraz dokumentacja
28 Group:          X11/Development/Libraries
29 Group(pl):      X11/Programowanie/Biblioteki
30 Requires:       %{name} = %{version}
31
32 %description devel
33 Headers and documentation for Fnlib.
34
35 %description -l pl devel
36 Pliki nag³ówkowe oraz dokumentacja dla Fnliba.
37
38 %package static
39 Summary:        Fnlib static libraries 
40 Summary(pl):    Biblioteki statyczne fnlib
41 Group:          X11/Development/Libraries
42 Group(pl):      X11/Programowanie/Biblioteki
43 Requires:       %{name}-devel = %{version}
44
45 %description static
46 Fnlib static libraries.
47
48 %description -l pl static
49 Biblioteki statyczne fnlib.
50
51 %prep
52 %setup -q
53
54 %build
55 %configure
56
57 %{__make} fontsdir=%{_datadir}/fnlib_fonts
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 %{__make} DESTDIR=$RPM_BUILD_ROOT install
62
63 gzip -9nf README doc/fontinfo.README
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc README.gz
74
75 %attr(755,root,root) %{_libdir}/lib*.so.*.*
76 %config %{_sysconfdir}/*
77 %{_datadir}/fnlib_fonts
78
79 %files devel
80 %defattr(644,root,root,755)
81 %doc doc/index.html doc/fontinfo.README.gz
82
83 %attr(755,root,root) %{_libdir}/lib*.so
84 %{_includedir}/*
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/lib*.a
This page took 0.101488 seconds and 3 git commands to generate.