source: projects/specs/trunk/f/freeglut/freeglut-vl.spec @ 3153

Revision 3153, 7.2 KB checked in by Takemikaduchi, 13 years ago (diff)

freeglut: add BR and Patch, others: rebuild with perl-5.12.3

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