]> git.pld-linux.org Git - packages/fnlib.git/blob - fnlib.spec
- more rpm macros.
[packages/fnlib.git] / fnlib.spec
1 Summary:        Color Font rendering lobrary for X11R6
2 Summary(pl):    Biblioteki do renderowania fontów pod X11R6
3 Name:           fnlib
4 Version:        0.4
5 Release:        10
6 Copyright:      LGPL
7 Group:          X11/Libraries
8 Group(pl):      X11/Biblioteki
9 Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.gz
10 BuildPrereq:    XFree86-devel
11 BuildPrereq:    imlib-devel
12 BuildRoot:      /tmp/%{name}-%{version}-root
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 rendering
19 abilities for X.
20
21 %description -l pl
22 Fnlib jest bibliotek±, która umo¿liwia renderowanie fontów skalowalnych pod
23 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) /usr/X11R6/lib/lib*.so.*.*
79 %config /etc/X11/*
80 /usr/X11R6/share/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) /usr/X11R6/lib/lib*.so
87 /usr/X11R6/include/*
88
89 %files static
90 %defattr(644,root,root)
91 /usr/X11R6/lib/lib*.a
92
93 %changelog
94 * Mon Apr 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
95   [0.4-9]
96 - recompiles on new rpm.
97
98 * Sun Mar 21 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
99   [0.4-2]
100 - strip with --strip-unneeded shared libraries.
101
102 * Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
103   [0.4-1]
104 - changed base Source Url to ftp://ftp.gnome.org/pub/GNOME/sources/,
105 - sysconfdir changed to /etc/X11,
106 - removed HACKING from %doc,
107 - added useing DESTDIR in "make install",
108 - added LDFLAGS="-s" to ./configure enviroment.
109
110 * Mon Oct 26 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
111   [0.3-4]
112 - header files moved to /usr/X11R6/include,
113 - fontsdir changed to /usr/X11R6/share/fnlib_fonts.
114
115 * Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
116   [0.3-3]
117 - added pl translation.
118
119 * Tue Jul 07 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
120   [0.3-2]
121 - start at Raster spec,
122 - added %changelog,
123 - build against GNU libc-2.1.
This page took 0.070281 seconds and 4 git commands to generate.