|
@@ -1,8 +1,8 @@
|
|
Name: freeglut
|
|
Name: freeglut
|
|
Summary: A freely licensed alternative to the GLUT library
|
|
Summary: A freely licensed alternative to the GLUT library
|
|
Summary(ja): 自由なライセンスで提供される GLUT ライブラリ
|
|
Summary(ja): 自由なライセンスで提供される GLUT ライブラリ
|
|
-Version: 2.6.0
|
|
+Version: 2.8.0
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
URL: http://freeglut.sourceforge.net
|
|
URL: http://freeglut.sourceforge.net
|
|
License: MIT
|
|
License: MIT
|
|
@@ -11,8 +11,10 @@ Group: System Environment/Libraries
|
|
Source0: http://sourceforge.net/projects/freeglut/files/%{name}-%{version}.tar.gz
|
|
Source0: http://sourceforge.net/projects/freeglut/files/%{name}-%{version}.tar.gz
|
|
|
|
|
|
# patch from Fedora
|
|
# patch from Fedora
|
|
-Patch0: freeglut-2.6.0-fixld.patch
|
|
+Patch0: freeglut-2.8.0-fixld.patch
|
|
-Patch1: freeglut-2.6.0-noxwarn.patch
|
|
+Patch1: freeglut-glextconflict.patch
|
|
|
|
+Patch2: freeglut-2.8.0-fixXInput.patch
|
|
|
|
+Patch3: freeglut-2.8.0-btnmask.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig
|
|
@@ -63,7 +65,7 @@ license.
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure --disable-static --disable-warnings
|
|
%configure --disable-static --disable-warnings
|
|
-make
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -71,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
chmod 644 doc/*.{html,png}
|
|
chmod 644 doc/*.{html,png}
|
|
|
|
|
|
-rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{a,la}
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -89,11 +91,14 @@ rm -rf $RPM_BUILD_ROOT
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%{_includedir}/GL/*.h
|
|
%{_includedir}/GL/*.h
|
|
-#{_libdir}/libglut*.a
|
|
|
|
-#{_libdir}/libglut*.la
|
|
|
|
%{_libdir}/libglut.so
|
|
%{_libdir}/libglut.so
|
|
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Nov 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-1
|
|
|
|
+- update to 2.8.0
|
|
|
|
+- build with mesa-9.0
|
|
|
|
+
|
|
* Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-2
|
|
* Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-2
|
|
- add BuildRequires: libXi-devel
|
|
- add BuildRequires: libXi-devel
|
|
- add Patch0 (freeglut-2.6.0-fixld.patch)
|
|
- add Patch0 (freeglut-2.6.0-fixld.patch)
|