]> git.pld-linux.org Git - packages/GLee.git/blob - GLee.spec
- BR: unzip
[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 BuildRequires:  unzip
20 Requires:       OpenGL
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The OpenGL Easy Extension library (GLee) makes life easier for OpenGL
25 developers by automatically linking OpenGL extensions and core
26 functions at initialisation time. This saves programmers the effort of
27 manually linking every required extension, and effectively brings the
28 OpenGL library up to date.
29
30 %description -l pl.UTF-8
31 Biblioteka OpenGL Easy Extension (GLee) ułatwia życie programistom
32 używającym OpenGL poprzez automatyczne linkowanie rozszerzeń OpenGL i
33 głównych funkcji w czasie inicjalizacji. Oszczędza to programistom
34 trudów ręcznego linkowania każdego wymaganego rozszerzenia i
35 efektywnie czyni bibliotekę OpenGL aktualną.
36
37 %package devel
38 Summary:        Header file for GLee library
39 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki GLee
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       OpenGL-devel
43
44 %description devel
45 Header file for GLee library.
46
47 %description devel -l pl.UTF-8
48 Plik nagłówkowy biblioteki GLee.
49
50 %prep
51 %setup -q -a1 -c
52 cp glee/{configure,config.h.in,install-sh,Makefile.in} .
53
54 %build
55 CXXFLAGS="%{rpmcxxflags} -fPIC"
56 %configure
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -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
71 rm -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
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.0611 seconds and 3 git commands to generate.