]> git.pld-linux.org Git - packages/ftgl.git/blob - ftgl.spec
- tabs in preamble
[packages/ftgl.git] / ftgl.spec
1 Summary:        OpenGL frontend to freetype2
2 Summary(pl.UTF-8):      Nakładka OpenGL na freetype2 - łatwy dostęp do fontów z poziomu OpenGL
3 Name:           ftgl
4 Version:        2.1.2
5 Release:        2
6 Epoch:          0
7 License:        LGPL
8 Group:          X11/Libraries
9 # original URL (dead ATM): http://opengl.geek.nz/ftgl/%{name}-%{version}.tar.gz
10 Source0:        ftp://ftp.pl.debian.org/pub/debian/pool/main/f/ftgl/%{name}_%{version}.orig.tar.gz
11 # Source0-md5:  3eabec9ad37371c4d139408c7ffd2429
12 Patch0:         %{name}-Makefiles.patch
13 Patch1:         %{name}-gcc4.patch
14 URL:            http://homepages.paradise.net.nz/henryj/code/#FTGL
15 BuildRequires:  OpenGL-GLU-devel
16 BuildRequires:  automake
17 BuildRequires:  doxygen
18 BuildRequires:  freetype-devel >= 2.0.9
19 BuildRequires:  libstdc++-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 FTGL is a free, open source library to enable developers to use
24 arbitrary fonts in their OpenGL (http://www.opengl.org/) applications.
25 Unlike other OpenGL font libraries FTGL uses standard font file formats
26 so doesn't need a preprocessing step to convert the high quality font
27 data into a lesser quality, proprietary format. FTGL uses the Freetype
28 (http://www.freetype.org/) font library to open and 'decode' the
29 fonts. It then takes that output and stores it in a format most
30 efficient for OpenGL rendering.
31
32 %description -l pl.UTF-8
33 FTPGL to wolnodostępna biblioteka z otwartymi źródłami umożliwiająca
34 programistom używanie dowolnych fontów w aplikacjach OpenGL
35 (http://www.opengl.org/). W przeciwieństwie do innych bibliotek OpenGL
36 FTGL używa standardowych formatów plików z fontami, dzięki czemu nie
37 jest wymagany żaden preprocessing, aby przetworzyć dane fontu wysokiej
38 jakości na własnościowy format niższej jakości. FTGL do wczytywania i
39 dekodowania fontów używa biblioteki obsługi fontów Freetype
40 (http://www.freetype.org/), następnie przejmuje wyjście i przechowuje
41 je w formacie najbardziej wydajnym przy renderingu OpenGL.
42
43 %package devel
44 Summary:        OpenGL frontend to freetype2 - development files
45 Summary(pl.UTF-8):      Nakładka OpenGL na freetype2 - pliki dla programistów
46 Group:          X11/Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       OpenGL-GLU-devel
49 Requires:       freetype-devel >= 2.0.9
50 Requires:       libstdc++-devel
51
52 %description devel
53 OpenGL frontend to freetype2 - development files.
54
55 %description devel -l pl.UTF-8
56 Nakładka OpenGL na freetype2 - pliki dla programistów.
57
58 %package static
59 Summary:        Static FTGL library
60 Summary(pl.UTF-8):      Statyczna biblioteka FTGL
61 Group:          X11/Development/Libraries
62 Requires:       %{name}-devel = %{version}-%{release}
63
64 %description static
65 Static FTGL library.
66
67 %description static -l pl.UTF-8
68 Statyczna biblioteka FTGL.
69
70 %prep
71 %setup -q -n FTGL
72 %patch0 -p1
73 %patch1 -p1
74
75 %build
76 cd unix
77 install /usr/share/automake/config.* .
78 %configure \
79         --enable-shared
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{makeinstall} -C unix
86
87 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
96 %defattr(644,root,root,755)
97 %doc HISTORY.txt README.txt license.txt
98 %attr(755,root,root) %{_libdir}/libftgl.so.*.*.*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %doc unix/docs/html
103 %attr(755,root,root) %{_libdir}/libftgl.so
104 %{_libdir}/libftgl.la
105 %{_includedir}/FTGL
106 %{_pkgconfigdir}/*.pc
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/libftgl.a
This page took 0.054211 seconds and 3 git commands to generate.