2024-01-05 21:28:16 +01:00
|
|
|
Name: coin
|
2024-01-05 21:28:16 +01:00
|
|
|
Version: 4.0.1
|
|
|
|
Release: 1mamba
|
2024-01-05 21:28:16 +01:00
|
|
|
Summary: An OpenGL-based, 3D graphics library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 21:28:16 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:28:16 +01:00
|
|
|
URL: https://github.com/coin3d/coin/wiki
|
2024-01-05 21:28:16 +01:00
|
|
|
Source: https://github.com/coin3d/coin/releases/download/v%{version}/coin-%{version}-src.tar.gz
|
2024-01-05 21:28:16 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 21:28:16 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglvnd-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 21:28:16 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Coin3D is a high-level, retained-mode toolkit for effective 3D graphics development. It is API compatible with Open Inventor 2.1.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
2024-01-05 21:28:16 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 21:28:16 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 21:28:16 +01:00
|
|
|
%setup -q -n coin
|
2024-01-05 21:28:16 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," cfg/config.sub
|
2024-01-05 21:28:16 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:28:16 +01:00
|
|
|
%configure \
|
|
|
|
--disable-debug
|
|
|
|
|
2024-01-05 21:28:16 +01:00
|
|
|
%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)
|
2024-01-05 21:28:16 +01:00
|
|
|
%dir %{_datadir}/Coin
|
2024-01-05 21:28:16 +01:00
|
|
|
%dir %{_datadir}/Coin/conf
|
|
|
|
%{_datadir}/Coin/conf/coin-default.cfg
|
2024-01-05 21:28:16 +01:00
|
|
|
%dir %{_datadir}/Coin/draggerDefaults
|
|
|
|
%{_datadir}/Coin/draggerDefaults/*
|
|
|
|
%dir %{_datadir}/Coin/scxml
|
2024-01-05 21:28:16 +01:00
|
|
|
%dir %{_datadir}/Coin/scxml/navigation
|
2024-01-05 21:28:16 +01:00
|
|
|
%{_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/*
|
2024-01-05 21:28:16 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:28:16 +01:00
|
|
|
%{_libdir}/libCoin.so.*
|
|
|
|
%doc AUTHORS COPYING THANKS
|
2024-01-05 21:28:16 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:28:16 +01:00
|
|
|
%{_bindir}/coin-config
|
2024-01-05 21:28:16 +01:00
|
|
|
%{_includedir}/*.h
|
2024-01-05 21:28:16 +01:00
|
|
|
%dir %{_includedir}/Inventor
|
|
|
|
%{_includedir}/Inventor/*
|
|
|
|
%{_libdir}/libCoin.so
|
2024-01-05 21:28:16 +01:00
|
|
|
%{_datadir}/aclocal/coin.m4
|
2024-01-05 21:28:16 +01:00
|
|
|
%{_mandir}/man1/coin-config.1*
|
|
|
|
%{_libdir}/pkgconfig/Coin.pc
|
2024-01-05 21:28:16 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:28:16 +01:00
|
|
|
* Wed Nov 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.1-1mamba
|
|
|
|
- update to 4.0.1
|
|
|
|
|
2024-01-05 21:28:16 +01:00
|
|
|
* Tue Jun 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-2mamba
|
|
|
|
- specfile fixes
|
|
|
|
|
|
|
|
* Tue Feb 23 2021 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 4.0.0-1mamba
|
|
|
|
- update to 4.0.0
|
|
|
|
- fixed url
|
|
|
|
|
2024-01-05 21:28:16 +01:00
|
|
|
* Sat Jun 11 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.1.3-1mamba
|
|
|
|
- package created using the webbuild interface
|