diff --git a/coin.spec b/coin.spec index 0d8fa58..4f726c5 100644 --- a/coin.spec +++ b/coin.spec @@ -1,19 +1,25 @@ Name: coin -Version: 3.1.3 -Release: 1mamba +Version: 4.0.0 +Release: 2mamba Summary: An OpenGL-based, 3D graphics library Group: Development/Libraries Vendor: openmamba Distribution: openmamba Packager: Ercole 'ercolinux' Carpanetto -URL: https://bitbucket.org/Coin3D/coin/wiki/Home -Source: https://bitbucket.org/Coin3D/coin/downloads/Coin-%{version}.zip +URL: https://github.com/coin3d/coin/wiki +Source: https://github.com/coin3d/coin/archive/Coin-%{version}.zip License: BSD ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 coin' to get the list of build requirements. +BuildRequires: glibc-devel +BuildRequires: libICE-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Coin3D is a high-level, retained-mode toolkit for effective 3D graphics development. It is API compatible with Open Inventor 2.1. @@ -21,6 +27,7 @@ Coin3D is a high-level, retained-mode toolkit for effective 3D graphics developm %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name} This package contains shared libraries for %{name}. @@ -29,20 +36,21 @@ This package contains shared libraries for %{name}. Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -## note: you can add this requirement if .pc files are provided by this package Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. - %debug_package %prep -%setup -q -n Coin-%{version} +%setup -q -n coin-Coin-%{version} +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," cfg/config.sub %build -%configure --disable-debug +%configure \ + --disable-debug + %make %install @@ -57,72 +65,44 @@ This package contains libraries and header files for developing applications tha %files %defattr(-,root,root) -%{_bindir}/coin-config -%{_mandir}/man1/coin-config.1.gz -%doc AUTHORS COPYING THANKS +%{_datadir}/Coin/conf/coin-default.cfg +%{_datadir}/Coin/scxml/navigation/*.xml +%dir %{_datadir}/Coin +%dir %{_datadir}/Coin/draggerDefaults +%{_datadir}/Coin/draggerDefaults/* +%dir %{_datadir}/Coin/scxml +%{_datadir}/Coin/scxml/navigation +%{_datadir}/Coin/scxml/navigation/* +%dir %{_datadir}/Coin/shaders +%dir %{_datadir}/Coin/shaders/lights +%{_datadir}/Coin/shaders/lights/* +%dir %{_datadir}/Coin/shaders/vsm +%{_datadir}/Coin/shaders/vsm/* %files -n lib%{name} %defattr(-,root,root) -%{_libdir}/libCoin.so -%{_libdir}/libCoin.so.60 -%{_libdir}/libCoin.so.60.1.3 -%{_datadir}/Coin/draggerDefaults/*.iv -%{_datadir}/Coin/scxml/navigation/examiner.xml -%{_datadir}/Coin/shaders/lights/*.glsl -%{_datadir}/Coin/shaders/vsm/*.glsl +%{_libdir}/libCoin.so.* +%doc AUTHORS COPYING THANKS %files -n lib%{name}-devel %defattr(-,root,root) -%{_includedir}/Inventor/C/XML/*.h -%{_includedir}/Inventor/C/base/*.h -%{_includedir}/Inventor/C/*.h -%{_includedir}/Inventor/C/errors/*.h -%{_includedir}/Inventor/C/glue/*.h -%{_includedir}/Inventor/C/threads/*.h -%{_includedir}/Inventor/*.h -%{_includedir}/Inventor/VRMLnodes/*.h -%{_includedir}/Inventor/actions/*.h -%{_includedir}/Inventor/annex/FXViz/elements/*.h -%{_includedir}/Inventor/annex/FXViz/nodes/*.h -%{_includedir}/Inventor/annex/ForeignFiles/*.h -%{_includedir}/Inventor/annex/HardCopy/*.h -%{_includedir}/Inventor/annex/Profiler/*.h -%{_includedir}/Inventor/annex/Profiler/elements/*.h -%{_includedir}/Inventor/annex/Profiler/engines/*.h -%{_includedir}/Inventor/annex/Profiler/nodekits/*.h -%{_includedir}/Inventor/annex/Profiler/nodes/*.h -%{_includedir}/Inventor/annex/Profiler/utils/*.h -%{_includedir}/Inventor/bundles/*.h -%{_includedir}/Inventor/caches/*.h -%{_includedir}/Inventor/collision/*.h -%{_includedir}/Inventor/details/*.h -%{_includedir}/Inventor/draggers/*.h -%{_includedir}/Inventor/elements/*.h -%{_includedir}/Inventor/engines/*.h -%{_includedir}/Inventor/errors/*.h -%{_includedir}/Inventor/events/*.h -%{_includedir}/Inventor/fields/*.h -%{_includedir}/Inventor/lists/*.h -%{_includedir}/Inventor/lock/*.h -%{_includedir}/Inventor/manips/*.h -%{_includedir}/Inventor/misc/*.h -%{_includedir}/Inventor/nodekits/*.h -%{_includedir}/Inventor/nodes/*.h -%{_includedir}/Inventor/projectors/*.h -%{_includedir}/Inventor/scxml/*.h -%{_includedir}/Inventor/sensors/*.h -%{_includedir}/Inventor/system/*.h -%{_includedir}/Inventor/threads/*.h -%{_includedir}/Inventor/tools/*.h -%{_includedir}/Inventor/tools/*.hpp +%{_bindir}/coin-config %{_includedir}/*.h +%dir %{_includedir}/Inventor +%{_includedir}/Inventor/* %{_libdir}/libCoin.la -%{_libdir}/pkgconfig/Coin.pc -%{_datadir}/Coin/conf/coin-default.cfg +%{_libdir}/libCoin.so %{_datadir}/aclocal/coin.m4 -%doc ChangeLog NEWS README README.MACOSX README.UNIX README.WIN32 - +%{_mandir}/man1/coin-config.1* +%{_libdir}/pkgconfig/Coin.pc %changelog +* Tue Jun 22 2021 Silvan Calarco 4.0.0-2mamba +- specfile fixes + +* Tue Feb 23 2021 Ercole 'ercolinux' Carpanetto 4.0.0-1mamba +- update to 4.0.0 +- fixed url + * Sat Jun 11 2016 Ercole 'ercolinux' Carpanetto 3.1.3-1mamba - package created using the webbuild interface