From c4470cd7e7b2c66b88322b63ccc0366c53d97266 Mon Sep 17 00:00:00 2001 From: Ercole 'ercolinux' Carpanetto Date: Fri, 5 Jan 2024 18:00:07 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.5.0-1mamba;Sat Jun 11 2016] --- README.md | 2 ++ soqt.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 soqt.spec diff --git a/README.md b/README.md index 55955e3..e31f1f2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # soqt +SoQt provides the glue between Systems in Motion's Coin high-level 3D visualization library and Qt 2D user interface library. + diff --git a/soqt.spec b/soqt.spec new file mode 100644 index 0000000..3e188cc --- /dev/null +++ b/soqt.spec @@ -0,0 +1,89 @@ +Name: soqt +Version: 1.5.0 +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 +License: GPL +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 soqt' to get the list of build requirements. +## 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. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +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 SoQt-%{version} + +%build +%configure --with-coin --disable-html-help --enable-debug=no +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%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 + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libSoQt.so +%{_libdir}/libSoQt.so.20 +%{_libdir}/libSoQt.so.20.5.0 + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/Inventor/Qt/*.h +%{_includedir}/Inventor/Qt/devices/*.h +%{_includedir}/Inventor/Qt/editors/*.h +%{_includedir}/Inventor/Qt/nodes/*.h +%{_includedir}/Inventor/Qt/viewers/*.h +%{_includedir}/Inventor/Qt/widgets/*.h +%{_libdir}/*.la +%{_libdir}/pkgconfig/SoQt.pc +%{_datadir}/Coin/conf/soqt-default.cfg +%{_datadir}/aclocal/soqt.m4 +%doc ChangeLog NEWS README README.IRIX README.MACOSX README.WIN32 + + +%changelog +* Sat Jun 11 2016 Ercole 'ercolinux' Carpanetto 1.5.0-1mamba +- package created using the webbuild interface