2007-08-19 06:22:05 +00:00
|
|
|
Name: glew
|
2013-11-17 08:24:29 +00:00
|
|
|
Version: 1.10.0
|
2014-05-03 11:56:02 +00:00
|
|
|
Release: 3%{?dist}
|
2007-08-19 06:22:05 +00:00
|
|
|
Summary: The OpenGL Extension Wrangler Library
|
|
|
|
Group: System Environment/Libraries
|
2008-01-22 11:12:51 +00:00
|
|
|
License: BSD and MIT
|
2007-08-19 06:22:05 +00:00
|
|
|
URL: http://glew.sourceforge.net
|
2008-11-24 19:06:48 +00:00
|
|
|
|
2012-07-22 12:15:55 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz
|
2013-11-17 08:53:36 +00:00
|
|
|
Patch0: 0001-BUILD-respect-DESTDIR-variable.patch
|
|
|
|
Patch1: glew-1.9.0-makefile.patch
|
2007-08-19 06:22:05 +00:00
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform 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.
|
|
|
|
GLEW is available for a variety of operating systems, including Windows, Linux,
|
|
|
|
Mac OS X, FreeBSD, Irix, and Solaris.
|
|
|
|
|
2011-03-23 23:26:28 +00:00
|
|
|
This package contains the demo GLEW utilities. The libraries themselves
|
|
|
|
are in libGLEW and libGLEWmx.
|
2007-08-19 06:22:05 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for glew
|
|
|
|
Group: Development/Libraries
|
2011-03-23 23:26:28 +00:00
|
|
|
Requires: libGLEW = %{version}-%{release}
|
|
|
|
Requires: libGLEWmx = %{version}-%{release}
|
2007-08-19 06:22:05 +00:00
|
|
|
Requires: libGLU-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development files for glew
|
|
|
|
|
|
|
|
|
2011-03-23 23:26:28 +00:00
|
|
|
%package -n libGLEW
|
|
|
|
Summary: libGLEW
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description -n libGLEW
|
|
|
|
libGLEW
|
|
|
|
|
|
|
|
%package -n libGLEWmx
|
|
|
|
Summary: libGLEWmx
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description -n libGLEWmx
|
|
|
|
libGLEWmx
|
|
|
|
|
2007-08-19 06:22:05 +00:00
|
|
|
%prep
|
2010-02-02 15:29:01 +00:00
|
|
|
%setup -q
|
2013-11-17 08:53:36 +00:00
|
|
|
%patch0 -p1 -b .bld
|
|
|
|
%patch1 -p1 -b .make
|
2007-08-19 06:22:05 +00:00
|
|
|
|
2014-05-03 11:56:02 +00:00
|
|
|
# update config.guess for new arch support
|
|
|
|
cp /usr/lib/rpm/redhat/config.guess config/
|
2007-08-19 06:22:05 +00:00
|
|
|
|
|
|
|
%build
|
2013-11-17 08:53:36 +00:00
|
|
|
make %{?_smp_mflags} CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC" includedir=%{_includedir} STRIP= libdir=%{_libdir} bindir=%{_bindir} GLEW_DEST=
|
2007-08-19 06:22:05 +00:00
|
|
|
|
|
|
|
%install
|
2013-11-17 08:53:36 +00:00
|
|
|
make install.all GLEW_DEST= DESTDIR="$RPM_BUILD_ROOT" libdir=%{_libdir} bindir=%{_bindir} includedir=%{_includedir}
|
2014-05-03 11:56:02 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.a" -delete
|
2011-06-20 19:13:09 +00:00
|
|
|
# sigh
|
|
|
|
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
2007-08-19 06:22:05 +00:00
|
|
|
|
2012-07-22 12:15:55 +00:00
|
|
|
%post -n libGLEW -p /sbin/ldconfig
|
2007-08-19 06:22:05 +00:00
|
|
|
|
2012-07-22 12:15:55 +00:00
|
|
|
%postun -n libGLEW -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libGLEWmx -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libGLEWmx -p /sbin/ldconfig
|
2007-08-19 06:22:05 +00:00
|
|
|
|
|
|
|
%files
|
2008-01-22 11:12:51 +00:00
|
|
|
%doc LICENSE.txt
|
2007-08-19 06:22:05 +00:00
|
|
|
%{_bindir}/*
|
2011-03-23 23:26:28 +00:00
|
|
|
|
|
|
|
%files -n libGLEW
|
|
|
|
%doc LICENSE.txt
|
2007-08-19 06:22:05 +00:00
|
|
|
%{_libdir}/libGLEW.so.*
|
2011-03-23 23:26:28 +00:00
|
|
|
|
|
|
|
%files -n libGLEWmx
|
|
|
|
%doc LICENSE.txt
|
2011-03-23 21:36:37 +00:00
|
|
|
%{_libdir}/libGLEWmx.so.*
|
2007-08-19 06:22:05 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/libGLEW.so
|
2011-03-23 21:36:37 +00:00
|
|
|
%{_libdir}/libGLEWmx.so
|
2010-05-29 08:24:47 +00:00
|
|
|
%{_libdir}/pkgconfig/glew.pc
|
2011-03-23 21:36:37 +00:00
|
|
|
%{_libdir}/pkgconfig/glewmx.pc
|
2007-08-19 06:22:05 +00:00
|
|
|
%{_includedir}/GL/*.h
|
2008-11-24 19:06:48 +00:00
|
|
|
%doc doc/*
|
2007-08-19 06:22:05 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-05-03 11:56:02 +00:00
|
|
|
* Sat May 3 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.10.0-3
|
|
|
|
- Update config.guess for newer arch support
|
|
|
|
- Modernise spec file
|
|
|
|
|
2013-11-18 00:52:55 +00:00
|
|
|
* Mon Nov 18 2013 Dave Airlie <airlied@redhat.com> - 1.10.0-2
|
|
|
|
- rebuilt for GLEW 1.10
|
|
|
|
|
2013-11-17 08:53:36 +00:00
|
|
|
* Sun Nov 17 2013 Dave Airlie <airlied@redhat.com> 1.10.0-1
|
|
|
|
- glew 1.10.0 + build fix + makefile hacks
|
|
|
|
|
2013-08-03 14:44:40 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-13 23:36:46 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-18 16:47:51 +00:00
|
|
|
* Tue Dec 18 2012 Ville Skyttä <ville.skytta@iki.fi> - 1.9.0-2
|
|
|
|
- Prevent stripping binaries before rpmbuild does it.
|
|
|
|
|
2012-12-13 18:13:02 +00:00
|
|
|
* Thu Dec 13 2012 Adam Jackson <ajax@redhat.com> 1.9.0-1
|
|
|
|
- glew 1.9.0
|
|
|
|
|
2012-07-22 12:15:55 +00:00
|
|
|
* Sun Jul 22 2012 Ville Skyttä <ville.skytta@iki.fi> - 1.7.0-3
|
|
|
|
- Move/add ldconfig post(un)install scriptlets to appropriate subpackages.
|
|
|
|
|
2012-07-19 06:53:45 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-13 16:14:46 +00:00
|
|
|
* Mon Feb 13 2012 Adam Jackson <ajax@redhat.com> 1.7.0-1
|
|
|
|
- glew 1.7.0
|
|
|
|
|
2012-01-13 03:36:03 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-20 19:13:09 +00:00
|
|
|
* Mon Jun 20 2011 Adam Jackson <ajax@redhat.com> 1.6.0-1
|
|
|
|
- glew 1.6.0 (#714763)
|
|
|
|
|
2011-03-24 02:27:02 +00:00
|
|
|
* Wed Mar 23 2011 Adam Williamson <awilliam@redhat.com> - 1.5.8-3
|
|
|
|
- instead of taking flags out in makefile.patch and adding them back
|
|
|
|
in add-needed.patch, let's just not take them out...
|
|
|
|
|
2011-03-23 23:26:28 +00:00
|
|
|
* Wed Mar 23 2011 Adam Jackson <ajax@redhat.com> 1.5.8-2
|
|
|
|
- glew-1.5.8-glewmx.patch: Install libGLEWmx 0755 so autoprovs work
|
|
|
|
- Split runtime libraries to their own packages
|
|
|
|
|
2011-03-23 22:22:28 +00:00
|
|
|
* Wed Mar 23 2011 Adam Williamson <awilliam@redhat.com> - 1.5.8-1
|
|
|
|
- bump to 1.5.8
|
|
|
|
- add soname.patch to fix the internal SONAME of the MX library
|
|
|
|
|
2011-03-23 21:36:37 +00:00
|
|
|
* Wed Mar 23 2011 Adam Williamson <awilliam@redhat.com> - 1.5.7-3
|
|
|
|
- add glewmx.patch (upstream commit 302c224016, always build the
|
|
|
|
MX-enabled version of the library as well as non-MX version, under
|
|
|
|
a different name)
|
|
|
|
- revise add-needed.patch to change the LDFLAGS in a better place
|
|
|
|
and add -lGLU as well as -lX11
|
|
|
|
|
2011-02-09 02:25:00 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-15 05:22:06 +00:00
|
|
|
* Sat Jan 15 2011 Dave Airlie <airlied@redhat.com> 1.5.7-1
|
|
|
|
- glew 1.5.7
|
|
|
|
|
2010-08-25 20:26:18 +00:00
|
|
|
* Wed Aug 25 2010 Adam Jackson <ajax@redhat.com> 1.5.5-1
|
|
|
|
- glew 1.5.5
|
|
|
|
|
2010-07-30 01:10:37 +00:00
|
|
|
* Fri Jul 30 2010 Dave Airlie <airlied@redhat.com> 1.5.4-2
|
|
|
|
- fix glew.pc file as pointed out by David Aguilar
|
|
|
|
|
2010-05-29 08:24:47 +00:00
|
|
|
* Sat May 29 2010 Dave Airlie <airlied@redhat.com> 1.5.4-1
|
|
|
|
- glew 1.5.4 - add glew.pc
|
|
|
|
|
2010-02-09 18:36:41 +00:00
|
|
|
* Tue Feb 09 2010 Adam Jackson <ajax@redhat.com> 1.5.2-2
|
|
|
|
- glew-1.5.2-add-needed.patch: Fix FTBFS from --no-add-needed
|
|
|
|
|
2010-02-02 15:29:01 +00:00
|
|
|
* Tue Feb 02 2010 Adam Jackson <ajax@redhat.com> 1.5.2-1
|
|
|
|
- glew 1.5.2
|
|
|
|
|
2009-07-25 00:18:57 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-24 22:01:47 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-24 19:06:48 +00:00
|
|
|
* Thu Nov 13 2008 Jochen Schmitt <Jochen herr-schmitt de> - 1.5.1-1
|
|
|
|
- New upstream release (#469639)
|
|
|
|
- Fix licenseing issue with developer documentation
|
|
|
|
|
2008-02-19 08:27:58 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-22 11:12:51 +00:00
|
|
|
* Mon Jan 21 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.5.0-1
|
|
|
|
- New upstream version, now SGI licensed stuff free out of the box!
|
|
|
|
- Unfortunately some of the included docs are under a non free license,
|
|
|
|
therefor this package is based on a modified tarbal with these files removed
|
|
|
|
|
2008-01-12 20:58:10 +00:00
|
|
|
* Sat Jan 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-4
|
|
|
|
- Add missing GL_FLOAT_MATXxX defines
|
|
|
|
|
2007-08-19 06:22:05 +00:00
|
|
|
* Sat Aug 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-3
|
|
|
|
- Fix multiple unused direct shlib dependencies in libGLEW.so
|
|
|
|
- Remove the "SGI Free Software License B" and "GLX Public License" tekst from
|
|
|
|
the doc dir in the tarbal
|
|
|
|
- Patch credits.html to no longer refer to the 2 non free licenses, instead it
|
|
|
|
now points to LICENSE-README.fedora
|
|
|
|
- Put API docs in -devel instead of main package
|
|
|
|
|
|
|
|
* Mon Aug 6 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-2
|
|
|
|
- Remove SGI encumbered files to make this ok to go into Fedora
|
|
|
|
- Replace some removed files with (modified) mesa files
|
|
|
|
- Regenerate some of the removed files using the mesa replacemenmt files
|
|
|
|
and the scripts in the auto directory
|
|
|
|
- Readd wglew.h, some programs may need this to compile
|
|
|
|
- Update License tag for new Licensing Guidelines compliance
|
|
|
|
|
|
|
|
* Sun May 06 2007 Ian Chapman <packages@amiga-hardware.com> 1.4.0-1%{?dist}
|
|
|
|
- Updated to 1.4.0
|
|
|
|
|
|
|
|
* Sun Mar 04 2007 Ian Chapman <packages@amiga-hardware.com> 1.3.6-1%{?dist}
|
|
|
|
- Updated to 1.3.6
|
|
|
|
- Updated pathandstrip patch
|
|
|
|
- Dropped xlib patch - fixed upstream
|
|
|
|
- Dropped sed EOL replacements - fixed upstream
|
|
|
|
- Changed license to GPL
|
|
|
|
|
|
|
|
* Fri Dec 01 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.5-1%{?dist}
|
|
|
|
- Updated to 1.3.5
|
|
|
|
- Fixed stripping of the binaries
|
|
|
|
- Reinstate parallel building, no longer appears broken
|
|
|
|
- Removed FC4 specifics from spec (no longer supported)
|
|
|
|
|
|
|
|
* Tue Jun 20 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-3%{?dist}
|
|
|
|
- Added buildrequire macros to determine fc4, fc5, fc6 due to X modularisation
|
|
|
|
|
|
|
|
* Sun Jun 04 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-2%{?dist}
|
|
|
|
- Replaced %%{_sed} macro with sed
|
|
|
|
- Replaced xorg-x11-devel (build)requires with libGLU-devel for compatibility
|
|
|
|
with modular / non-modular X
|
|
|
|
- Replaced source URL to use primary sf site rather than a mirror
|
|
|
|
- Removed superfluous docs from devel package
|
|
|
|
- Removed wglew.h, seems to be only useful for windows platforms
|
|
|
|
|
|
|
|
* Thu May 11 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-1.iss
|
|
|
|
- Initial Release
|