]> git.pld-linux.org Git - packages/fnlib.git/blob - fnlib.spec
a84515c8a1db5338854677706f8a758df2173ace
[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 LDFLAGS="-s"; export LDFLAGS
56 %configure
57
58 %{__make} fontsdir=%{_datadir}/fnlib_fonts
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 %{__make} DESTDIR=$RPM_BUILD_ROOT install
63
64 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
65
66 gzip -9nf {README,doc/fontinfo.README}
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc README.gz
77
78 %attr(755,root,root) %{_libdir}/lib*.so.*.*
79 %config %{_sysconfdir}/*
80 %{_datadir}/fnlib_fonts
81
82 %files devel
83 %defattr(644,root,root,755)
84 %doc doc/index.html doc/fontinfo.README.gz
85
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %{_includedir}/*
88
89 %files static
90 %defattr(644,root,root,755)
91 %{_libdir}/lib*.a
This page took 0.097234 seconds and 2 git commands to generate.