Bringing ChocolateCaste-0.7 into the main branch.
[AROS-Contrib.git] / freetype1 / freetype.spec
blobe367b119523823e4a506dbf293cb7aa727b8707f
1 Summary: FreeType library
2 Name: freetype
3 Version: 1.3.1
4 Release: 1
5 Source: ftp://ftp.freetype.org/pub/freetype/freetype-%{version}.tar.gz
6 URL: http://www.freetype.org/
7 Copyright: BSD-Like
8 Group: Libraries
9 BuildRoot: /var/tmp/freetype
11 %description
12 The FreeType engine is a free and portable TrueType font rendering
13 engine. It has been developed to provide TrueType support to a
14 great variety of platforms and environments.
16 Note that FreeType is a *library*. It is not a font server for your
17 favorite platform, even though it was designed to be used in many of
18 them. Note also that it is *not* a complete text-rendering library.
19 Its purpose is simply to open and manage font files, as well as
20 load, hint and render individual glyphs efficiently. You can also
21 see it as a `TrueType driver' for a higher-level library, though
22 rendering text with it is extremely easy, as demo-ed by the test
23 programs.
25 This package contains the files needed to run programs that use the
26 FreeType engine.
28 %package devel
29 Summary: FreeType development headers and libraries
30 Group: Development/Libraries
31 Requires: %{name} = %{version}
33 %description devel
34 The FreeType engine is a free and portable TrueType font rendering
35 engine. It has been developed to provide TrueType support to a
36 great variety of platforms and environments.
38 Note that FreeType is a *library*. It is not a font server for your
39 favorite platform, even though it was designed to be used in many of
40 them. Note also that it is *not* a complete text-rendering library.
41 Its purpose is simply to open and manage font files, as well as
42 load, hint and render individual glyphs efficiently. You can also
43 see it as a `TrueType driver' for a higher-level library, though
44 rendering text with it is extremely easy, as demo-ed by the test
45 programs.
47 This package contains all supplementary files you need to develop
48 your own programs using the FreeType engine.
50 %package demo
51 Summary: FreeType test and demo programs
52 Group: Applications/Graphics
53 Requires: %{name} = %{version}
55 %description demo
56 The FreeType engine is a free and portable TrueType font rendering engine.
57 It has been developed to provide TT support to a great variety of platforms
58 and environments.
60 Note that FreeType is a *library*. It is not a font server for your favorite
61 platform, even though it was designed to be used in many of them. Note also
62 that it is *not* a complete text-rendering library. Its purpose is simply to
63 open and manage font files, as well as load, hint and render individual
64 glyphs efficiently. You can also see it as a "TrueType driver" for a
65 higher-level library, though rendering text with it is extremely easy, as
66 demo-ed by the test programs.
68 This package contains several programs bundled with the FreeType engine for
69 testing and demonstration purposes.
71 %changelog
72 * Thu Sep 9 1998 Pavel Kankovsky <peak@kerberos.troja.mff.cuni.cz>
73 - Simplified (and fixed) file list.
75 * Wed Jun 16 1999 Werner Lemberg <werner.lemberg@freetype.org>
76 - Updated to version 1.3.
78 * Sun Oct 25 1998 Pavel Kankovsky <peak@kerberos.troja.mff.cuni.cz>
79 - libttf.so version number updated again.
80 - Default localedir based on prefix.
81 - File list adjustments (howto/).
83 * Sun Oct 16 1998 Pavel Kankovsky <peak@kerberos.troja.mff.cuni.cz>
84 - Source filename fixed.
85 - HOWTO removed.
86 - libttf.so version number updated.
88 * Tue Sep 29 1998 Robert Wilhelm <robert@freetype.org>
89 - Updated to version 1.2.
91 * Tue Jul 14 1998 Alexander Zimmermann <Alexander.Zimmermann@fmi.uni-passau.de>
92 - Added missing files.
93 - Added %defattr tags.
95 * Thu Jun 18 1998 Robert Wilhelm <robert@freetype.org>
96 - Added lots of attr(-,root,root).
98 * Wed May 27 1998 Pavel Kankovsky <peak@kerberos.troja.mff.cuni.cz>
99 - Changed group attr of freetype and freetype-devel package.
100 - Fixed misc glitches.
102 * Sun May 24 1998 Pavel Kankovsky <peak@kerberos.troja.mff.cuni.cz>
103 - Split the package into three parts (runtime library, development
104 tools, and demo programs).
105 - Added missing files (headers, NLS).
106 - Added ldconfing upon (de)installation.
108 * Thu Mar 12 1998 Bruno Lopes F. Cabral <bruno@openline.com.br>
109 - NLS for Portuguese language is missing, sorry (may be in a near future)
110 (please note the workaround using --with-locale-dir and gnulocaledir.
111 NLS Makefile needs a bit more rework but again I'll not patch it here).
113 %prep
114 %setup
116 find . -name CVS -type d | xargs rm -rf
118 %build
119 ./configure --prefix=/usr --enable-static
120 make all
122 %install
123 make install prefix=$RPM_BUILD_ROOT/usr
125 %clean
126 rm -rf $RPM_BUILD_ROOT
128 %post
129 /sbin/ldconfig
131 %postun
132 /sbin/ldconfig
134 %files
135 %defattr(644, root, root, 755)
136 %doc announce license.txt
137 /usr/lib/libttf.so.*
138 /usr/share/locale/
140 %files devel
141 %defattr(644, root, root, 755)
142 %doc INSTALL README PATENTS announce license.txt readme.1st
143 %doc docs/ howto/
144 /usr/lib/libttf.so
145 /usr/lib/libttf.la
146 /usr/lib/libttf.a
147 /usr/include/freetype/
149 %files demo
150 %defattr(755, root, root, 755)
151 %doc announce license.txt
152 /usr/bin/ftdump
153 /usr/bin/fterror
154 /usr/bin/ftlint
155 /usr/bin/ftmetric
156 /usr/bin/ftsbit
157 /usr/bin/ftstring
158 /usr/bin/ftstrpnm
159 /usr/bin/ftstrtto
160 /usr/bin/fttimer
161 /usr/bin/ftview
162 /usr/bin/ftzoom