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