Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 26e96b7fe9 | |||
| f9ddacfc61 | |||
| 1c4b839406 | |||
| 3c1bae60e2 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf8fb80e3e0ce11d87dd78dd15a0de872dbb8972d87f5f89cffc461efad47be8
|
||||
size 302547
|
||||
3
OpenCSG-1.8.1.tar.gz
Normal file
3
OpenCSG-1.8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:afcc004a89ed3bc478a9e4ba39b20f3d589b24e23e275b7383f91a590d4d57c5
|
||||
size 305467
|
||||
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 23 12:00:00 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Remove unneeded build dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 15 13:47:24 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.8.1:
|
||||
* Make the recently added GLSL vertex shader call also work with
|
||||
OpenGL versions 2.0 and 2.1.
|
||||
* Revert a change that solved some z-artifacts with Nouveau on
|
||||
Linux, but that triggered a different kind of rendering error
|
||||
on MacOS X.
|
||||
* Resolve an error in the CMake configuration.
|
||||
- Use cmake for build.
|
||||
- Drop dependency on freeglut: used only for example, which we do
|
||||
not build.
|
||||
- Purge specfile of lingering glew references.
|
||||
- Add BuildRequires: pkgconfig(gl) for ARM archs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 9 05:42:04 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
|
||||
28
opencsg.spec
28
opencsg.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package opencsg
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,18 +17,17 @@
|
||||
|
||||
|
||||
Name: opencsg
|
||||
Version: 1.6.0
|
||||
Version: 1.8.1
|
||||
Release: 0
|
||||
Summary: Constructive Solid Geometry rendering library
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://www.opencsg.org/
|
||||
Source: https://www.opencsg.org/OpenCSG-%{version}.tar.gz
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libXmu-devel
|
||||
BuildRequires: libqt5-qtbase-common-devel
|
||||
BuildRequires: libqt5-qtbase-devel
|
||||
BuildRequires: pkgconfig(gl)
|
||||
|
||||
%description
|
||||
OpenCSG is a library that does image-based Constructive Solid
|
||||
@@ -55,8 +54,6 @@ This package contains the documentation for opencsg.
|
||||
%package devel
|
||||
Summary: Development files for opencsg, a CSG rendering library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: freeglut-devel
|
||||
Requires: glew-devel
|
||||
Requires: libopencsg1 = %{version}
|
||||
|
||||
%description devel
|
||||
@@ -68,24 +65,15 @@ applications that want to make use of opencsg.
|
||||
|
||||
%prep
|
||||
%setup -q -n OpenCSG-%{version}
|
||||
# use system glew
|
||||
rm -rf glew
|
||||
|
||||
%build
|
||||
# do not build glew and examples
|
||||
cd src
|
||||
# rpath is evil
|
||||
sed -i 's@-Wl,-rpath,\.\./lib@@' Makefile
|
||||
%qmake5
|
||||
%make_build
|
||||
%cmake -DBUILD_EXAMPLE:BOOL=OFF
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_prefix}
|
||||
mv include %{buildroot}%{_includedir}
|
||||
mv lib %{buildroot}%{_libdir}
|
||||
%cmake_install
|
||||
|
||||
%post -n libopencsg1 -p /sbin/ldconfig
|
||||
%postun -n libopencsg1 -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n libopencsg1
|
||||
|
||||
%files -n libopencsg1
|
||||
%license copying.txt doc/license/gpl-3.0.txt doc/license/gpl-2.0.txt
|
||||
|
||||
Reference in New Issue
Block a user