]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- updated to 1.3.1,
[packages/freetype.git] / freetype.spec
1 Summary:        Truetype font rasterizer
2 Summary(pl):    Rasteryzer fontów Truetype
3 Name:           freetype
4 Version:        1.3.1
5 Release:        1
6 License:        BSD like
7 Group:          Libraries
8 Group(pl):      Biblioteki
9 Source:         ftp://ftp.physiol.med.tu-muenchen.de/pub/freetype/%{name}-%{version}.tar.gz
10 Patch0:         freetype-DESTDIR.patch
11 Patch1:         freetype-autoconf.patch
12 URL:            http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
13 BuildRequires:  gettext-devel
14 BuildRequires:  XFree86-devel
15 BuildRoot:      /tmp/%{name}-%{version}-root
16
17 %description
18 The FreeType engine is a free and portable TrueType font rendering engine.
19 It has been developed to provide TrueType support to a great variety of
20 platforms and environments.
21                                                                                                               
22 Note that FreeType is a *library*. It is not a font server for your favorite
23 platform, even though it was designed to be used in many of them. Note also
24 that it is *not* a complete text-rendering library.  Its purpose is simply
25 to open and manage font files, as well as load, hint and render individual
26 glyphs efficiently. You can also see it as a "TrueType driver" for a
27 higher-level library, though rendering text with it is extremely easy, as
28 demo-ed by the test programs.
29
30 %description -l pl
31 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType.
32 Kody ¼ród³owe napisane
33 s± w ANSI C orza PASCAL'u. 
34
35 %package devel
36 Summary:        Header files and development documentation
37 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
38 Group:          Development/Libraries
39 Group(pl):      Programowanie/Biblioteki
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 -l pl devel 
47 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
48 kompilowaniu program wykorzystuj±cych bibliotekê freetype.
49
50 %package static
51 Summary:        Freetype static libraries
52 Summary(pl):    Biblioteki statyczne freetype
53 Group:          Development/Libraries
54 Group(pl):      Programowanie/Biblioteki
55 Requires:       %{name}-devel = %{version}
56
57 %description static
58 Static freetype libraries.
59
60 %description -l pl static 
61 Biblioteki statyczne freetype.
62
63 %package progs
64 Summary:        Freetype library utilities
65 Summary(pl):    Programy u¿ytkowe freetype
66 Group:          Utilities
67 Group(pl):      Programowanie/Biblioteki
68 Requires:       %{name} = %{version}
69 Obsoletes:      freetype-utils
70
71 %description progs
72 Freetype library utilites:
73 - ftimer   - a simple performance timer for the engine,
74 - fzoom    - very simple glyph viewer,
75 - ftlint   - program will hint each glyph of a font file, at a given point
76              size,
77 - ftwiew   - display all glyphs in a given font, applying hinting to 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()
82              functionality for internationalized messages.
83
84 %description -l pl progs
85 Przyk³adowe aplikacje wykorzystuj±ce freetype.
86
87 %prep
88 %setup  -q
89 %patch0 -p1
90 %patch1 -p1
91
92 %build
93 gettextize --copy --force
94 aclocal
95 autoconf
96 LDFLAGS="-s"; export LDFLAGS
97 %configure \
98         --enable-static \
99         --with-gnu-ld
100 make
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104 make install DESTDIR=$RPM_BUILD_ROOT
105
106 strip $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
107
108 gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
109
110 %find_lang %{name}
111
112 %post   -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
114
115 %clean
116 rm -rf $RPM_BUILD_ROOT
117
118 %files -f %{name}.lang
119 %attr(755,root,root) %{_libdir}/lib*so.*.*
120
121 %files devel
122 %defattr(644,root,root,755)
123 %doc howto/unix* docs/*txt* *.gz
124 %attr(755,root,root) %{_libdir}/lib*.so
125 %attr(755,root,root) %{_libdir}/lib*.la
126 %{_includedir}/*
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/lib*.a
131
132 %files progs
133 %attr(755,root,root) %{_bindir}/*
This page took 0.048359 seconds and 4 git commands to generate.