]> git.pld-linux.org Git - packages/freeglut.git/blobdiff - freeglut.spec
- -devel R: xorg-lib-libXi-devel
[packages/freeglut.git] / freeglut.spec
index 52aebf0b6ada7f96a791995c9c6143e8b320167e..1ae03a1afedb32a9a146b012f9977489ed89a252 100644 (file)
@@ -1,21 +1,21 @@
 Summary:       A freely licensed alternative to the GLUT library
 Summary(pl.UTF-8):     Zamiennik biblioteki GLUT na wolnej licencji
 Name:          freeglut
-Version:       2.4.0
+Version:       2.6.0
 Release:       1
 License:       MIT
 Group:         Libraries
-Source0:       http://dl.sourceforge.net/freeglut/%{name}-%{version}.tar.gz
-# Source0-md5: 6d16873bd876fbf4980a927cfbc496a1
-Patch0:                %{name}-gcc4.patch
+Source0:       http://downloads.sourceforge.net/freeglut/%{name}-%{version}.tar.gz
+# Source0-md5: 39f0f2de89f399529d2b981188082218
 URL:           http://freeglut.sourceforge.net/
 BuildRequires: OpenGL-GLU-devel
 BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: xorg-lib-libXext-devel
+BuildRequires: xorg-lib-libXi-devel
 BuildRequires: xorg-lib-libXxf86vm-devel
-Provides:      OpenGL-glut = 3.7
+Provides:      OpenGL-glut = 4.0
 Obsoletes:     glut
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -48,8 +48,9 @@ Group:                Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      OpenGL-GLU-devel
 Requires:      xorg-lib-libXext-devel
+Requires:      xorg-lib-libXi-devel
 Requires:      xorg-lib-libXxf86vm-devel
-Provides:      OpenGL-glut-devel = 3.7
+Provides:      OpenGL-glut-devel = 4.0
 Obsoletes:     glut-devel
 
 %description devel
@@ -63,7 +64,7 @@ Summary:      Static freeglut library
 Summary(pl.UTF-8):     Statyczna biblioteka freeglut
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
-Provides:      OpenGL-glut-static = 3.7
+Provides:      OpenGL-glut-static = 4.0
 Obsoletes:     glut-static
 
 %description static
@@ -74,7 +75,6 @@ Statyczna biblioteka freeglut.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -82,7 +82,8 @@ Statyczna biblioteka freeglut.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       --disable-warnings
 %{__make}
 
 %install
@@ -99,9 +100,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README TODO doc/{freeglut.html,index.html,progress.html,*.png}
+%doc AUTHORS COPYING ChangeLog FrequentlyAskedQuestions NEWS README TODO doc/{freeglut.html,index.html,progress.html,*.png}
 %lang(fr) %doc LISEZ_MOI
 %attr(755,root,root) %{_libdir}/libglut.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libglut.so.3
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.03208 seconds and 4 git commands to generate.