109 lines
3.0 KiB
RPMSpec
109 lines
3.0 KiB
RPMSpec
Name: coin
|
|
Version: 4.0.0
|
|
Release: 2mamba
|
|
Summary: An OpenGL-based, 3D graphics library
|
|
Group: Development/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
|
URL: https://github.com/coin3d/coin/wiki
|
|
Source: https://github.com/coin3d/coin/archive/Coin-%{version}.zip
|
|
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-Coin-%{version}
|
|
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}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_datadir}/Coin/conf/coin-default.cfg
|
|
%{_datadir}/Coin/scxml/navigation/*.xml
|
|
%dir %{_datadir}/Coin
|
|
%dir %{_datadir}/Coin/draggerDefaults
|
|
%{_datadir}/Coin/draggerDefaults/*
|
|
%dir %{_datadir}/Coin/scxml
|
|
%{_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.la
|
|
%{_libdir}/libCoin.so
|
|
%{_datadir}/aclocal/coin.m4
|
|
%{_mandir}/man1/coin-config.1*
|
|
%{_libdir}/pkgconfig/Coin.pc
|
|
|
|
%changelog
|
|
* 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
|