]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- changed all BuildRoot definitons
[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:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 s± w ANSI C oraz PASCAL'u. 
33
34 %package devel
35 Summary:        Header files and development documentation
36 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
37 Group:          Development/Libraries
38 Group(pl):      Programowanie/Biblioteki
39 Requires:       %{name} = %{version}
40
41 %description devel
42 This package includes the header files documentations and libraries
43 necessary to develop applications that use freetype.
44
45 %description -l pl devel 
46 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
47 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
48
49 %package static
50 Summary:        Freetype static libraries
51 Summary(pl):    Biblioteki statyczne freetype
52 Group:          Development/Libraries
53 Group(pl):      Programowanie/Biblioteki
54 Requires:       %{name}-devel = %{version}
55
56 %description static
57 Static freetype libraries.
58
59 %description -l pl static 
60 Biblioteki statyczne freetype.
61
62 %package progs
63 Summary:        Freetype library utilities
64 Summary(pl):    Programy u¿ytkowe freetype
65 Group:          Utilities
66 Group(pl):      Programowanie/Biblioteki
67 Requires:       %{name} = %{version}
68 Obsoletes:      freetype-utils
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 point
75              size,
76 - ftwiew   - display all glyphs in a given font, applying hinting to each one,
77 - fdump    - a simple TrueType font or collection dumper,
78 - ftstring - a simple program to show off string text generation.
79 - ftstrpn  - convert a rendered text string into the PGM or PBM format,
80 - fterror  - small test program. Tests the gettext()
81              functionality for internationalized messages.
82
83 %description -l pl progs
84 Przyk³adowe aplikacje wykorzystuj±ce freetype.
85
86 %prep
87 %setup  -q
88 %patch0 -p1
89 %patch1 -p1
90
91 %build
92 gettextize --copy --force
93 aclocal
94 autoconf
95 LDFLAGS="-s"; export LDFLAGS
96 %configure \
97         --enable-static \
98         --with-gnu-ld
99 make
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103 make install DESTDIR=$RPM_BUILD_ROOT
104
105 strip $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
106
107 gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
108
109 %find_lang %{name}
110
111 %post   -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %files -f %{name}.lang
118 %attr(755,root,root) %{_libdir}/lib*so.*.*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %doc howto/unix* docs/*txt* *.gz
123 %attr(755,root,root) %{_libdir}/lib*.so
124 %attr(755,root,root) %{_libdir}/lib*.la
125 %{_includedir}/*
126
127 %files static
128 %defattr(644,root,root,755)
129 %{_libdir}/lib*.a
130
131 %files progs
132 %attr(755,root,root) %{_bindir}/*
This page took 0.061367 seconds and 4 git commands to generate.