Blame SPECS/compat-glew.spec

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