]> git.pld-linux.org Git - packages/freetype1.git/blob - freetype1.spec
- adding es/fr/pt_BR/ru/uk (and eventually de) Group translations
[packages/freetype1.git] / freetype1.spec
1 Summary:        Truetype font rasterizer
2 Summary(pl):    Rasteryzer fontów Truetype
3 Name:           freetype1
4 Version:        1.3.1
5 Release:        3
6 License:        BSD like
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Group(pt_BR):   Bibliotecas
13 Group(ru):      âÉÂÌÉÏÔÅËÉ
14 Group(uk):      â¦Â̦ÏÔÅËÉ
15 Source0:        ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz
16 Source1:        ttmkfdir.tar.gz
17 Patch0:         freetype-DESTDIR.patch
18 Patch1:         freetype-autoconf.patch
19 Patch2:         freetype-foundrynames.patch
20 Patch3:         freetype-nospaces.patch
21 URL:            http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
22 BuildRequires:  XFree86-devel
23 BuildRequires:  autoconf
24 BuildRequires:  automake
25 BuildRequires:  gettext-devel
26 BuildRequires:  libtool
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 The FreeType engine is a free and portable TrueType font rendering
31 engine. It has been developed to provide TrueType support to a great
32 variety of platforms and environments.
33
34 Note that FreeType is a *library*. It is not a font server for your
35 favorite platform, even though it was designed to be used in many of
36 them. Note also that it is *not* a complete text-rendering library.
37 Its purpose is simply to open and manage font files, as well as load,
38 hint and render individual glyphs efficiently. You can also see it as
39 a "TrueType driver" for a higher-level library, though rendering text
40 with it is extremely easy, as demo-ed by the test programs.
41
42 %description -l pl
43 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Kody
44 ¼ród³owe napisane s± w ANSI C oraz PASCAL'u.
45
46 %package devel
47 Summary:        Header files and development documentation
48 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
49 Group:          Development/Libraries
50 Group(de):      Entwicklung/Libraries
51 Group(es):      Desarrollo/Bibliotecas
52 Group(fr):      Development/Librairies
53 Group(pl):      Programowanie/Biblioteki
54 Group(pt_BR):   Desenvolvimento/Bibliotecas
55 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
56 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
57 Requires:       %{name} = %{version}
58
59 %description devel
60 This package includes the header files documentations and libraries
61 necessary to develop applications that use freetype.
62
63 %description -l pl devel 
64 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
65 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
66
67 %package static
68 Summary:        Freetype static libraries
69 Summary(pl):    Biblioteki statyczne freetype
70 Group:          Development/Libraries
71 Group(de):      Entwicklung/Libraries
72 Group(es):      Desarrollo/Bibliotecas
73 Group(fr):      Development/Librairies
74 Group(pl):      Programowanie/Biblioteki
75 Group(pt_BR):   Desenvolvimento/Bibliotecas
76 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
77 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
78 Requires:       %{name}-devel = %{version}
79
80 %description static
81 Static freetype libraries.
82
83 %description -l pl static 
84 Biblioteki statyczne freetype.
85
86 %package progs
87 Summary:        Freetype library utilities
88 Summary(pl):    Programy u¿ytkowe freetype
89 Group:          Applications
90 Group(de):      Applikationen
91 Group(pl):      Aplikacje
92 Requires:       %{name} = %{version}
93 Obsoletes:      freetype-utils
94 Obsoletes:      freetype-tools
95
96 %description progs
97 Freetype library utilites:
98 - ftimer - a simple performance timer for the engine,
99 - fzoom - very simple glyph viewer,
100 - ftlint - program will hint each glyph of a font file, at a given
101   point size,
102 - ftwiew - display all glyphs in a given font, applying hinting to
103   each one,
104 - fdump - a simple TrueType font or collection dumper,
105 - ftstring - a simple program to show off string text generation.
106 - ftstrpn - convert a rendered text string into the PGM or PBM format,
107 - fterror - small test program. Tests the gettext() functionality for
108   internationalized messages.
109
110 %description -l pl progs
111 Przyk³adowe aplikacje wykorzystuj±ce freetype.
112
113 %prep
114 %setup -q -n freetype-%{version}
115 mkdir ttmkfdir
116 tar xz -C ttmkfdir -f %{SOURCE1}
117 %patch0 -p1
118 %patch1 -p1
119
120 %build
121 gettextize --copy --force
122 libtoolize --copy --force
123 aclocal
124 autoconf
125 %configure \
126         --enable-static \
127         --with-gnu-ld
128 %{__make}
129 %{__make} -C ttmkfdir CC="%{__cc} %{rpmcflags} -I../lib" FREETYPE_LIB='-L../lib/.libs -lttf'
130
131 %install
132 rm -rf $RPM_BUILD_ROOT
133
134 %{__make} install DESTDIR=$RPM_BUILD_ROOT
135 install ttmkfdir/ttmkfdir $RPM_BUILD_ROOT%{_bindir}
136
137 gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
138
139 %find_lang freetype
140
141 %post   -p /sbin/ldconfig
142 %postun -p /sbin/ldconfig
143
144 %clean
145 rm -rf $RPM_BUILD_ROOT
146
147 %files -f freetype.lang
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_bindir}/ttmkfdir
150 %attr(755,root,root) %{_libdir}/lib*so.*.*
151
152 %files devel
153 %defattr(644,root,root,755)
154 %doc howto/unix* docs/*txt* *.gz
155 %attr(755,root,root) %{_libdir}/lib*.so
156 %attr(755,root,root) %{_libdir}/lib*.la
157 %{_includedir}/*
158
159 %files static
160 %defattr(644,root,root,755)
161 %{_libdir}/lib*.a
162
163 %files progs
164 %defattr(644,root,root,755)
165 %attr(755,root,root) %{_bindir}/f*
This page took 0.093964 seconds and 4 git commands to generate.