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