]> git.pld-linux.org Git - packages/freetype1.git/blob - freetype1.spec
b8c3b181366a7e2aa9efe0d3ee65f8f415e9a1cc
[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:        6
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 install /usr/share/automake/missing .
104 %{__gettextize}
105 %{__libtoolize}
106 aclocal
107 %{__autoconf}
108 %configure \
109         --enable-static \
110         --with-gnu-ld
111 %{__make}
112
113 %install
114 rm -rf $RPM_BUILD_ROOT
115
116 %{__make} install \
117         DESTDIR=$RPM_BUILD_ROOT
118
119 gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
120
121 %find_lang freetype
122
123 %clean
124 rm -rf $RPM_BUILD_ROOT
125
126 %post   -p /sbin/ldconfig
127 %postun -p /sbin/ldconfig
128
129 %files -f freetype.lang
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/lib*so.*.*
132
133 %files devel
134 %defattr(644,root,root,755)
135 %doc howto/unix* docs/*txt* *.gz
136 %attr(755,root,root) %{_libdir}/lib*.so
137 %attr(755,root,root) %{_libdir}/lib*.la
138 %{_includedir}/*
139
140 %files static
141 %defattr(644,root,root,755)
142 %{_libdir}/lib*.a
143
144 %files progs
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_bindir}/f*
This page took 0.091633 seconds and 3 git commands to generate.