]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- added static subapackage
[packages/freetype.git] / freetype.spec
1 Summary:     Truetype font rasterizer
2 Summary(pl): Fonty Truetype 
3 Name:        freetype
4 Version:     1.1
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(fr) /usr/share/locale/fr/LC_MESSAGES/freetype.mo
102 %lang(nl) /usr/share/locale/nl/LC_MESSAGES/freetype.mo
103
104 %files devel
105 %defattr(644, root, root)
106 /usr/include/*
107 /usr/lib/lib*.so
108
109 %files static
110 %attr(644, root, root) /usr/lib/lib*.a
111
112 %files progs
113 %attr(755, root, root) /usr/bin/*
114
115 %changelog
116
117 * Mon Jul 20 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
118   [1.1-2]
119 - added static subapackage
120 - added pl translation.
121
122 * Fri Jun 05 1998 Arne Coucheron <arneco@online.no>
123 - updated to 1.1pre1-2
124 - rpm 2.5 is doing weird things with the %doc, moved it last in filelist
125   to make it behave better
126
127 * Mon May 25 1998 Arne Coucheron <arneco@online.no>
128 - updated to 1.1pre1-1
129 - removed libttf.so.1 symlink
130 - added --with-locale-dir and --with-gnu-ld to configure
131 - changed HOWTO in %doc to HOWTO.txt
132 - lib*.so* files wasn't chmod 755, fixed
133 - removed initial making of the $RPM_BUILD_ROOT/usr directory
134   layout in %install, it isn't needed
135
136 * Thu May 14 1998 Arne Coucheron <arneco@online.no>
137 - updated to current devel release so that ImageMagick 4.0.6 can be compiled
138 - removed installing of tterror.h/ttcommon.h, don't exist in devel source
139 - added --enable-static to configure, required now to build static libs
140 - added additional NLS languages
141 - made symlink from libttf.so.1 to libttf.so.2.0.0 for apps needing it
142
143 * Wed May  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
144 - added instaling tterror.h header file,
145 - %%{version} macro instead %%{PACKAGE_VERSION},
146 - added using %%{name} macro in Buildroot and in Requires in devel,
147 - added -q %setup parameter.
148
149 * Mon Apr 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
150 - replaced usind %{version} macro by predefined %%{PACKAGE_VERSION},
151 - added "Requires: freetype = %{PACKAGE_VERSION}" for devel subpackage,
152 - added using %defattr in %files (requires rpm >= 2.4.99),
153 - added %lang macros for files /usr/share/locale/*/LC_MESSAGES/freetype.mo
154   files,
155 - added striping /usr/lib/lib*so.*.*,
156 - programs from /usr/bin/ moved to separated progs subpackage.
157
158 * Wed Feb 18 1998 Arne Coucheron <arneco@online.no>
159 - First release, 1.0-1
This page took 0.179635 seconds and 4 git commands to generate.