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