Blame SPECS/freeglut.spec

2188f3
Summary:        A freely licensed alternative to the GLUT library
2188f3
Name:           freeglut
2188f3
Version:        2.8.1
2cd030
Release:        3%{?dist}
2188f3
URL:            http://freeglut.sourceforge.net
2188f3
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
2188f3
# For the manpages
2188f3
Source1:        http://downloads.sourceforge.net/openglut/openglut-0.6.3-doc.tar.gz
2188f3
License:        MIT
2188f3
Group:          System Environment/Libraries
2188f3
2188f3
BuildRequires:  pkgconfig libGLU-devel libXext-devel libXxf86vm-devel
2188f3
BuildRequires:  libXi-devel libICE-devel
2188f3
# The virtual Provides below is present so that this freeglut package is a
2188f3
# drop in binary replacement for "glut" which will satisfy rpm dependancies
2188f3
# properly.  The Obsoletes tag is required in order for any pre-existing
2188f3
# "glut" package to be removed and replaced with freeglut when upgrading to
2188f3
# freeglut.  Note: This package will NOT co-exist with the glut package.
2188f3
Provides:       glut = 3.7
2188f3
Obsoletes:      glut < 3.7
2188f3
2188f3
%description
2188f3
freeglut is a completely open source alternative to the OpenGL Utility Toolkit
2188f3
(GLUT) library with an OSI approved free software license. GLUT was originally
2188f3
written by Mark Kilgard to support the sample programs in the second edition
2188f3
OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical
2188f3
applications because it is simple, universally available and highly portable.
2188f3
2188f3
freeglut allows the user to create and manage windows containing OpenGL
2188f3
contexts on a wide range of platforms and also read the mouse, keyboard and
2188f3
joystick functions.
2188f3
2188f3
2188f3
%package devel
2188f3
Summary:        Freeglut developmental libraries and header files
2188f3
Group:          Development/Libraries
2188f3
Requires:       %{name} = %{version}-%{release}
2188f3
Requires:       libGL-devel libGLU-devel
2188f3
Provides:       glut-devel = 3.7
2188f3
Obsoletes:      glut-devel < 3.7
2188f3
2188f3
%description devel
2188f3
Developmental libraries and header files required for developing or compiling
2188f3
software which links to the freeglut library, which is an open source
2188f3
alternative to the popular GLUT library, with an OSI approved free software
2188f3
license.
2188f3
2188f3
2188f3
%prep
2188f3
%setup -q -a 1
2188f3
2188f3
%build
2188f3
# --disable-warnings -> don't add -Werror to CFLAGS
2188f3
%configure --disable-static --disable-warnings
2188f3
make %{?_smp_mflags}
2188f3
2188f3
2188f3
%install
2188f3
make install DESTDIR=$RPM_BUILD_ROOT
2188f3
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
2188f3
2188f3
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3
2188f3
install -p -m 644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3
2188f3
2188f3
2188f3
%post -p /sbin/ldconfig
2188f3
%postun -p /sbin/ldconfig
2188f3
2188f3
2188f3
%files
2188f3
%defattr(-,root,root,-)
2188f3
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO doc/*.png doc/*.html
2188f3
# don't include contents of doc/ directory as it is mostly obsolete
2188f3
%{_libdir}/libglut*.so.*
2188f3
2188f3
%files devel
2188f3
%defattr(-,root,root,-)
2188f3
%{_includedir}/GL/*.h
2188f3
%{_libdir}/libglut.so
2188f3
%{_mandir}/man3/*
2188f3
2188f3
2188f3
%changelog
2cd030
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.8.1-3
2cd030
- Mass rebuild 2014-01-24
2cd030
2cd030
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.8.1-2
2cd030
- Mass rebuild 2013-12-27
2cd030
2188f3
* Mon Apr 08 2013 Tomas Smetana <tsmetana@redhat.com> - 2.8.1-1
2188f3
- fix #948696: new upstream bugfix release, drop patches
2188f3
- fix #925363: aarch64 support
2188f3
2188f3
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-8
2188f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2188f3
2188f3
* Mon Aug 27 2012 Tomas Smetana <tsmetana@redhat.com> - 2.8.0-7
2188f3
- fix mapping from XInput to the X button mask in the bug #831336 patch
2188f3
2188f3
* Wed Aug 15 2012 Tomas Smetana <tsmetana@redhat.com> - 2.8.0-6
2188f3
- fix #831336: fix broken menus; patch backported from upstream SVN revision
2188f3
  1375 by Manfred Spraul
2188f3
2188f3
* Fri Aug  3 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 2.8.0-5
2188f3
- Add patch to fix FTBFS
2188f3
2188f3
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-4
2188f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2188f3
2188f3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-3
2188f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2188f3
2188f3
* Tue Jan 03 2012 Tomas Smetana <tsmetana@redhat.com> - 2.8.0-2
2188f3
- fix patch0 for the new release
2188f3
2188f3
* Tue Jan 03 2012 Tomas Smetana <tsmetana@redhat.com> - 2.8.0-1
2188f3
- New upstream release
2188f3
2188f3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-6
2188f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2188f3
2188f3
* Mon May 31 2010 Tomas Smetana <tsmetana@redhat.com> 2.6.0-5
2188f3
- fix #575885, #575885 - suppress the "Unknown X event type" warnings
2188f3
2188f3
* Fri May  7 2010 Josh Boyer <jwboyer@gmail.com> 2.6.0-4
2188f3
- Add -lm to fix ppc build
2188f3
2188f3
* Mon Feb 15 2010 Tomas Smetana <tsmetana@redhat.com> 2.6.0-3
2188f3
- the patch for #565178 was incomplete
2188f3
2188f3
* Mon Feb 15 2010 Tomas Smetana <tsmetana@redhat.com> 2.6.0-2
2188f3
- fix #565178: fix building of the examples
2188f3
2188f3
* Sat Nov 28 2009 Tomas Smetana <tsmetana@redhat.com> 2.6.0-1
2188f3
- update to 2.6.0 final
2188f3
2188f3
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-0.2.rc1
2188f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2188f3
2188f3
* Tue Apr 21 2009 Hans de Goede <hdegoede@redhat.com> 2.6.0-0.1.rc1
2188f3
- New upstream release (yes really!) 2.6.0-rc1
2188f3
2188f3
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-16
2188f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2188f3
2188f3
* Thu Jan 22 2009 Tomas Smetana <tsmetana@redhat.com> - 2.4.0-15
2188f3
- fix #481049 - rebuild to pick up %%{_isa} provides
2188f3
2188f3
* Mon Mar 17 2008 Jesse Keating <jkeating@redhat.com> - 2.4.0-14
2188f3
- Prevent package from obsoleting itself with matching Provides/Obsoletes.
2188f3
2188f3
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.4.0-13
2188f3
- Autorebuild for GCC 4.3
2188f3
2188f3
* Tue Dec 11 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.4.0-12
2188f3
- Add manpages to the -devel package (from openglut, bz 409651)
2188f3
2188f3
* Sun Mar 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.4.0-11
2188f3
- Minor specfile cleanups
2188f3
- Add a patch from gentoo to stop flightgear from crashing
2188f3
2188f3
* Mon Aug 27 2006 Michael J. Knox <michael[AT]knox.net.nz> - 2.4.0-10
2188f3
- Rebuild for FC6
2188f3
2188f3
* Wed Jul 26 2006 Michael J. Knox <michael[AT]knox.net.nz> - 2.4.0-9
2188f3
- disblaed static build
2188f3
- dropped unneeded requires
2188f3
- dropped the glib cruff passed to make
2188f3
2188f3
* Wed Jul 26 2006 Michael J. Knox <michael[AT]knox.net.nz> - 2.4.0-8
2188f3
- clean ups to shut rpmlint up
2188f3
2188f3
* Fri Jul 21 2006 Mike A. Harris <mharris@redhat.com> - 2.4.0-7.fc6
2188f3
- Use {?dist} tag in release field
2188f3
- Update BuildRoot to comply with Fedora packaging guidelines
2188f3
2188f3
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 2.4.0-6
2188f3
- rebuild
2188f3
- Try to build w/out glib
2188f3
2188f3
* Fri May 19 2006 Mike A. Harris <mharris@redhat.com> 2.4.0-5
2188f3
- Added "BuildRequires: libXext-devel, libXxf86vm-devel" for (#192255)
2188f3
2188f3
* Tue Feb 21 2006 Karsten Hopp <karsten@redhat.de> 2.4.0-4
2188f3
- BuildRequires: libGLU-devel
2188f3
2188f3
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 2.4.0-3.2
2188f3
- bump again for double-long bug on ppc(64)
2188f3
2188f3
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 2.4.0-3.1
2188f3
- rebuilt for new gcc4.1 snapshot and glibc changes
2188f3
2188f3
* Tue Jan 31 2006 Mike A. Harris <mharris@redhat.com> 2.4.0-3
2188f3
- Added "Requires: libGL-devel libGLU-devel" to fix bug (#179464)
2188f3
- Change file based GL header build dep to BuildRequires: libGL-devel
2188f3
2188f3
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 2.4.0-2.1
2188f3
- rebuilt
2188f3
2188f3
* Fri Nov 18 2005 Bill Nottingham <notting@redhat.com> 2.4.0-2
2188f3
- Remove references to obsolete /usr/X11R6 paths
2188f3
2188f3
* Fri Sep 23 2005 Mike A. Harris <mharris@redhat.com> 2.4.0-1
2188f3
- Updated to freeglut-2.4.0
2188f3
- Removed unneeded patches:
2188f3
  - freeglut-2.2.0-gcc4-fix-invalid-lvalue-in-assignment-cvsps-392-393.patch
2188f3
- Use "-p /sbin/ldconfig" in post/postun scripts instead of a separate script.
2188f3
2188f3
* Sat Mar 05 2005 Mike A. Harris <mharris@redhat.com> 2.2.0-16
2188f3
- Added freeglut-2.2.0-gcc4-fix-invalid-lvalue-in-assignment-cvsps-392-393.patch
2188f3
  to fix "invalid lvalue in assignment" bugs reported by gcc 4
2188f3
- Added "-Wall" to CFLAGS in specfile.
2188f3
2188f3
* Thu Mar 03 2005 Mike A. Harris <mharris@redhat.com> 2.2.0-15
2188f3
- Rebuild with gcc 4 for FC4 development
2188f3
2188f3
* Sat Aug 14 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-14
2188f3
- Add post and postun scripts that call ldconfig (#128413)
2188f3
2188f3
* Fri Jun 18 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-13
2188f3
- Rebuilt with gcc 3.4 for FC3 development
2188f3
2188f3
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 2.2.0-12
2188f3
- rebuilt
2188f3
2188f3
* Thu Mar 18 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-11
2188f3
- Updated "Obsoletes: glut" to be "Obsoletes: glut <= 3.7" and
2188f3
  "Obsoletes: glut-devel" to be "Obsoletes: glut-devel <= 3.7" as per
2188f3
  suggestion from Matthias Saou in comment #14 of bug (#107228)
2188f3
2188f3
* Sun Mar 07 2004 Mike A. Harris <mharris@redhat.com>
2188f3
- Made "glut-devel" virtual provides be "glut-devel = 3.7"
2188f3
2188f3
* Sun Mar 07 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-10
2188f3
- Initial Red Hat packaging created by taking the ATrpms src.rpm package from
2188f3
  http://tinyurl.com/2goog as suggested in bugzilla bug (#107228)
2188f3
- Bumped the Release field to "10" so our package is newer when people
2188f3
  upgrade to it, as requested in bug (#107228)
2188f3
- Removed redundant version/release macros from top of specfile
2188f3
- Versioned buildroot directory
2188f3
- Add --enable-warnings arg to ./configure script
2188f3
- Add HTML documentation to main package
2188f3
- Made "glut" virtual provides be "glut = 3.7"
2188f3
- Do not include *.la files
2188f3
2188f3
* Sat Feb 21 2004 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> 2.2.0
2188f3
- Added glut compatibility provides.
2188f3
- Moved *.so to devel package.
2188f3
2188f3
* Tue Jan 13 2004 Andy Piper <andy.piper@freeuk.com>
2188f3
- updated to freeglut-2.2.0
2188f3
- fixed library install
2188f3
2188f3
* Fri Nov 14 2003 Andy Piper <andy.piper@freeuk.com>
2188f3
- updated for freeglut-2.0.1
2188f3
2188f3
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
2188f3
- rebuilt
2188f3
2188f3
* Tue Jun 03 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.3
2188f3
- Add BuildRequires on /sbin/ldconfig
2188f3
- Change ldconfig call to explicit /sbin/ldconfig
2188f3
2188f3
* Sun Jun 01 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.2
2188f3
- Oddly, when I build this on my workstation, it only builds static libs, but
2188f3
  when I build it in the buildsystem it builds shared and static libs.  Must
2188f3
  be a twilight zone thing going on.  Add shared libs to file lists.
2188f3
2188f3
* Sat May 31 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.1
2188f3
- Added -L/usr/X11R6/%%{_lib} configure script invocation and CFLAGS so lib64
2188f3
  is treated properly on x86_64/ppc64/s390x architectures
2188f3
  
2188f3
* Fri May 30 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.0
2188f3
- Initial build.