diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-30 12:47:49 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-30 12:47:49 +0000 |
commit | ff51b2407f0764a41b78d921cf8b80d7f864a5ba (patch) | |
tree | a5b2465275e9a1770b8d955795066f946ca66d57 | |
parent | 5c2e5707713ce6a16b4c2e3eaa19908ca342f2a8 (diff) |
automatic import of freeglutopeneuler24.03_LTS
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | freeglut.spec | 82 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 86 insertions, 0 deletions
@@ -0,0 +1,2 @@ +/freeglut-3.6.0.tar.gz +/openglut-0.6.3-doc.tar.gz diff --git a/freeglut.spec b/freeglut.spec new file mode 100644 index 0000000..5d080b9 --- /dev/null +++ b/freeglut.spec @@ -0,0 +1,82 @@ +Name: freeglut +Version: 3.6.0 +Release: 1 +Summary: A freely licensed alternative to the GLUT library +License: MIT +URL: http://freeglut.sourceforge.net +Source0: https://github.com/freeglut/freeglut/releases/download/v%{version}/%{name}-%{version}.tar.gz +Source1: https://downloads.sourceforge.net/openglut/openglut-0.6.3-doc.tar.gz + +BuildRequires: gcc +BuildRequires: cmake >= 3.1 +BuildRequires: libGLU-devel +BuildRequires: libXi-devel +BuildRequires: libX11-devel +Provides: glut = 3.7 +Obsoletes: glut < 3.7 + +%description +Freeglut is a free-software/open-source alternative to the OpenGL Utility +Toolkit (GLUT) library. GLUT was originally written to support the sample +programs in the second edition OpenGL 'RedBook'. Since then, GLUT has been used +in a wide variety of practical applications because it is simple, widely +available and highly portable. + +%package devel +Summary: Freeglut developmental libraries and header files +Requires: %{name} = %{version}-%{release} +Provides: glut-devel = 3.7 +Obsoletes: glut-devel < 3.7 + +%description devel +This package provides developmental libraries and header files required for +developing or compilingsoftware which links to the freeglut library. + +%package help +Summary: Help information and man pages for freeglut + +%description help +This package privides man-pages and involved help info for freeglut + +%prep +%autosetup -n %{name}-%{version} -a 1 -p1 + +%build +%cmake -DFREEGLUT_BUILD_STATIC_LIBS=OFF +%cmake_build + +%install +%cmake_install +install -d $RPM_BUILD_ROOT/%{_mandir}/man3 +install -p -m 644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3 + +%files +%license COPYING +%doc AUTHORS ChangeLog +%{_libdir}/libglut.so.3* + +%files devel +%{_includedir}/GL/*.h +%{_libdir}/libglut.so +%{_libdir}/pkgconfig/glut.pc +%{_libdir}/cmake/FreeGLUT/* + +%files help +%{_mandir}/man3/* +%doc README.md doc/html/*.png doc/html/*.html + +%changelog +* Tue Jul 30 2024 Funda Wang <fundawang@yeah.net> - 3.6.0-1 +- update to 3.6.0 + +* Sun Feb 18 2024 wangkai <13474090681@163.com> - 3.4.0-2 +- Fix CVE-2024-24258 and CVE-2024-24259 + +* Tue Oct 17 2023 wangkai <13474090681@163.com> - 3.4.0-1 +- Update to 3.4.0 + +* Fri Jul 30 2021 linjiaxin5 <linjiaxin5@huawei.com> - 3.0.0-11 +- Fix failure caused by GCC upgrade to 10 + +* Fri Nov 22 2019 sunguoshuai <sunguoshuai@huawei.com> - 3.0.0-10 +- Package init. @@ -0,0 +1,2 @@ +1a1c4712b3100f49f5dea22a1ad57c34 freeglut-3.6.0.tar.gz +cf6c3e8cd7711e2b75ff8d7950ac2f97 openglut-0.6.3-doc.tar.gz |