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