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