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

Revision 9365, 7.5 KB checked in by inagaki, 9 years ago (diff)

2015-02-20 Ryoichi INAGAKI <ryo1@…>

  • eblook, gtranslator, rpmver: rebuilt
  • elfutils, freeglut: updated


Line 
1Name:      freeglut
2Version:   2.8.1
3Release:   1%{?_dist_release}
4Summary:   A freely licensed alternative to the GLUT library
5Summary(ja): 自由なライセンスで提供される GLUT ライブラリ
6
7URL:       http://freeglut.sourceforge.net
8License:   MIT
9Group:     System Environment/Libraries
10
11Source0:   http://sourceforge.net/projects/freeglut/files/%{name}-%{version}.tar.gz
12
13# patch from Fedora
14Patch0: freeglut-2.8.0-fixld.patch
15Patch1: freeglut-glextconflict.patch
16Patch2: freeglut-2.8.0-fixXInput.patch
17Patch3: freeglut-2.8.0-btnmask.patch
18
19BuildRoot: %{_tmppath}/%{name}-%{version}-root
20BuildRequires: pkgconfig
21BuildRequires: libXext-devel
22BuildRequires: libXxf86vm-devel
23BuildRequires: mesa-libGLU-devel
24BuildRequires: libXi-devel
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.
30Provides: glut = 3.7
31Obsoletes: glut <= 3.7
32
33Vendor: Project Vine
34Distribution: Vine Linux
35
36%description
37freeglut is a completely open source alternative to the OpenGL Utility Toolkit
38(GLUT) library with an OSI approved free software license. GLUT was originally
39written by Mark Kilgard to support the sample programs in the second edition
40OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical
41applications because it is simple, universally available and highly portable.
42
43freeglut allows the user to create and manage windows containing OpenGL
44contexts on a wide range of platforms and also read the mouse, keyboard and
45joystick functions.
46
47%package devel
48Summary: freeglut developmental libraries and header files
49Summary(ja): freeglut の開発用ファイル
50Group: Development/Libraries
51Requires: %{name} = %{version}-%{release}
52Requires: mesa-libGL-devel
53Requires: mesa-libGLU-devel
54Provides: glut-devel = 3.7
55Obsoletes: glut-devel <= 3.7
56
57%description devel
58Developmental libraries and header files required for developing or compiling
59software which links to the freeglut library, which is an open source
60alternative to the popular GLUT library, with an OSI approved free software
61license.
62
63%prep
64%setup -q
65%patch0 -p1 -b .fixld
66%patch1 -p1 -b .noxwarn
67
68%build
69%configure --disable-static --disable-warnings
70make %{?_smp_mflags}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74
75make install DESTDIR=$RPM_BUILD_ROOT
76chmod 644 doc/*.{html,png}
77
78rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84
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
98
99%changelog
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
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
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
113* Sun Mar 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
114- new upstream release
115- dropt static libraries
116
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.
Note: See TracBrowser for help on using the repository browser.