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