]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
f621cd7a8a3c6ce3ef1b8eb34764e489ce229aed
[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:        2d
6 Group:          Libraries
7 Group(pl):      Biblioteki
8 Copyright:      LGPL
9 Source:         ftp://ftp.physiol.med.tu-muenchen.de/pub/freetype/freetype-%{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:       freetype = %{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 bzip2 -9 HOWTO.txt README announce license.txt docs/{*.txt,*lsm,*doc,FAQ,TODO}
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)
114 %doc docs/* *.bz2
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 * Sun Jan 24 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
126   [1.2-2d]
127 - fixed pl transtion,
128 - added Group(pl),
129 - all %doc moved to devel,
130 - added bzipping2 %doc,
131 - fixed permission on /usr/lib/lib*.so in devel (must be 755).
132
133 * Mon Jul 20 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
134   [1.1-2]
135 - added static subapackage
136 - added pl translation.
137
138 * Fri Jun 05 1998 Arne Coucheron <arneco@online.no>
139 - updated to 1.1pre1-2
140 - rpm 2.5 is doing weird things with the %doc, moved it last in filelist
141   to make it behave better
142
143 * Mon May 25 1998 Arne Coucheron <arneco@online.no>
144 - updated to 1.1pre1-1
145 - removed libttf.so.1 symlink
146 - added --with-locale-dir and --with-gnu-ld to configure
147 - changed HOWTO in %doc to HOWTO.txt
148 - lib*.so* files wasn't chmod 755, fixed
149 - removed initial making of the $RPM_BUILD_ROOT/usr directory
150   layout in %install, it isn't needed
151
152 * Thu May 14 1998 Arne Coucheron <arneco@online.no>
153 - updated to current devel release so that ImageMagick 4.0.6 can be compiled
154 - removed installing of tterror.h/ttcommon.h, don't exist in devel source
155 - added --enable-static to configure, required now to build static libs
156 - added additional NLS languages
157 - made symlink from libttf.so.1 to libttf.so.2.0.0 for apps needing it
158
159 * Wed May  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
160 - added instaling tterror.h header file,
161 - %%{version} macro instead %%{PACKAGE_VERSION},
162 - added using %%{name} macro in Buildroot and in Requires in devel,
163 - added -q %setup parameter.
164
165 * Mon Apr 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
166 - replaced usind %{version} macro by predefined %%{PACKAGE_VERSION},
167 - added "Requires: freetype = %{PACKAGE_VERSION}" for devel subpackage,
168 - added using %defattr in %files (requires rpm >= 2.4.99),
169 - added %lang macros for files /usr/share/locale/*/LC_MESSAGES/freetype.mo
170   files,
171 - added stripping /usr/lib/lib*so.*.*,
172 - programs from /usr/bin/ moved to separated progs subpackage.
173
174 * Wed Feb 18 1998 Arne Coucheron <arneco@online.no>
175 - First release, 1.0-1
This page took 0.243097 seconds and 3 git commands to generate.