summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2024-02-09 22:13:23 (GMT)
committerJakub Bogusz2024-02-09 22:13:23 (GMT)
commit34dc79b9913bd47884e83d342bd32df7c68cf952 (patch)
treea2be566c527a185c8e1e0e1a672ece50d554adc5
parentab598284c8d005444252bb23875a8c85ba0f4f8e (diff)
downloadCoin-master.zip
Coin-master.tar.gz
-rw-r--r--Coin-link.patch8
-rw-r--r--Coin.spec16
2 files changed, 7 insertions, 17 deletions
diff --git a/Coin-link.patch b/Coin-link.patch
index 0e184bf..fbab515 100644
--- a/Coin-link.patch
+++ b/Coin-link.patch
@@ -1,13 +1,5 @@
--- coin/CMakeLists.txt.orig 2019-12-23 20:47:43.000000000 +0100
+++ coin/CMakeLists.txt 2020-11-30 21:32:23.759864515 +0100
-@@ -531,6 +531,7 @@
- check_library_exists(dl dlopen "" HAVE_DL_LIB)
- if(HAVE_DL_LIB)
- check_include_file(dlfcn.h HAVE_DLFCN_H)
-+ list(APPEND COIN_TARGET_LINK_LIBRARIES dl)
- endif()
- check_library_exists(dld shl_load "" HAVE_DLD_LIB)
- endif()
@@ -591,6 +592,7 @@
#include <GL/glx.h>
int main() { (void)glXChooseVisual(0L, 0, 0L); glEnd(); return 0; }
diff --git a/Coin.spec b/Coin.spec
index 16aaa76..0771196 100644
--- a/Coin.spec
+++ b/Coin.spec
@@ -6,12 +6,12 @@
Summary: High-level, retained-mode toolkit for effective 3D graphics development
Summary(pl.UTF-8): Wysokopoziomowy toolkit do efektywnego rozwijania grafiki 3D
Name: Coin
-Version: 4.0.0
+Version: 4.0.2
Release: 1
License: BSD
Group: X11/Libraries
-Source0: https://github.com/coin3d/coin/releases/download/%{name}-%{version}/%{name}-%{version}-src.tar.gz
-# Source0-md5: 2377d11b38c8eddd92d8bb240f5bf4ee
+Source0: https://github.com/coin3d/coin/releases/download/v%{version}/coin-%{version}-src.tar.gz
+# Source0-md5: 1dd89262e2e9e44a046e803515387bdf
Patch0: %{name}-link.patch
URL: https://github.com/coin3d/coin/wiki
BuildRequires: OpenAL-devel
@@ -45,8 +45,8 @@ Summary: Header files for Coin3D library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Coin3D
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
-Obsoletes: openinventor-devel
-Obsoletes: sgi-OpenInventor-devel
+Obsoletes: openinventor-devel < 2.2
+Obsoletes: sgi-OpenInventor-devel < 2.2
%description devel
Header files for Coin3D library.
@@ -140,10 +140,8 @@ cp -p man/man1/coin-config.1 $RPM_BUILD_ROOT%{_mandir}/man1
# packaged as %doc
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/html
# too generic names, not public API etc.
-%{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/{JS*,SpiderMonkey_t,VRMLnodes,XML,_*_,[a-z]*}.3
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/{_*_,[a-z]*}.3
%endif
-# bogus location
-%{__rm} -r $RPM_BUILD_ROOT%{_infodir}/Coin4
%clean
rm -rf $RPM_BUILD_ROOT
@@ -153,7 +151,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog FAQ FAQ.legal NEWS README README.UNIX RELNOTES THANKS
+%doc AUTHORS COPYING ChangeLog FAQ FAQ.legal NEWS README.UNIX README.md RELNOTES THANKS
%attr(755,root,root) %{_libdir}/libCoin.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libCoin.so.80
%{_datadir}/%{name}