1 Summary: C functions that draw extruded surfaces
2 Summary(pl.UTF-8): Funkcje C do rysowania skomplikowanych przestrzeni
6 License: IBM (library), Artistic (documentation) or GPL v2
8 Source0: http://downloads.sourceforge.net/gle/%{name}-%{version}.tar.gz
9 # Source0-md5: da5b45c6906343d4a3672c3de35513ad
10 Patch0: %{name}-amfix.patch
11 URL: http://www.linas.org/gle/
12 BuildRequires: OpenGL-GLU-devel
13 BuildRequires: OpenGL-glut-devel >= 3.7
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libtool >= 1:1.4.2-9
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 GLE is a library package of C functions that draw extruded surfaces,
21 including surfaces of revolution, sweeps, tubes, polycones,
22 polycylinders and helicoids. Generically, the extruded surface is
23 specified with a 2D polyline that is extruded along a 3D path. A local
24 coordinate system allows for additional flexibility in the primitives
25 drawn. Extrusions may be texture mapped in a variety of ways. The GLE
26 library generates 3D triangle coordinates, lighting normal vectors and
27 texture coordinates as output. GLE uses the GL or OpenGL(R) API's to
28 perform the actual rendering.
30 %description -l pl.UTF-8
31 GLE jest biblioteką funkcji C, które pozwalają na rysowanie
32 powierzchni tłoczonych, w tym powierzchni obrotowych, rozciągnięć,
33 walców, stożków i spirali. Ogólnie, powierzchnia tłoczona jest
34 określona krzywą 2D rozciąganą wzdłuż ścieżki w 3D. Lokalny układ
35 współrzędnych pozwala na dodatkową elastyczność przy rysowaniu
36 krzywych. Powierzchnie tłoczone mogą mieć przypisane tekstury na wiele
37 sposobów. Biblioteka GLE generuje współrzędne trójkątów w 3D, wektory
38 normalne dla oświetlenia i współrzędne tekstury; do właściwego
39 renderowania sceny używa API GL lub OpenGL(R).
42 Summary: Libraries, includes, etc to develop gle applications
43 Summary(pl.UTF-8): Biblioteki, pliki nagłówkowe i dokumentacja dla programisty gle
44 License: IBM or GPL (code), Artistic or GPL (examples and docs)
45 Group: X11/Development/Libraries
46 Requires: %{name} = %{version}-%{release}
47 Requires: OpenGL-GLU-devel
50 Include files and documentation you can use to develop gle
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe i dokumentacja dla programisty gle.
57 Summary: Static gle library
58 Summary(pl.UTF-8): Biblioteka statyczna libgle
59 Group: X11/Development/Libraries
60 Requires: %{name}-devel = %{version}-%{release}
63 Static libgle library.
65 %description static -l pl.UTF-8
66 Biblioteka statyczna libgle.
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
87 DESTDIR=$RPM_BUILD_ROOT
89 %{__make} clean -C examples
90 install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
92 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/gle
95 rm -rf $RPM_BUILD_ROOT
97 %post -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog NEWS README COPYING src/COPYING.src
103 %attr(755,root,root) %{_libdir}/libgle.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libgle.so.3
107 %defattr(644,root,root,755)
108 %doc doc/html/*.{html,gif}
109 %attr(755,root,root) %{_libdir}/libgle.so
111 %{_includedir}/GL/gle.h
112 %{_mandir}/man3/gle*.3gle*
113 %{_examplesdir}/%{name}-%{version}
116 %defattr(644,root,root,755)