]> git.pld-linux.org Git - packages/GLee.git/blob - GLee.spec
2d1348f591aa9d69992d9b6a9027dff75d26de78
[packages/GLee.git] / GLee.spec
1 Summary:        OpenGL Easy Extension library
2 Summary(pl.UTF-8):      Biblioteka OpenGL Easy Extension
3 Name:           GLee
4 Version:        5.03
5 %define         _ver    %(echo %{version} | tr . _)
6 Release:        1
7 License:        BSD-like
8 Group:          X11/Libraries
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
19 Requires:       OpenGL
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
28
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ą.
35
36 %package devel
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
42
43 %description devel
44 Header file for GLee library.
45
46 %description devel -l pl.UTF-8
47 Plik nagłówkowy biblioteki GLee.
48
49 %prep
50 %setup -q -a1 -c
51 cp glee/{configure,config.h.in,install-sh,Makefile.in} .
52
53 %build
54 CXXFLAGS="%{rpmcxxflags} -fPIC"
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}}
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT \
64         INCLUDEDIR=$RPM_BUILD_ROOT%{_includedir} \
65         LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
66         DATADIR=$RPM_BUILD_ROOT%{_datadir} \
67         LDCONFIG=/bin/true
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %doc extensionList.txt readme.txt
78 %attr(755,root,root) %{_libdir}/libGLee.so
79
80 %files devel
81 %defattr(644,root,root,755)
82 %{_includedir}/GL/GLee.h
This page took 0.062046 seconds and 2 git commands to generate.