]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- updated to 2.0.4, removed obsolete include-nowarn patch
[packages/freetype.git] / freetype.spec
1 Summary:        Truetype font rasterizer
2 Summary(pl):    Rasteryzer fontów Truetype
3 Name:           freetype
4 Version:        2.0.4
5 Release:        1
6 License:        GPL or FTL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Source0:        ftp://freetype.sourceforge.net/pub/freetype/%{name}2/%{name}-%{version}.tar.bz2
13 Source1:        ftp://freetype.sourceforge.net/pub/freetype/%{name}2/ftdocs-%{version}.tar.bz2
14 Patch0:         %{name}2-DESTDIR.patch
15 Patch1:         %{name}2-gsf-segv.patch
16 URL:            http://www.freetype.org/
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Obsoletes:      freetype2
19
20 %description
21 The FreeType engine is a free and portable TrueType font rendering
22 engine. It has been developed to provide TrueType support to a great
23 variety of platforms and environments.
24
25 Note that FreeType is a *library*. It is not a font server for your
26 favorite platform, even though it was designed to be used in many of
27 them. Note also that it is *not* a complete text-rendering library.
28 Its purpose is simply to open and manage font files, as well as load,
29 hint and render individual glyphs efficiently. You can also see it as
30 a "TrueType driver" for a higher-level library, though rendering text
31 with it is extremely easy, as demo-ed by the test programs.
32
33 %description -l pl
34 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Kody
35 ¼ród³owe napisane s± w ANSI C oraz PASCAL'u.
36
37 %package devel
38 Summary:        Header files and development documentation
39 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
40 Group:          Development/Libraries
41 Group(de):      Entwicklung/Libraries
42 Group(fr):      Development/Librairies
43 Group(pl):      Programowanie/Biblioteki
44 Requires:       %{name} = %{version}
45 Obsoletes:      freetype2-devel
46 Obsoletes:      freetype2-static
47
48 %description devel
49 This package includes the header files documentations and libraries
50 necessary to develop applications that use freetype.
51
52 %description -l pl devel 
53 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
54 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
55
56 %package static
57 Summary:        Freetype static libraries
58 Summary(pl):    Biblioteki statyczne freetype
59 Group:          Development/Libraries
60 Group(de):      Entwicklung/Libraries
61 Group(fr):      Development/Librairies
62 Group(pl):      Programowanie/Biblioteki
63 Requires:       %{name}-devel = %{version}
64 Obsoletes:      freetype2-static
65
66 %description static
67 Static freetype libraries.
68
69 %description -l pl static 
70 Biblioteki statyczne freetype.
71
72 %prep
73 %setup -q -b1
74 %patch0 -p1
75 %patch1 -p1
76
77 %build
78 CFLAGS="%{rpmcflags}" %{__make} setup CFG="--prefix=%{_prefix}"
79
80 %{__make} 
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR="$RPM_BUILD_ROOT"
87
88 gzip -9nf docs/{CHANGES,FTL.txt,PATENTS,license.txt,todo,cache.txt}
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files
97 %defattr(644,root,root,755)
98 %doc docs/*.gz
99 %attr(755,root,root) %{_libdir}/lib*so.*.*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %doc docs/*.html docs/{design,freetype2,glyphs,reference,tutorial}
104 %attr(755,root,root) %{_bindir}/*
105 %attr(755,root,root) %{_libdir}/lib*.so
106 %attr(755,root,root) %{_libdir}/lib*.la
107 %{_includedir}/freetype2
108 %{_includedir}/*.h
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/lib*.a
This page took 0.107965 seconds and 4 git commands to generate.