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