]> git.pld-linux.org Git - packages/fnlib.git/blob - fnlib.spec
s/%{_target}/%{_target_platform}/
[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:        9
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 %description
15 Fnlib is a library that provides full scalable 24-bit Color font rendering
16 abilities for X.
17
18 %description -l pl
19 Fnlib jest bibliotek±, która umo¿liwia renderowanie fontów skalowalnych pod
20 X11.
21
22 %package devel
23 Summary:        Fnlib headers and documentation
24 Summary(pl):    Pliki nag³ówkowe oraz dokumentacja
25 Group:          X11/Development/Libraries
26 Group(pl):      X11/Programowanie/Biblioteki
27 Requires:       %{name} = %{version}
28
29 %description devel
30 Headers and documentation for Fnlib.
31
32 %description -l pl devel
33 Pliki nag³ówkowe oraz dokumentacja dla Fnliba.
34
35 %package static
36 Summary:        Fnlib static libraries 
37 Summary(pl):    Biblioteki statyczne fnlib
38 Group:          X11/Development/Libraries
39 Group(pl):      X11/Programowanie/Biblioteki
40 Requires:       %{name}-devel = %{version}
41
42 %description static
43 Fnlib static libraries 
44
45 %description -l pl static
46 Biblioteki statyczne fnlib
47
48 %prep
49 %setup -q
50
51 %build
52 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
53 ./configure %{_target_platform} \
54         --prefix=/usr/X11R6 \
55         --sysconfdir=/etc/X11
56
57 make fontsdir=/usr/X11R6/share/fnlib_fonts
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 make DESTDIR=$RPM_BUILD_ROOT install
62
63 strip --strip-unneeded $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
64
65 gzip -9nf {README,doc/fontinfo.README}
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc README.gz
76
77 %attr(755,root,root) /usr/X11R6/lib/lib*.so.*.*
78 %config /etc/X11/*
79 /usr/X11R6/share/fnlib_fonts
80
81 %files devel
82 %defattr(644,root,root,755)
83 %doc doc/index.html doc/fontinfo.README.gz
84
85 %attr(755,root,root) /usr/X11R6/lib/lib*.so
86 /usr/X11R6/include/*
87
88 %files static
89 %defattr(644,root,root)
90 /usr/X11R6/lib/lib*.a
91
92 %changelog
93 * Mon Apr 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
94   [0.4-9]
95 - recompiles on new rpm.
96
97 * Sun Mar 21 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
98   [0.4-2]
99 - strip with --strip-unneeded shared libraries.
100
101 * Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
102   [0.4-1]
103 - changed base Source Url to ftp://ftp.gnome.org/pub/GNOME/sources/,
104 - sysconfdir changed to /etc/X11,
105 - removed HACKING from %doc,
106 - added useing DESTDIR in "make install",
107 - added LDFLAGS="-s" to ./configure enviroment.
108
109 * Mon Oct 26 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
110   [0.3-4]
111 - header files moved to /usr/X11R6/include,
112 - fontsdir changed to /usr/X11R6/share/fnlib_fonts.
113
114 * Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
115   [0.3-3]
116 - added pl translation.
117
118 * Tue Jul 07 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
119   [0.3-2]
120 - start at Raster spec,
121 - added %changelog,
122 - build against GNU libc-2.1.
This page took 0.046914 seconds and 4 git commands to generate.