1 Summary: OpenGL Easy Extension library
2 Summary(pl.UTF-8): Biblioteka OpenGL Easy Extension
5 %define _ver %(echo %{version} | tr . _)
9 Source0: http://elf-stone.com/downloads/GLee/%{name}%{_ver}.zip
10 # Source0-md5: 92a3f9282af73b8a9966ad5a0e2eaf8d
11 Source1: http://elf-stone.com/downloads/GLee/%{name}-3.03-src.tar.gz
12 # Source1-md5: 84664f6545ed890ea87244c1ea5b2259
13 URL: http://elf-stone.com/downloads.php
14 BuildRequires: OpenGL-devel
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libstdc++-devel
18 BuildRequires: rpmbuild(macros) >= 1.167
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The OpenGL Easy Extension library (GLee) makes life easier for OpenGL
24 developers by automatically linking OpenGL extensions and core
25 functions at initialisation time. This saves programmers the effort of
26 manually linking every required extension, and effectively brings the
27 OpenGL library up to date.
29 %description -l pl.UTF-8
30 Biblioteka OpenGL Easy Extension (GLee) ułatwia życie programistom
31 używającym OpenGL poprzez automatyczne linkowanie rozszerzeń OpenGL i
32 głównych funkcji w czasie inicjalizacji. Oszczędza to programistom
33 trudów ręcznego linkowania każdego wymaganego rozszerzenia i
34 efektywnie czyni bibliotekę OpenGL aktualną.
37 Summary: Header file for GLee library
38 Summary(pl.UTF-8): Plik nagłówkowy biblioteki GLee
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: OpenGL-devel
44 Header file for GLee library.
46 %description devel -l pl.UTF-8
47 Plik nagłówkowy biblioteki GLee.
51 cp glee/{configure,config.h.in,install-sh,Makefile.in} .
54 CXXFLAGS="%{rpmcxxflags} -fPIC"
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}}
63 DESTDIR=$RPM_BUILD_ROOT \
64 INCLUDEDIR=$RPM_BUILD_ROOT%{_includedir} \
65 LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
66 DATADIR=$RPM_BUILD_ROOT%{_datadir} \
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
76 %defattr(644,root,root,755)
77 %doc extensionList.txt readme.txt
78 %attr(755,root,root) %{_libdir}/libGLee.so
81 %defattr(644,root,root,755)
82 %{_includedir}/GL/GLee.h