115 lines
3.2 KiB
RPMSpec
115 lines
3.2 KiB
RPMSpec
Name: coin
|
|
Version: 4.0.3
|
|
Release: 1mamba
|
|
Summary: An OpenGL-based, 3D graphics library
|
|
Group: Development/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/coin3d/coin/wiki
|
|
Source: https://github.com/coin3d/coin/releases/download/v%{version}/coin-%{version}-src.tar.gz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
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}
|
|
|
|
%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}
|
|
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 -n coin
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," cfg/config.sub
|
|
|
|
%build
|
|
%configure \
|
|
--disable-debug
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/Coin
|
|
%dir %{_datadir}/Coin/conf
|
|
%{_datadir}/Coin/conf/coin-default.cfg
|
|
%dir %{_datadir}/Coin/draggerDefaults
|
|
%{_datadir}/Coin/draggerDefaults/*
|
|
%dir %{_datadir}/Coin/scxml
|
|
%dir %{_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.*
|
|
%doc AUTHORS COPYING THANKS
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/coin-config
|
|
%{_includedir}/*.h
|
|
%dir %{_includedir}/Inventor
|
|
%{_includedir}/Inventor/*
|
|
%{_libdir}/libCoin.so
|
|
%{_datadir}/aclocal/coin.m4
|
|
%{_mandir}/man1/coin-config.1*
|
|
%{_libdir}/pkgconfig/Coin.pc
|
|
|
|
%changelog
|
|
* Fri Sep 06 2024 Automatic Build System <autodist@openmamba.org> 4.0.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Dec 04 2023 Automatic Build System <autodist@mambasoft.it> 4.0.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Nov 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.1-1mamba
|
|
- update to 4.0.1
|
|
|
|
* 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
|
|
|
|
* Sat Jun 11 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.1.3-1mamba
|
|
- package created using the webbuild interface
|