diff --git a/README.md b/README.md index 73e9386..44b8053 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # coin60 +Coin3D is a high-level, retained-mode toolkit for effective 3D graphics development. It is API compatible with Open Inventor 2.1. + diff --git a/coin60.spec b/coin60.spec new file mode 100644 index 0000000..a767092 --- /dev/null +++ b/coin60.spec @@ -0,0 +1,94 @@ +Name: coin60 +Version: 3.1.3 +Release: 2mamba +Summary: An OpenGL-based, 3D graphics library +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://coin3d.bitbucket.io/Coin/ +Source: https://bitbucket.org/Coin3D/coin/downloads/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} + +%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: %{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-%{version} + +%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) +%{_bindir}/coin-config +%{_datadir}/Coin/conf/coin-default.cfg +%{_datadir}/Coin/draggerDefaults/*.iv +%{_datadir}/Coin/scxml/navigation/examiner.xml +%{_datadir}/Coin/shaders/lights/*.glsl +%{_datadir}/Coin/shaders/vsm/*.glsl +%{_mandir}/man1/coin-config.1* + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libCoin.so.* +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/*.h +%dir %{_includedir}/Inventor +%{_includedir}/Inventor/* +%{_libdir}/libCoin.la +%{_libdir}/libCoin.so +%{_datadir}/aclocal/coin.m4 +%{_libdir}/pkgconfig/Coin.pc +%doc THANKS ChangeLog NEWS README README.UNIX + +%changelog +* Tue Jun 22 2021 Silvan Calarco 3.1.3-2mamba +- legacy package + +* Sat Jun 11 2016 Ercole 'ercolinux' Carpanetto 3.1.3-1mamba +- package created using the webbuild interface