Blame SPECS/glew.spec

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