]> git.pld-linux.org Git - packages/freetype1.git/blob - freetype1.spec
- removed ttmkfdir, nospaces patch is out, foundrynames patch moved to
[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:        4
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz
9 Patch0:         freetype-DESTDIR.patch
10 Patch1:         freetype-autoconf.patch
11 URL:            http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
12 BuildRequires:  XFree86-devel
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gettext-devel
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The FreeType engine is a free and portable TrueType font rendering
21 engine. It has been developed to provide TrueType support to a great
22 variety of platforms and environments.
23
24 Note that FreeType is a *library*. It is not a font server for your
25 favorite platform, even though it was designed to be used in many of
26 them. Note also that it is *not* a complete text-rendering library.
27 Its purpose is simply to open and manage font files, as well as load,
28 hint and render individual glyphs efficiently. You can also see it as
29 a "TrueType driver" for a higher-level library, though rendering text
30 with it is extremely easy, as demo-ed by the test programs.
31
32 %description -l pl
33 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Kody
34 ¼ród³owe napisane s± w ANSI C oraz PASCAL'u.
35
36 %package devel
37 Summary:        Header files and development documentation
38 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
39 Group:          Development/Libraries
40 Requires:       %{name} = %{version}
41
42 %description devel
43 This package includes the header files documentations and libraries
44 necessary to develop applications that use freetype.
45
46 %description devel -l pl
47 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
48 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
49
50 %package static
51 Summary:        Freetype static libraries
52 Summary(pl):    Biblioteki statyczne freetype
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}
55
56 %description static
57 Static freetype libraries.
58
59 %description static -l pl
60 Biblioteki statyczne freetype.
61
62 %package progs
63 Summary:        Freetype library utilities
64 Summary(pl):    Programy u¿ytkowe freetype
65 Group:          Applications
66 Requires:       %{name} = %{version}
67 Obsoletes:      freetype-utils
68 Obsoletes:      freetype-tools
69
70 %description progs
71 Freetype library utilites:
72 - ftimer - a simple performance timer for the engine,
73 - fzoom - very simple glyph viewer,
74 - ftlint - program will hint each glyph of a font file, at a given
75   point size,
76 - ftwiew - display all glyphs in a given font, applying hinting to
77   each one,
78 - fdump - a simple TrueType font or collection dumper,
79 - ftstring - a simple program to show off string text generation.
80 - ftstrpn - convert a rendered text string into the PGM or PBM format,
81 - fterror - small test program. Tests the gettext() functionality for
82   internationalized messages.
83
84 %description progs -l pl
85 Przyk³adowe aplikacje wykorzystuj±ce freetype:
86 - ftimer - narzêdzie mierz±ce szybko¶æ silnika
87 - fzoom - prosta przegl±darka glifów
88 - ftlint - program robi±cy hinting ka¿dego glifu z fontu przy podanym
89   rozmiarze
90 - ftview - program wy¶wietlaj±cy z hintingiem wszystkie glify z fontu
91 - fdump - narzêdzie zrzucaj±ce dane z fontu lub zestawu fontów TT
92 - ftstring - prosty program obrazuj±cy generowanie tekstu
93 - ftstrpn - konwerter zrenderowanego tekstu na format PGM/PBM
94 - fterror - prosty program testuj±cy dzia³anie gettext() w
95   zlokalizowanych komunikatach.
96   
97 %prep
98 %setup -q -n freetype-%{version}
99 %patch0 -p1
100 %patch1 -p1
101
102 %build
103 gettextize --copy --force
104 libtoolize --copy --force
105 aclocal
106 autoconf
107 %configure \
108         --enable-static \
109         --with-gnu-ld
110 %{__make}
111
112 %install
113 rm -rf $RPM_BUILD_ROOT
114
115 %{__make} install \
116         DESTDIR=$RPM_BUILD_ROOT
117
118 gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
119
120 %find_lang freetype
121
122 %clean
123 rm -rf $RPM_BUILD_ROOT
124
125 %post   -p /sbin/ldconfig
126 %postun -p /sbin/ldconfig
127
128 %files -f freetype.lang
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/lib*so.*.*
131
132 %files devel
133 %defattr(644,root,root,755)
134 %doc howto/unix* docs/*txt* *.gz
135 %attr(755,root,root) %{_libdir}/lib*.so
136 %attr(755,root,root) %{_libdir}/lib*.la
137 %{_includedir}/*
138
139 %files static
140 %defattr(644,root,root,755)
141 %{_libdir}/lib*.a
142
143 %files progs
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_bindir}/f*
This page took 0.175868 seconds and 3 git commands to generate.