]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
added %defattr macro
[packages/freetype.git] / freetype.spec
1 Summary:        Truetype font rasterizer
2 Summary(pl):    Rasteryzer fontów Truetype
3 Name:           freetype
4 Version:        1.2
5 Release:        4
6 Copyright:      LGPL
7 Group:          Libraries
8 Group(pl):      Biblioteki
9 Source:         ftp://ftp.physiol.med.tu-muenchen.de/pub/freetype/%{name}-%{version}.tar.gz
10 URL:            http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
11 BuildRoot:      /tmp/%{name}-%{version}-root
12 Conflicts:      glibc <= 2.0.7
13
14 %description
15 The FreeType engine is a free and portable TrueType font rendering engine,
16 available in ANSI C and Pascal source code.  It has been developed to
17 provide TT support to a great variety of platforms and environments.
18
19 %description -l pl
20 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType.
21 Kody ¼ród³owe napisane
22 s± w ANSI C orza PASCAL'u. 
23
24 %package        devel
25 Summary:        Header files and development documentation
26 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
27 Group:          Development/Libraries
28 Group(pl):      Programowanie/Biblioteki
29 Requires:       %{name} = %{version}
30
31 %description devel
32 This package includes the header files documentations and libraries
33 necessary to develop applications that use freetype.
34
35 %description -l pl devel 
36 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
37 kompilowaniu program wykorzystuj±cych bibliotekê freetype.
38
39 %package        static
40 Summary:        Freetype static libraries
41 Summary(pl):    Biblioteki statyczne freetype
42 Group:          Development/Libraries
43 Group(pl):      Programowanie/Biblioteki
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Static freetype libraries.
48
49 %description -l pl static 
50 Biblioteki statyczne freetype.
51
52 %package        progs
53 Summary:        Freetype library utilities
54 Summary(pl):    Programy u¿ytkowe freetype
55 Group:          Utilities
56 Group(pl):      Programowanie/Biblioteki
57 Requires:       %{name} = %{version}
58
59 %description progs
60 Freetype library utilites:
61 - ftimer   - a simple performance timer for the engine,
62 - fzoom    - very simple glyph viewer,
63 - ftlint   - program will hint each glyph of a font file, at a given point
64              size,
65 - ftwiew   - display all glyphs in a given font, applying hinting to each one,
66 - fdump    - a simple TrueType font or collection dumper,
67 - ftstring - a simple program to show off string text generation.
68 - ftstrpn  - convert a rendered text string into the PGM or PBM format,
69 - fterror  - small test program. Tests the gettext()
70              functionality for internationalized messages.
71
72 %description -l pl progs
73 Przyk³adowe aplikacje wykorzystuj±ce freetype
74
75 %prep
76 %setup -q
77
78 %build
79 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
80 ./configure --prefix=/usr \
81             --enable-static \
82             --with-locale-dir=/usr/share/locale \
83             --with-gnu-ld
84 make
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 make install \
89         prefix=$RPM_BUILD_ROOT/usr \
90         localedir=$RPM_BUILD_ROOT/usr/share/locale \
91         gnulocaledir=$RPM_BUILD_ROOT/usr/share/locale
92
93 strip $RPM_BUILD_ROOT/usr/lib/lib*so.*.*
94
95 gzip -9nf howto/unix.txt README announce docs/{*.txt,*.doc,FAQ,TODO,credits}
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %files
104 %defattr(644,root,root,755)
105 %attr(755,root,root) /usr/lib/lib*so.*.*
106
107 %lang(cs) /usr/share/locale/cs/LC_MESSAGES/freetype.mo
108 %lang(de) /usr/share/locale/de/LC_MESSAGES/freetype.mo
109 %lang(es) /usr/share/locale/es/LC_MESSAGES/freetype.mo
110 %lang(fr) /usr/share/locale/fr/LC_MESSAGES/freetype.mo
111 %lang(nl) /usr/share/locale/nl/LC_MESSAGES/freetype.mo
112
113 %files devel
114 %defattr(644,root,root,755)
115 %doc howto/unix* docs/*txt* *.gz
116 %attr(755,root,root) /usr/lib/lib*.so
117 /usr/include/*
118
119 %files static
120 %defattr(644,root,root,755)
121 /usr/lib/lib*.a
122
123 %files progs
124 %defattr(644,root,root,755)
125 %attr(755,root,root) /usr/bin/*
126
127 %changelog
128 * Wed Feb 17 1999 Micha³ Kuratczyk <kura@wroclaw.art.pl>
129   [1.2-3d]
130 - added "Conflicts: glibc <= 2.0.7" for installing in proper enviroment,
131 - gzipping instead bzipping
132 - removed *.lsm and license.txt from %doc
133 - added docs/credits to %doc
134 - cosmetic changes
135
136 * Sun Jan 24 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
137   [1.2-2d]
138 - fixed pl transtion,
139 - added Group(pl),
140 - all %doc moved to devel,
141 - added bzipping2 %doc,
142 - fixed permission on /usr/lib/lib*.so in devel (must be 755).
143
144 * Mon Jul 20 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
145   [1.1-2]
146 - added static subapackage
147 - added pl translation.
148
149 * Fri Jun 05 1998 Arne Coucheron <arneco@online.no>
150 - updated to 1.1pre1-2
151 - rpm 2.5 is doing weird things with the %doc, moved it last in filelist
152   to make it behave better
153
154 * Mon May 25 1998 Arne Coucheron <arneco@online.no>
155 - updated to 1.1pre1-1
156 - removed libttf.so.1 symlink
157 - added --with-locale-dir and --with-gnu-ld to configure
158 - changed HOWTO in %doc to HOWTO.txt
159 - lib*.so* files wasn't chmod 755, fixed
160 - removed initial making of the $RPM_BUILD_ROOT/usr directory
161   layout in %install, it isn't needed
162
163 * Thu May 14 1998 Arne Coucheron <arneco@online.no>
164 - updated to current devel release so that ImageMagick 4.0.6 can be compiled
165 - removed installing of tterror.h/ttcommon.h, don't exist in devel source
166 - added --enable-static to configure, required now to build static libs
167 - added additional NLS languages
168 - made symlink from libttf.so.1 to libttf.so.2.0.0 for apps needing it
169
170 * Wed May  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
171 - added instaling tterror.h header file,
172 - %%{version} macro instead %%{PACKAGE_VERSION},
173 - added using %%{name} macro in Buildroot and in Requires in devel,
174 - added -q %setup parameter.
175
176 * Mon Apr 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
177 - replaced usind %{version} macro by predefined %%{PACKAGE_VERSION},
178 - added "Requires: freetype = %{PACKAGE_VERSION}" for devel subpackage,
179 - added using %defattr in %files (requires rpm >= 2.4.99),
180 - added %lang macros for files /usr/share/locale/*/LC_MESSAGES/freetype.mo
181   files,
182 - added stripping /usr/lib/lib*so.*.*,
183 - programs from /usr/bin/ moved to separated progs subpackage.
184
185 * Wed Feb 18 1998 Arne Coucheron <arneco@online.no>
186 - First release, 1.0-1
This page took 0.048924 seconds and 4 git commands to generate.