]> git.pld-linux.org Git - packages/GLee.git/blame - GLee.spec
- BR: unzip
[packages/GLee.git] / GLee.spec
CommitLineData
13b6ab21 1Summary: OpenGL Easy Extension library
0646da20 2Summary(pl.UTF-8): Biblioteka OpenGL Easy Extension
13b6ab21 3Name: GLee
4ff1554c
PG
4Version: 5.03
5%define _ver %(echo %{version} | tr . _)
6Release: 1
13b6ab21
PG
7License: BSD-like
8Group: X11/Libraries
4ff1554c
PG
9Source0: http://elf-stone.com/downloads/GLee/%{name}%{_ver}.zip
10# Source0-md5: 92a3f9282af73b8a9966ad5a0e2eaf8d
11Source1: http://elf-stone.com/downloads/GLee/%{name}-3.03-src.tar.gz
12# Source1-md5: 84664f6545ed890ea87244c1ea5b2259
13b6ab21
PG
13URL: http://elf-stone.com/downloads.php
14BuildRequires: OpenGL-devel
15BuildRequires: autoconf
16BuildRequires: automake
393028b5
JB
17BuildRequires: libstdc++-devel
18BuildRequires: rpmbuild(macros) >= 1.167
ddf5253a 19BuildRequires: unzip
13b6ab21
PG
20Requires: OpenGL
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
358cd2ad
JB
24The OpenGL Easy Extension library (GLee) makes life easier for OpenGL
25developers by automatically linking OpenGL extensions and core
26functions at initialisation time. This saves programmers the effort of
27manually linking every required extension, and effectively brings the
28OpenGL library up to date.
29
b02ee7e9
JR
30%description -l pl.UTF-8
31Biblioteka OpenGL Easy Extension (GLee) ułatwia życie programistom
32używającym OpenGL poprzez automatyczne linkowanie rozszerzeń OpenGL i
33głównych funkcji w czasie inicjalizacji. Oszczędza to programistom
34trudów ręcznego linkowania każdego wymaganego rozszerzenia i
35efektywnie czyni bibliotekę OpenGL aktualną.
13b6ab21 36
393028b5
JB
37%package devel
38Summary: Header file for GLee library
0646da20 39Summary(pl.UTF-8): Plik nagłówkowy biblioteki GLee
393028b5
JB
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
42Requires: OpenGL-devel
43
44%description devel
45Header file for GLee library.
46
b02ee7e9
JR
47%description devel -l pl.UTF-8
48Plik nagłówkowy biblioteki GLee.
393028b5 49
13b6ab21 50%prep
4ff1554c
PG
51%setup -q -a1 -c
52cp glee/{configure,config.h.in,install-sh,Makefile.in} .
13b6ab21
PG
53
54%build
393028b5 55CXXFLAGS="%{rpmcxxflags} -fPIC"
13b6ab21
PG
56%configure
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61install -d $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}}
62
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT \
65 INCLUDEDIR=$RPM_BUILD_ROOT%{_includedir} \
66 LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
67 DATADIR=$RPM_BUILD_ROOT%{_datadir} \
68 LDCONFIG=/bin/true
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
75
76%files
77%defattr(644,root,root,755)
78%doc extensionList.txt readme.txt
393028b5
JB
79%attr(755,root,root) %{_libdir}/libGLee.so
80
81%files devel
82%defattr(644,root,root,755)
83%{_includedir}/GL/GLee.h
This page took 0.068088 seconds and 4 git commands to generate.