[3034] | 1 | Name: freeglut |
---|
[9365] | 2 | Version: 2.8.1 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[521] | 4 | Summary: A freely licensed alternative to the GLUT library |
---|
| 5 | Summary(ja): 自由なライセンスで提供される GLUT ライブラリ |
---|
[3034] | 6 | |
---|
[521] | 7 | URL: http://freeglut.sourceforge.net |
---|
| 8 | License: MIT |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | |
---|
[3034] | 11 | Source0: http://sourceforge.net/projects/freeglut/files/%{name}-%{version}.tar.gz |
---|
| 12 | |
---|
[3153] | 13 | # patch from Fedora |
---|
[7138] | 14 | Patch0: freeglut-2.8.0-fixld.patch |
---|
| 15 | Patch1: freeglut-glextconflict.patch |
---|
| 16 | Patch2: freeglut-2.8.0-fixXInput.patch |
---|
| 17 | Patch3: freeglut-2.8.0-btnmask.patch |
---|
[3153] | 18 | |
---|
[521] | 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | BuildRequires: pkgconfig |
---|
[9365] | 21 | BuildRequires: libXext-devel |
---|
| 22 | BuildRequires: libXxf86vm-devel |
---|
| 23 | BuildRequires: mesa-libGLU-devel |
---|
[3153] | 24 | BuildRequires: libXi-devel |
---|
[521] | 25 | # The virtual Provides below is present so that this freeglut package is a |
---|
| 26 | # drop in binary replacement for "glut" which will satisfy rpm dependancies |
---|
| 27 | # properly. The Obsoletes tag is required in order for any pre-existing |
---|
| 28 | # "glut" package to be removed and replaced with freeglut when upgrading to |
---|
| 29 | # freeglut. Note: This package will NOT co-exist with the glut package. |
---|
| 30 | Provides: glut = 3.7 |
---|
| 31 | Obsoletes: glut <= 3.7 |
---|
| 32 | |
---|
[9365] | 33 | Vendor: Project Vine |
---|
| 34 | Distribution: Vine Linux |
---|
[521] | 35 | |
---|
| 36 | %description |
---|
| 37 | freeglut is a completely open source alternative to the OpenGL Utility Toolkit |
---|
| 38 | (GLUT) library with an OSI approved free software license. GLUT was originally |
---|
| 39 | written by Mark Kilgard to support the sample programs in the second edition |
---|
| 40 | OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical |
---|
| 41 | applications because it is simple, universally available and highly portable. |
---|
| 42 | |
---|
| 43 | freeglut allows the user to create and manage windows containing OpenGL |
---|
| 44 | contexts on a wide range of platforms and also read the mouse, keyboard and |
---|
| 45 | joystick functions. |
---|
| 46 | |
---|
| 47 | %package devel |
---|
| 48 | Summary: freeglut developmental libraries and header files |
---|
[3034] | 49 | Summary(ja): freeglut の開発用ファイル |
---|
[521] | 50 | Group: Development/Libraries |
---|
| 51 | Requires: %{name} = %{version}-%{release} |
---|
[3034] | 52 | Requires: mesa-libGL-devel |
---|
| 53 | Requires: mesa-libGLU-devel |
---|
[521] | 54 | Provides: glut-devel = 3.7 |
---|
| 55 | Obsoletes: glut-devel <= 3.7 |
---|
| 56 | |
---|
| 57 | %description devel |
---|
| 58 | Developmental libraries and header files required for developing or compiling |
---|
| 59 | software which links to the freeglut library, which is an open source |
---|
| 60 | alternative to the popular GLUT library, with an OSI approved free software |
---|
| 61 | license. |
---|
| 62 | |
---|
| 63 | %prep |
---|
| 64 | %setup -q |
---|
[3153] | 65 | %patch0 -p1 -b .fixld |
---|
| 66 | %patch1 -p1 -b .noxwarn |
---|
[521] | 67 | |
---|
| 68 | %build |
---|
[3034] | 69 | %configure --disable-static --disable-warnings |
---|
[7138] | 70 | make %{?_smp_mflags} |
---|
[521] | 71 | |
---|
| 72 | %install |
---|
| 73 | rm -rf $RPM_BUILD_ROOT |
---|
[3034] | 74 | |
---|
| 75 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 76 | chmod 644 doc/*.{html,png} |
---|
| 77 | |
---|
[9365] | 78 | rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la |
---|
[3034] | 79 | |
---|
[521] | 80 | %clean |
---|
| 81 | rm -rf $RPM_BUILD_ROOT |
---|
| 82 | |
---|
| 83 | %post -p /sbin/ldconfig |
---|
[3034] | 84 | |
---|
[521] | 85 | %postun -p /sbin/ldconfig |
---|
| 86 | |
---|
| 87 | %files |
---|
| 88 | %defattr(-,root,root,-) |
---|
| 89 | %doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO doc/*.png doc/*.html |
---|
| 90 | # don't include contents of doc/ directory as it is mostly obsolete |
---|
| 91 | %{_libdir}/libglut*.so.* |
---|
| 92 | |
---|
| 93 | %files devel |
---|
| 94 | %defattr(-,root,root,-) |
---|
| 95 | %{_includedir}/GL/*.h |
---|
| 96 | %{_libdir}/libglut.so |
---|
| 97 | |
---|
[7138] | 98 | |
---|
[521] | 99 | %changelog |
---|
[9365] | 100 | * Fri Feb 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.8.1-1 |
---|
| 101 | - new upstream release |
---|
| 102 | - built with mesa 10.4.4 |
---|
| 103 | |
---|
[7138] | 104 | * Wed Nov 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-1 |
---|
| 105 | - update to 2.8.0 |
---|
| 106 | - build with mesa-9.0 |
---|
| 107 | |
---|
[3153] | 108 | * Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-2 |
---|
| 109 | - add BuildRequires: libXi-devel |
---|
| 110 | - add Patch0 (freeglut-2.6.0-fixld.patch) |
---|
| 111 | - add Patch1 (freeglut-2.6.0-noxwarn.patch) |
---|
| 112 | |
---|
[3034] | 113 | * Sun Mar 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1 |
---|
| 114 | - new upstream release |
---|
| 115 | - dropt static libraries |
---|
| 116 | |
---|
[521] | 117 | * Fri Sep 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-6 |
---|
| 118 | - rebuild with mesa-7.1 |
---|
| 119 | |
---|
| 120 | * Thu May 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-5 |
---|
| 121 | - new versioning policy |
---|
| 122 | |
---|
| 123 | * Fri Jan 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-4vl2 |
---|
| 124 | - build with xorg-x11-7.3 and mesa-7.0.2 |
---|
| 125 | |
---|
| 126 | * Sun Sep 03 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.0-4vl1 |
---|
| 127 | - imported from Fedora Core 5 |
---|
| 128 | |
---|
| 129 | * Tue Feb 21 2006 Karsten Hopp <karsten@redhat.de> 2.4.0-4 |
---|
| 130 | - BuildRequires: libGLU-devel |
---|
| 131 | |
---|
| 132 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.4.0-3.2 |
---|
| 133 | - bump again for double-long bug on ppc(64) |
---|
| 134 | |
---|
| 135 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.4.0-3.1 |
---|
| 136 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 137 | |
---|
| 138 | * Tue Jan 31 2006 Mike A. Harris <mharris@redhat.com> 2.4.0-3 |
---|
| 139 | - Added "Requires: libGL-devel libGLU-devel" to fix bug (#179464) |
---|
| 140 | - Change file based GL header build dep to BuildRequires: libGL-devel |
---|
| 141 | |
---|
| 142 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 2.4.0-2.1 |
---|
| 143 | - rebuilt |
---|
| 144 | |
---|
| 145 | * Fri Nov 18 2005 Bill Nottingham <notting@redhat.com> 2.4.0-2 |
---|
| 146 | - Remove references to obsolete /usr/X11R6 paths |
---|
| 147 | |
---|
| 148 | * Fri Sep 23 2005 Mike A. Harris <mharris@redhat.com> 2.4.0-1 |
---|
| 149 | - Updated to freeglut-2.4.0 |
---|
| 150 | - Removed unneeded patches: |
---|
| 151 | - freeglut-2.2.0-gcc4-fix-invalid-lvalue-in-assignment-cvsps-392-393.patch |
---|
| 152 | - Use "-p /sbin/ldconfig" in post/postun scripts instead of a separate script. |
---|
| 153 | |
---|
| 154 | * Sat Mar 5 2005 Mike A. Harris <mharris@redhat.com> 2.2.0-16 |
---|
| 155 | - Added freeglut-2.2.0-gcc4-fix-invalid-lvalue-in-assignment-cvsps-392-393.patch |
---|
| 156 | to fix "invalid lvalue in assignment" bugs reported by gcc 4 |
---|
| 157 | - Added "-Wall" to CFLAGS in specfile. |
---|
| 158 | |
---|
| 159 | * Thu Mar 3 2005 Mike A. Harris <mharris@redhat.com> 2.2.0-15 |
---|
| 160 | - Rebuild with gcc 4 for FC4 development |
---|
| 161 | |
---|
| 162 | * Sat Aug 14 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-14 |
---|
| 163 | - Add post and postun scripts that call ldconfig (#128413) |
---|
| 164 | |
---|
| 165 | * Fri Jun 18 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-13 |
---|
| 166 | - Rebuilt with gcc 3.4 for FC3 development |
---|
| 167 | |
---|
| 168 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 2.2.0-12 |
---|
| 169 | - rebuilt |
---|
| 170 | |
---|
| 171 | * Thu Mar 18 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-11 |
---|
| 172 | - Updated "Obsoletes: glut" to be "Obsoletes: glut <= 3.7" and |
---|
| 173 | "Obsoletes: glut-devel" to be "Obsoletes: glut-devel <= 3.7" as per |
---|
| 174 | suggestion from Matthias Saou in comment #14 of bug (#107228) |
---|
| 175 | |
---|
| 176 | * Sun Mar 7 2004 Mike A. Harris <mharris@redhat.com> |
---|
| 177 | - Made "glut-devel" virtual provides be "glut-devel = 3.7" |
---|
| 178 | |
---|
| 179 | * Sun Mar 7 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-10 |
---|
| 180 | - Initial Red Hat packaging created by taking the ATrpms src.rpm package from |
---|
| 181 | http://tinyurl.com/2goog as suggested in bugzilla bug (#107228) |
---|
| 182 | - Bumped the Release field to "10" so our package is newer when people |
---|
| 183 | upgrade to it, as requested in bug (#107228) |
---|
| 184 | - Removed redundant version/release macros from top of specfile |
---|
| 185 | - Versioned buildroot directory |
---|
| 186 | - Add --enable-warnings arg to ./configure script |
---|
| 187 | - Add HTML documentation to main package |
---|
| 188 | - Made "glut" virtual provides be "glut = 3.7" |
---|
| 189 | - Do not include *.la files |
---|
| 190 | |
---|
| 191 | * Sat Feb 21 2004 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> 2.2.0 |
---|
| 192 | - Added glut compatibility provides. |
---|
| 193 | - Moved *.so to devel package. |
---|
| 194 | |
---|
| 195 | * Tue Jan 13 2004 Andy Piper <andy.piper@freeuk.com> |
---|
| 196 | - updated to freeglut-2.2.0 |
---|
| 197 | - fixed library install |
---|
| 198 | |
---|
| 199 | * Fri Nov 14 2003 Andy Piper <andy.piper@freeuk.com> |
---|
| 200 | - updated for freeglut-2.0.1 |
---|
| 201 | |
---|
| 202 | * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
---|
| 203 | - rebuilt |
---|
| 204 | |
---|
| 205 | * Tue Jun 3 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.3 |
---|
| 206 | - Add BuildRequires on /sbin/ldconfig |
---|
| 207 | - Change ldconfig call to explicit /sbin/ldconfig |
---|
| 208 | |
---|
| 209 | * Sun Jun 1 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.2 |
---|
| 210 | - Oddly, when I build this on my workstation, it only builds static libs, but |
---|
| 211 | when I build it in the buildsystem it builds shared and static libs. Must |
---|
| 212 | be a twilight zone thing going on. Add shared libs to file lists. |
---|
| 213 | |
---|
| 214 | * Sat May 31 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.1 |
---|
| 215 | - Added -L/usr/X11R6/%{_lib} configure script invocation and CFLAGS so lib64 |
---|
| 216 | is treated properly on x86_64/ppc64/s390x architectures |
---|
| 217 | |
---|
| 218 | * Fri May 30 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.0 |
---|
| 219 | - Initial build. |
---|