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

Revision 3034, 6.9 KB checked in by inagaki, 13 years ago (diff)

update: gcc, libtool, freeglut

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