specfile fixes [release 4.0.0-2mamba;Tue Jun 22 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:28:16 +01:00
parent 983c00675f
commit 82a8006e6f

112
coin.spec
View File

@ -1,19 +1,25 @@
Name: coin Name: coin
Version: 3.1.3 Version: 4.0.0
Release: 1mamba Release: 2mamba
Summary: An OpenGL-based, 3D graphics library Summary: An OpenGL-based, 3D graphics library
Group: Development/Libraries Group: Development/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: https://bitbucket.org/Coin3D/coin/wiki/Home URL: https://github.com/coin3d/coin/wiki
Source: https://bitbucket.org/Coin3D/coin/downloads/Coin-%{version}.zip Source: https://github.com/coin3d/coin/archive/Coin-%{version}.zip
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 coin' to get the list of build requirements. 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 ## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Coin3D is a high-level, retained-mode toolkit for effective 3D graphics development. It is API compatible with Open Inventor 2.1. Coin3D is a high-level, retained-mode toolkit for effective 3D graphics development. It is API compatible with Open Inventor 2.1.
@ -21,6 +27,7 @@ Coin3D is a high-level, retained-mode toolkit for effective 3D graphics developm
%package -n lib%{name} %package -n lib%{name}
Group: System/Libraries Group: System/Libraries
Summary: Shared libraries for %{name} Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name} %description -n lib%{name}
This package contains shared libraries for %{name}. This package contains shared libraries for %{name}.
@ -29,20 +36,21 @@ This package contains shared libraries for %{name}.
Group: Development/Libraries Group: Development/Libraries
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
Requires: pkg-config Requires: pkg-config
%description -n lib%{name}-devel %description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}. This package contains libraries and header files for developing applications that use %{name}.
%debug_package %debug_package
%prep %prep
%setup -q -n Coin-%{version} %setup -q -n coin-Coin-%{version}
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," cfg/config.sub
%build %build
%configure --disable-debug %configure \
--disable-debug
%make %make
%install %install
@ -57,72 +65,44 @@ This package contains libraries and header files for developing applications tha
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/coin-config %{_datadir}/Coin/conf/coin-default.cfg
%{_mandir}/man1/coin-config.1.gz %{_datadir}/Coin/scxml/navigation/*.xml
%doc AUTHORS COPYING THANKS %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} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libCoin.so %{_libdir}/libCoin.so.*
%{_libdir}/libCoin.so.60 %doc AUTHORS COPYING THANKS
%{_libdir}/libCoin.so.60.1.3
%{_datadir}/Coin/draggerDefaults/*.iv
%{_datadir}/Coin/scxml/navigation/examiner.xml
%{_datadir}/Coin/shaders/lights/*.glsl
%{_datadir}/Coin/shaders/vsm/*.glsl
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/Inventor/C/XML/*.h %{_bindir}/coin-config
%{_includedir}/Inventor/C/base/*.h
%{_includedir}/Inventor/C/*.h
%{_includedir}/Inventor/C/errors/*.h
%{_includedir}/Inventor/C/glue/*.h
%{_includedir}/Inventor/C/threads/*.h
%{_includedir}/Inventor/*.h
%{_includedir}/Inventor/VRMLnodes/*.h
%{_includedir}/Inventor/actions/*.h
%{_includedir}/Inventor/annex/FXViz/elements/*.h
%{_includedir}/Inventor/annex/FXViz/nodes/*.h
%{_includedir}/Inventor/annex/ForeignFiles/*.h
%{_includedir}/Inventor/annex/HardCopy/*.h
%{_includedir}/Inventor/annex/Profiler/*.h
%{_includedir}/Inventor/annex/Profiler/elements/*.h
%{_includedir}/Inventor/annex/Profiler/engines/*.h
%{_includedir}/Inventor/annex/Profiler/nodekits/*.h
%{_includedir}/Inventor/annex/Profiler/nodes/*.h
%{_includedir}/Inventor/annex/Profiler/utils/*.h
%{_includedir}/Inventor/bundles/*.h
%{_includedir}/Inventor/caches/*.h
%{_includedir}/Inventor/collision/*.h
%{_includedir}/Inventor/details/*.h
%{_includedir}/Inventor/draggers/*.h
%{_includedir}/Inventor/elements/*.h
%{_includedir}/Inventor/engines/*.h
%{_includedir}/Inventor/errors/*.h
%{_includedir}/Inventor/events/*.h
%{_includedir}/Inventor/fields/*.h
%{_includedir}/Inventor/lists/*.h
%{_includedir}/Inventor/lock/*.h
%{_includedir}/Inventor/manips/*.h
%{_includedir}/Inventor/misc/*.h
%{_includedir}/Inventor/nodekits/*.h
%{_includedir}/Inventor/nodes/*.h
%{_includedir}/Inventor/projectors/*.h
%{_includedir}/Inventor/scxml/*.h
%{_includedir}/Inventor/sensors/*.h
%{_includedir}/Inventor/system/*.h
%{_includedir}/Inventor/threads/*.h
%{_includedir}/Inventor/tools/*.h
%{_includedir}/Inventor/tools/*.hpp
%{_includedir}/*.h %{_includedir}/*.h
%dir %{_includedir}/Inventor
%{_includedir}/Inventor/*
%{_libdir}/libCoin.la %{_libdir}/libCoin.la
%{_libdir}/pkgconfig/Coin.pc %{_libdir}/libCoin.so
%{_datadir}/Coin/conf/coin-default.cfg
%{_datadir}/aclocal/coin.m4 %{_datadir}/aclocal/coin.m4
%doc ChangeLog NEWS README README.MACOSX README.UNIX README.WIN32 %{_mandir}/man1/coin-config.1*
%{_libdir}/pkgconfig/Coin.pc
%changelog %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 * Sat Jun 11 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.1.3-1mamba
- package created using the webbuild interface - package created using the webbuild interface