]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- added using CVS keywords in %changelog (for automating them).
[packages/freetype.git] / freetype.spec
1 Summary:        Truetype font rasterizer
2 Summary(pl):    Rasteryzer fontów Truetype
3 Name:           freetype
4 Version:        1.2
5 Release:        6
6 Copyright:      LGPL
7 Group:          Libraries
8 Group(pl):      Biblioteki
9 Source:         ftp://ftp.physiol.med.tu-muenchen.de/pub/freetype/%{name}-%{version}.tar.gz
10 URL:            http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
11 BuildPrereq:    gettext
12 BuildPrereq:    XFree86-devel
13 BuildRoot:      /tmp/%{name}-%{version}-root
14
15 %description
16 The FreeType engine is a free and portable TrueType font rendering engine,
17 available in ANSI C and Pascal source code.  It has been developed to
18 provide TT support to a great variety of platforms and environments.
19
20 %description -l pl
21 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType.
22 Kody ¼ród³owe napisane
23 s± w ANSI C orza PASCAL'u. 
24
25 %package devel
26 Summary:        Header files and development documentation
27 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
28 Group:          Development/Libraries
29 Group(pl):      Programowanie/Biblioteki
30 Requires:       %{name} = %{version}
31
32 %description devel
33 This package includes the header files documentations and libraries
34 necessary to develop applications that use freetype.
35
36 %description -l pl devel 
37 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
38 kompilowaniu program wykorzystuj±cych bibliotekê freetype.
39
40 %package static
41 Summary:        Freetype static libraries
42 Summary(pl):    Biblioteki statyczne freetype
43 Group:          Development/Libraries
44 Group(pl):      Programowanie/Biblioteki
45 Requires:       %{name}-devel = %{version}
46
47 %description static
48 Static freetype libraries.
49
50 %description -l pl static 
51 Biblioteki statyczne freetype.
52
53 %package progs
54 Summary:        Freetype library utilities
55 Summary(pl):    Programy u¿ytkowe freetype
56 Group:          Utilities
57 Group(pl):      Programowanie/Biblioteki
58 Requires:       %{name} = %{version}
59
60 %description progs
61 Freetype library utilites:
62 - ftimer   - a simple performance timer for the engine,
63 - fzoom    - very simple glyph viewer,
64 - ftlint   - program will hint each glyph of a font file, at a given point
65              size,
66 - ftwiew   - display all glyphs in a given font, applying hinting to each one,
67 - fdump    - a simple TrueType font or collection dumper,
68 - ftstring - a simple program to show off string text generation.
69 - ftstrpn  - convert a rendered text string into the PGM or PBM format,
70 - fterror  - small test program. Tests the gettext()
71              functionality for internationalized messages.
72
73 %description -l pl progs
74 Przyk³adowe aplikacje wykorzystuj±ce freetype
75
76 %prep
77 %setup -q
78
79 %build
80 autoconf
81 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
82 ./configure %{_target_platform} \
83         --prefix=%{_prefix} \
84         --enable-static \
85         --with-locale-dir=%{_datadir}/locale \
86         --with-gnu-ld
87 make
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91 make install \
92         prefix=$RPM_BUILD_ROOT/usr \
93         localedir=$RPM_BUILD_ROOT%{_datadir}/locale \
94         gnulocaledir=$RPM_BUILD_ROOT%{_datadir}/locale
95
96 strip $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
97
98 gzip -9nf howto/unix.txt README announce docs/{*.txt,*.doc,FAQ,TODO,credits}
99
100 %find_lang %{name}
101
102 %post   -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %files -f %{name}.lang
109 %attr(755,root,root) %{_libdir}/lib*so.*.*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc howto/unix* docs/*txt* *.gz
114 %attr(755,root,root) %{_libdir}/lib*.so
115 %{_includedir}/*
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/lib*.a
120
121 %files progs
122 %attr(755,root,root) %{_bindir}/*
This page took 0.03842 seconds and 4 git commands to generate.