|
@@ -2,7 +2,7 @@ Name: freeglut
|
|
|
Summary: A freely licensed alternative to the GLUT library
|
|
|
Summary(ja): 自由なライセンスで提供される GLUT ライブラリ
|
|
|
Version: 2.6.0
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
|
|
|
URL: http://freeglut.sourceforge.net
|
|
|
License: MIT
|
|
@@ -10,9 +10,14 @@ Group: System Environment/Libraries
|
|
|
|
|
|
Source0: http://sourceforge.net/projects/freeglut/files/%{name}-%{version}.tar.gz
|
|
|
|
|
|
+# patch from Fedora
|
|
|
+Patch0: freeglut-2.6.0-fixld.patch
|
|
|
+Patch1: freeglut-2.6.0-noxwarn.patch
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: pkgconfig
|
|
|
BuildRequires: libXext-devel, libXxf86vm-devel, mesa-libGLU-devel
|
|
|
+BuildRequires: libXi-devel
|
|
|
# The virtual Provides below is present so that this freeglut package is a
|
|
|
# drop in binary replacement for "glut" which will satisfy rpm dependancies
|
|
|
# properly. The Obsoletes tag is required in order for any pre-existing
|
|
@@ -53,6 +58,8 @@ license.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
+%patch0 -p1 -b .fixld
|
|
|
+%patch1 -p1 -b .noxwarn
|
|
|
|
|
|
%build
|
|
|
%configure --disable-static --disable-warnings
|
|
@@ -87,6 +94,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/libglut.so
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-2
|
|
|
+- add BuildRequires: libXi-devel
|
|
|
+- add Patch0 (freeglut-2.6.0-fixld.patch)
|
|
|
+- add Patch1 (freeglut-2.6.0-noxwarn.patch)
|
|
|
+
|
|
|
* Sun Mar 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
|
|
|
- new upstream release
|
|
|
- dropt static libraries
|