]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- release 2,
[packages/freetype.git] / freetype.spec
1 Summary:        Truetype font rasterizer
2 Summary(pl):    Rasteryzer fontów Truetype
3 Name:           freetype
4 Version:        1.3
5 Release:        2
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 Patch:          freetype-DESTDIR.patch
11 URL:            http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
12 BuildRequires:  gettext-devel
13 BuildRequires:  XFree86-devel
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %description
17 The FreeType engine is a free and portable TrueType font rendering engine,
18 available in ANSI C and Pascal source code.  It has been developed to
19 provide TT support to a great variety of platforms and environments.
20
21 %description -l pl
22 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType.
23 Kody ¼ród³owe napisane
24 s± w ANSI C orza PASCAL'u. 
25
26 %package devel
27 Summary:        Header files and development documentation
28 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
29 Group:          Development/Libraries
30 Group(pl):      Programowanie/Biblioteki
31 Requires:       %{name} = %{version}
32
33 %description devel
34 This package includes the header files documentations and libraries
35 necessary to develop applications that use freetype.
36
37 %description -l pl devel 
38 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
39 kompilowaniu program wykorzystuj±cych bibliotekê freetype.
40
41 %package static
42 Summary:        Freetype static libraries
43 Summary(pl):    Biblioteki statyczne freetype
44 Group:          Development/Libraries
45 Group(pl):      Programowanie/Biblioteki
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 Static freetype libraries.
50
51 %description -l pl static 
52 Biblioteki statyczne freetype.
53
54 %package progs
55 Summary:        Freetype library utilities
56 Summary(pl):    Programy u¿ytkowe freetype
57 Group:          Utilities
58 Group(pl):      Programowanie/Biblioteki
59 Requires:       %{name} = %{version}
60 Obsoletes:      freetype-utils
61
62 %description progs
63 Freetype library utilites:
64 - ftimer   - a simple performance timer for the engine,
65 - fzoom    - very simple glyph viewer,
66 - ftlint   - program will hint each glyph of a font file, at a given point
67              size,
68 - ftwiew   - display all glyphs in a given font, applying hinting to each one,
69 - fdump    - a simple TrueType font or collection dumper,
70 - ftstring - a simple program to show off string text generation.
71 - ftstrpn  - convert a rendered text string into the PGM or PBM format,
72 - fterror  - small test program. Tests the gettext()
73              functionality for internationalized messages.
74
75 %description -l pl progs
76 Przyk³adowe aplikacje wykorzystuj±ce freetype.
77
78 %prep
79 %setup -q
80 %patch -p1
81
82 %build
83 gettextize --copy --force
84 autoconf
85 LDFLAGS="-s"; export LDFLAGS
86 %configure \
87         --enable-static \
88         --with-locale-dir=%{_datadir}/locale \
89         --with-gnu-ld
90 make
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94 make install DESTDIR=$RPM_BUILD_ROOT
95
96 strip $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
97
98 gzip -9nf howto/unix.txt README announce docs/{*.txt,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.116119 seconds and 4 git commands to generate.