OBS User unknown 2008-01-15 09:35:48 +00:00 committed by Git OBS Bridge
parent d27664cb96
commit cbe2347445
4 changed files with 52 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7afffa823d592192fbf33e4b3cd695d252ccbe1da174f804c82e51be6ddc9416
size 245744

3
glew-1.5.0-src.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a6b7fb0fb5505c7bfa2d3275c2aa84a75aa909b0dda497e6c217f04e4f5ff28
size 242372

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jan 14 17:06:33 CET 2008 - sbrabec@suse.cz
- Updated to version 1.5.0:
* less restrictive license
* minor fixes
- Split package according to the shared library packaging policy.
-------------------------------------------------------------------
Thu Jul 12 17:35:17 CEST 2007 - sbrabec@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package glew (Version 1.4.0)
# spec file for package glew (Version 1.5.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -12,13 +12,14 @@
Name: glew
BuildRequires: Mesa-devel
URL: http://glew.sourceforge.net/
License: BSD 3-Clause, GPL v2 only
Url: http://glew.sourceforge.net/
License: BSD 3-Clause; GPL v2 only; Other uncritical OpenSource License
Group: System/Libraries
Summary: OpenGL Extension Wrangler Library
Version: 1.4.0
Version: 1.5.0
Release: 1
Source: %{name}-%{version}-src.tar.bz2
Requires: libGLEW1_5 >= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -30,6 +31,25 @@ functionality is exposed in a single header file.
Authors:
--------
Milan Ikits
Marcelo Magallon
%package -n libGLEW1_5
Group: System/Libraries
Summary: OpenGL Extension Wrangler Library
Requires: %{name} = %{version} Mesa-devel
%description -n libGLEW1_5
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
open-source C/C++ extension loading library. GLEW provides efficient
run-time mechanisms for determining which OpenGL extensions are
supported on the target platform. OpenGL core and extension
functionality is exposed in a single header file.
Authors:
--------
Milan Ikits
@ -56,24 +76,31 @@ Authors:
%prep
%setup -n %{name}
chmod -x doc/glew.txt
%build
make %{?jobs:-j%jobs} POPT="$RPM_OPT_FLAGS" LIBDIR=%{_libdir} LDFLAGS.EXTRA=
make %{?jobs:-j%jobs} POPT="$RPM_OPT_FLAGS" LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=/bin/true
%install
make GLEW_DEST=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} LDFLAGS.EXTRA= install
ln -s /bin/true strip
export PATH=$PWD:$PATH
make GLEW_DEST=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} LDFLAGS.EXTRA= STRIP=/bin/true install
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%post -n libGLEW1_5 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libGLEW1_5 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc doc/*
%{_bindir}/*info
%files -n libGLEW1_5
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
@ -83,5 +110,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%changelog
* Mon Jan 14 2008 - sbrabec@suse.cz
- Updated to version 1.5.0:
* less restrictive license
* minor fixes
- Split package according to the shared library packaging policy.
* Thu Jul 12 2007 - sbrabec@suse.cz
- New SuSE package, version 1.4.0.