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