diff --git a/soqt.spec b/soqt.spec index 3e188cc..5585e9e 100644 --- a/soqt.spec +++ b/soqt.spec @@ -1,21 +1,34 @@ Name: soqt -Version: 1.5.0 +Version: 1.6.3 Release: 1mamba Summary: A glue between Coin 3D and QT Group: Graphical Desktop/Libraries/QT Vendor: openmamba Distribution: openmamba -Packager: Ercole 'ercolinux' Carpanetto -URL: https://bitbucket.org/Coin3D/coin/wiki/Home -Source: https://bitbucket.org/Coin3D/coin/downloads/SoQt-%{version}.zip +Packager: Silvan Calarco +URL: https://github.com/coin3d/soqt +Source: https://github.com/coin3d/soqt.git/v%{version}/soqt-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 soqt' to get the list of build requirements. +BuildRequires: glibc-devel +BuildRequires: libICE-devel +BuildRequires: libQt6Core +BuildRequires: libQt6Gui +BuildRequires: libQt6OpenGL +BuildRequires: libQt6Widgets +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libcoin-devel +BuildRequires: libgcc +BuildRequires: libglu-devel +BuildRequires: libglvnd-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt6-qtbase-devel ## AUTOBUILDREQ-END -BuildRequires: coin BuildRequires: libcoin-devel Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description SoQt provides the glue between Systems in Motion's Coin high-level 3D visualization library and Qt 2D user interface library. @@ -23,6 +36,7 @@ SoQt provides the glue between Systems in Motion's Coin high-level 3D visualizat %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}. @@ -31,43 +45,39 @@ 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 +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 SoQt-%{version} +%setup -q %build -%configure --with-coin --disable-html-help --enable-debug=no +%cmake -d build + %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -n lib%{name} -p /sbin/ldconfig -%postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) -%{_bindir}/soqt-config -%{_mandir}/man1/soqt-config.1.gz -%doc AUTHORS COPYING +%dir %{_datadir}/SoQt +%dir %{_datadir}/SoQt/materials +%{_datadir}/SoQt/materials/* %files -n lib%{name} %defattr(-,root,root) -%{_libdir}/libSoQt.so -%{_libdir}/libSoQt.so.20 -%{_libdir}/libSoQt.so.20.5.0 +%{_libdir}/libSoQt.so.* +%doc AUTHORS COPYING %files -n lib%{name}-devel %defattr(-,root,root) @@ -77,13 +87,15 @@ This package contains libraries and header files for developing applications tha %{_includedir}/Inventor/Qt/nodes/*.h %{_includedir}/Inventor/Qt/viewers/*.h %{_includedir}/Inventor/Qt/widgets/*.h -%{_libdir}/*.la +%{_libdir}/libSoQt.so +%dir %{_libdir}/cmake/SoQt-%{version} +%{_libdir}/cmake/SoQt-1.6.3/soqt-*.cmake %{_libdir}/pkgconfig/SoQt.pc -%{_datadir}/Coin/conf/soqt-default.cfg -%{_datadir}/aclocal/soqt.m4 -%doc ChangeLog NEWS README README.IRIX README.MACOSX README.WIN32 - +%doc ChangeLog NEWS README %changelog +* Mon Nov 18 2024 Silvan Calarco 1.6.3-1mamba +- update to 1.6.3 + * Sat Jun 11 2016 Ercole 'ercolinux' Carpanetto 1.5.0-1mamba - package created using the webbuild interface