forked from pool/freeglut
- Update to 3.2.1:
* Various fixes around the place that happened since last release - Fetch the glut manpages from web to point them somewhere OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/freeglut?expand=0&rev=25
This commit is contained in:
parent
70493c2517
commit
6b67e5fe90
@ -1,5 +1,3 @@
|
|||||||
libglut3
|
libglut3
|
||||||
freeglut-devel
|
freeglut-devel
|
||||||
requires -freeglut-<targettype>
|
|
||||||
requires "libglut3-<targettype> = <version>"
|
requires "libglut3-<targettype> = <version>"
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2
|
|
||||||
size 419095
|
|
3
freeglut-3.2.1.tar.gz
Normal file
3
freeglut-3.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
|
||||||
|
size 440228
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 9 08:04:16 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.2.1:
|
||||||
|
* Various fixes around the place that happened since last release
|
||||||
|
- Fetch the glut manpages from web to point them somewhere
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 13 13:12:11 UTC 2015 - tchvatal@suse.com
|
Fri Mar 13 13:12:11 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package freeglut
|
# spec file for package freeglut
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,20 +12,19 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _libname libglut3
|
%define _libname libglut3
|
||||||
Name: freeglut
|
Name: freeglut
|
||||||
Version: 3.0.0
|
Version: 3.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Freely licensed alternative to the GLUT library
|
Summary: Freely licensed alternative to the GLUT library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/Libraries
|
URL: http://freeglut.sourceforge.net/
|
||||||
Url: http://freeglut.sourceforge.net/
|
|
||||||
Source: https://downloads.sourceforge.net/project/freeglut/%{name}/%{version}/%{name}-%{version}.tar.gz
|
Source: https://downloads.sourceforge.net/project/freeglut/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: glutman.tar.bz2
|
Source1: https://downloads.sourceforge.net/openglut/openglut-0.6.3-doc.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -39,7 +38,6 @@ BuildRequires: pkgconfig(xxf86vm)
|
|||||||
Recommends: Mesa-demo-x
|
Recommends: Mesa-demo-x
|
||||||
Provides: mesaglut = 7.11
|
Provides: mesaglut = 7.11
|
||||||
Obsoletes: mesaglut < 7.11
|
Obsoletes: mesaglut < 7.11
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Freeglut is a completely open source alternative to the OpenGL Utility
|
Freeglut is a completely open source alternative to the OpenGL Utility
|
||||||
@ -52,11 +50,10 @@ GLUT (and freeglut) allow the user to create and manage windows
|
|||||||
containing OpenGL contexts and also read the mouse, keyboard, and
|
containing OpenGL contexts and also read the mouse, keyboard, and
|
||||||
joystick functions on a wide range of platforms.
|
joystick functions on a wide range of platforms.
|
||||||
|
|
||||||
%package -n %_libname
|
%package -n %{_libname}
|
||||||
Summary: Freely licensed alternative to the GLUT library
|
Summary: Freely licensed alternative to the GLUT library
|
||||||
Group: Development/Libraries/X11
|
|
||||||
|
|
||||||
%description -n %_libname
|
%description -n %{_libname}
|
||||||
Freeglut is a completely open source alternative to the OpenGL Utility
|
Freeglut is a completely open source alternative to the OpenGL Utility
|
||||||
Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to
|
Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to
|
||||||
support the sample programs in the second edition OpenGL Redbook. Since
|
support the sample programs in the second edition OpenGL Redbook. Since
|
||||||
@ -69,8 +66,7 @@ joystick functions on a wide range of platforms.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development libraries, includes and man pages for freeglut (GLUT Library)
|
Summary: Development libraries, includes and man pages for freeglut (GLUT Library)
|
||||||
Group: Development/Libraries/X11
|
Requires: %{_libname} = %{version}
|
||||||
Requires: %_libname = %{version}
|
|
||||||
Requires: pkgconfig(gl)
|
Requires: pkgconfig(gl)
|
||||||
Requires: pkgconfig(glu)
|
Requires: pkgconfig(glu)
|
||||||
Provides: mesaglut-devel = 7.11
|
Provides: mesaglut-devel = 7.11
|
||||||
@ -95,7 +91,6 @@ joystick functions on a wide range of platforms.
|
|||||||
|
|
||||||
%package demo
|
%package demo
|
||||||
Summary: Demonstration applications for the freeglut library
|
Summary: Demonstration applications for the freeglut library
|
||||||
Group: System/X11/Utilities
|
|
||||||
|
|
||||||
%description demo
|
%description demo
|
||||||
This package contains demonstration applications for the freeglut library.
|
This package contains demonstration applications for the freeglut library.
|
||||||
@ -111,12 +106,12 @@ containing OpenGL contexts and also read the mouse, keyboard, and
|
|||||||
joystick functions on a wide range of platforms.
|
joystick functions on a wide range of platforms.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -b0 -b1
|
%setup -q -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
-DFREEGLUT_BUILD_STATIC_LIBS=OFF
|
-DFREEGLUT_BUILD_STATIC_LIBS=OFF
|
||||||
make %{?_smp_mflags}
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
@ -129,30 +124,27 @@ for i in *; do
|
|||||||
done
|
done
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
# old glut Manual Pages
|
# glut manpages
|
||||||
mkdir -p %{buildroot}/%{_mandir}/man3
|
mkdir -p %{buildroot}/%{_mandir}/man3
|
||||||
for i in ../glut-3.7/man/glut/glut*; do
|
install -p -m 644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3
|
||||||
install -m 644 $i %{buildroot}/%{_mandir}/man3/`basename $i man`3
|
|
||||||
done
|
|
||||||
|
|
||||||
%post -n %_libname -p /sbin/ldconfig
|
%post -n %{_libname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{_libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %_libname -p /sbin/ldconfig
|
%files -n %{_libname}
|
||||||
|
%license COPYING
|
||||||
%files -n %_libname
|
%doc AUTHORS README
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS COPYING README
|
|
||||||
%{_libdir}/libglut.so.*
|
%{_libdir}/libglut.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/GL
|
%{_includedir}/GL
|
||||||
%{_libdir}/libglut.so
|
%{_libdir}/libglut.so
|
||||||
%{_libdir}/pkgconfig/freeglut.pc
|
%{_libdir}/pkgconfig/glut.pc
|
||||||
|
%dir %{_libdir}/cmake/FreeGLUT
|
||||||
|
%{_libdir}/cmake/FreeGLUT/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libexecdir}/freeglut
|
%{_libexecdir}/freeglut
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6446f630843eccadff2a8bd96c58845bb119006e7c7b441326c7edcde28edf9b
|
|
||||||
size 37531
|
|
BIN
openglut-0.6.3-doc.tar.gz
(Stored with Git LFS)
Normal file
BIN
openglut-0.6.3-doc.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user