soqt/soqt.spec

102 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: soqt
Version: 1.6.3
Release: 1mamba
Summary: A glue between Coin 3D and QT
Group: Graphical Desktop/Libraries/QT
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/coin3d/soqt
Source: https://github.com/coin3d/soqt.git/v%{version}/soqt-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
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: libcoin-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%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}
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
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_datadir}/SoQt
%dir %{_datadir}/SoQt/materials
%{_datadir}/SoQt/materials/*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libSoQt.so.*
%doc AUTHORS COPYING
%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}/libSoQt.so
%dir %{_libdir}/cmake/SoQt-%{version}
%{_libdir}/cmake/SoQt-1.6.3/soqt-*.cmake
%{_libdir}/pkgconfig/SoQt.pc
%doc ChangeLog NEWS README
%changelog
* Mon Nov 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.3-1mamba
- update to 1.6.3
* Sat Jun 11 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.5.0-1mamba
- package created using the webbuild interface