]> git.pld-linux.org Git - packages/freetype1.git/blame - freetype1.spec
- converted to UTF-8
[packages/freetype1.git] / freetype1.spec
CommitLineData
2a9a5571 1Summary: Truetype font rasterizer
82533f15 2Summary(pl.UTF-8): Rasteryzer fontów Truetype
56e6934f 3Name: freetype1
4Version: 1.3.1
f9c4c9ce 5Release: 11
092e0164 6License: BSD-like
2a9a5571 7Group: Libraries
887f25b4 8Source0: ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz
38e17c3e 9# Source0-md5: 9a9e7ad00c1ef6dfbf8f8e19ceefb300
5aa9e0ba 10Patch0: freetype-DESTDIR.patch
11Patch1: freetype-autoconf.patch
a236e817 12Patch2: %{name}-po.patch
9f9a8cf3 13Patch3: freetype-gcc33.patch
56e6934f 14URL: http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
2a9a5571 15BuildRequires: XFree86-devel
d3fb65b7 16BuildRequires: autoconf
17BuildRequires: automake
18BuildRequires: gettext-devel
19BuildRequires: libtool
2a9a5571 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23The FreeType engine is a free and portable TrueType font rendering
24engine. It has been developed to provide TrueType support to a great
25variety of platforms and environments.
26
27Note that FreeType is a *library*. It is not a font server for your
28favorite platform, even though it was designed to be used in many of
29them. Note also that it is *not* a complete text-rendering library.
30Its purpose is simply to open and manage font files, as well as load,
31hint and render individual glyphs efficiently. You can also see it as
32a "TrueType driver" for a higher-level library, though rendering text
33with it is extremely easy, as demo-ed by the test programs.
34
82533f15
JR
35%description -l pl.UTF-8
36FreeType jest biblioteką służącą do rasteryzacji fontów TrueType. Jest
37to jedynie biblioteka, a nie serwer fontów, chociaż została ona
38zaprojektowana do używania także w takich serwerach. Nie jest to też
99d2c4fe 39kompletna biblioteka do rasteryzacji tekstu. Jej celem jest tylko
82533f15
JR
40odczytywanie i zarządzanie plikami z fontami oraz wczytywanie i
41wykonywanie hintingu i rasteryzacji poszczególnych glifów. Może być
42także uważana za "sterownik TrueType" dla bibliotek wyższego poziomu,
43jednak użycie samej biblioteki FreeType do rasteryzacji jest bardzo
44proste, co można zobaczyć w programach demonstracyjnych.
2a9a5571 45
46%package devel
47Summary: Header files and development documentation
82533f15 48Summary(pl.UTF-8): Pliki nagłówkowe biblioteki freetype i dokumentacja
2a9a5571 49Group: Development/Libraries
2866b695 50Requires: %{name} = %{version}-%{release}
29c564d9 51Provides: freetype-devel = %{version}
2a9a5571 52
53%description devel
54This package includes the header files documentations and libraries
55necessary to develop applications that use freetype.
56
82533f15
JR
57%description devel -l pl.UTF-8
58Pakiet ten zawiera pliki nagłówkowe oraz biblioteki niezbędne przy
59kompilowaniu programów wykorzystujących bibliotekę freetype.
2a9a5571 60
61%package static
62Summary: Freetype static libraries
82533f15 63Summary(pl.UTF-8): Biblioteki statyczne freetype
2a9a5571 64Group: Development/Libraries
2866b695 65Requires: %{name}-devel = %{version}-%{release}
29c564d9 66Provides: freetype-static = %{version}
2a9a5571 67
68%description static
69Static freetype libraries.
70
82533f15 71%description static -l pl.UTF-8
2a9a5571 72Biblioteki statyczne freetype.
73
74%package progs
75Summary: Freetype library utilities
82533f15 76Summary(pl.UTF-8): Programy użytkowe freetype
2a9a5571 77Group: Applications
2866b695 78Requires: %{name} = %{version}-%{release}
29c564d9 79Provides: freetype-progs = %{version}
2a9a5571 80Obsoletes: freetype-utils
429342ef 81Obsoletes: freetype-tools
2a9a5571 82
83%description progs
84Freetype library utilites:
85- ftimer - a simple performance timer for the engine,
86- fzoom - very simple glyph viewer,
87- ftlint - program will hint each glyph of a font file, at a given
88 point size,
89- ftwiew - display all glyphs in a given font, applying hinting to
90 each one,
91- fdump - a simple TrueType font or collection dumper,
92- ftstring - a simple program to show off string text generation.
93- ftstrpn - convert a rendered text string into the PGM or PBM format,
94- fterror - small test program. Tests the gettext() functionality for
95 internationalized messages.
96
82533f15
JR
97%description progs -l pl.UTF-8
98Przykładowe aplikacje wykorzystujące freetype:
99- ftimer - narzędzie mierzące szybkość silnika
100- fzoom - prosta przeglądarka glifów
101- ftlint - program robiący hinting każdego glifu z fontu przy podanym
24204086 102 rozmiarze
82533f15
JR
103- ftview - program wyświetlający z hintingiem wszystkie glify z fontu
104- fdump - narzędzie zrzucające dane z fontu lub zestawu fontów TT
105- ftstring - prosty program obrazujący generowanie tekstu
24204086 106- ftstrpn - konwerter zrenderowanego tekstu na format PGM/PBM
82533f15 107- fterror - prosty program testujący działanie gettext() w
24204086 108 zlokalizowanych komunikatach.
e5ee496e 109
2a9a5571 110%prep
c94d52fa 111%setup -q -n freetype-%{version}
56e6934f 112%patch0 -p1
113%patch1 -p1
934ac2ed 114%patch2 -p1
9f9a8cf3 115%patch3 -p1
2a9a5571 116
117%build
bb3bfd28 118install /usr/share/automake/missing .
d842f202 119%{__gettextize}
5ecfe475
JB
120# gettextize stupidity (doesn't see intl/Makefile in next lines after AC_OUTPUT)
121sed -e 's@\(AC_OUTPUT.*\) intl/Makefile@\1@' configure.in > configure.in.tmp
122mv -f configure.in.tmp configure.in
4cae2034 123%{__libtoolize}
dbd5e1d4 124%{__aclocal}
c4681531 125%{__autoconf}
2a9a5571 126%configure \
127 --enable-static \
128 --with-gnu-ld
129%{__make}
2a9a5571 130
131%install
132rm -rf $RPM_BUILD_ROOT
133
24204086
JB
134%{__make} install \
135 DESTDIR=$RPM_BUILD_ROOT
2a9a5571 136
96a114d0 137%find_lang freetype
2a9a5571 138
7ad2c73c
JB
139# resolve conflict with freetype-demos-2.*
140mv -f $RPM_BUILD_ROOT%{_bindir}/{ftdump,ft1dump}
909b8cbd
JB
141mv -f $RPM_BUILD_ROOT%{_bindir}/{ftlint,ft1lint}
142mv -f $RPM_BUILD_ROOT%{_bindir}/{ftview,ft1view}
143mv -f $RPM_BUILD_ROOT%{_bindir}/{fttimer,ft1timer}
7ad2c73c 144
2a9a5571 145%clean
146rm -rf $RPM_BUILD_ROOT
147
24204086
JB
148%post -p /sbin/ldconfig
149%postun -p /sbin/ldconfig
150
96a114d0 151%files -f freetype.lang
2a9a5571 152%defattr(644,root,root,755)
2a9a5571 153%attr(755,root,root) %{_libdir}/lib*so.*.*
154
155%files devel
156%defattr(644,root,root,755)
29c564d9 157%doc howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
2a9a5571 158%attr(755,root,root) %{_libdir}/lib*.so
45e7e6fc 159%{_libdir}/lib*.la
2a9a5571 160%{_includedir}/*
161
162%files static
163%defattr(644,root,root,755)
164%{_libdir}/lib*.a
165
166%files progs
167%defattr(644,root,root,755)
168%attr(755,root,root) %{_bindir}/f*
This page took 0.13418 seconds and 4 git commands to generate.