rebuilt with -DVTK_VERSIONED_INSTALL=OFF [release 9.1.0-2mamba;Thu Jun 02 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 19:09:03 +01:00
parent 33d3194e76
commit 9556e9c6ac

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: vtk Name: vtk
Version: 8.2.0 Version: 9.1.0
Release: 1mamba Release: 2mamba
Summary: Software for manipulating and displaying scientific data Summary: Software for manipulating and displaying scientific data
Group: Applications/Scientific Group: Applications/Scientific
Vendor: openmamba Vendor: openmamba
@ -12,19 +12,16 @@ Source: https://www.vtk.org/files/release/%{majver}/VTK-%{version}.tar.gz
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libXext-devel BuildRequires: libXcursor-devel
BuildRequires: libXt-devel BuildRequires: libXfixes-devel
BuildRequires: libXrender-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The Visualization Toolkit (VTK) is open source software for manipulating and displaying scientific data. It comes with state-of-the-art tools for 3D rendering, a suite of widgets for 3D interaction, and extensive 2D plotting capability. The Visualization Toolkit (VTK) is open source software for manipulating and displaying scientific data. It comes with state-of-the-art tools for 3D rendering, a suite of widgets for 3D interaction, and extensive 2D plotting capability.
@ -41,6 +38,7 @@ 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}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%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}.
@ -50,10 +48,15 @@ This package contains libraries and header files for developing applications tha
%prep %prep
%setup -q -n VTK-%{version} %setup -q -n VTK-%{version}
#-D -T
%build %build
#:<< _EOF
%cmake -d build \ %cmake -d build \
-DCMAKE_C_FLAGS="%{optflags} -fcommon" -DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DINCLUDE_INSTALL_DIR=include \
-DCMAKE_C_FLAGS="%{optflags} -fcommon" \
-DVTK_VERSIONED_INSTALL=OFF
%make %make
@ -67,25 +70,39 @@ This package contains libraries and header files for developing applications tha
%post -n lib%{name} -p /sbin/ldconfig %post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig
%files -n %{name}
%defattr(-,root,root)
%{_bindir}/vtk*
%dir %{_datadir}/licenses/VTK
%{_datadir}/licenses/VTK/*
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libvtk*-%{majver}.so.* %{_libdir}/libvtk*.so.*
%dir %{_libdir}/vtk
%dir %{_libdir}/vtk/hierarchy
%dir %{_libdir}/vtk/hierarchy/VTK
%{_libdir}/vtk/hierarchy/VTK/*
%doc Copyright.txt %doc Copyright.txt
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/vtk-%{majver} %dir %{_includedir}/vtk
%{_includedir}/vtk-%{majver}/* %{_includedir}/vtk/*
%{_libdir}/libvtk*-%{majver}.so %{_libdir}/libvtk*.so
%dir %{_libdir}/cmake/vtk-%{majver} %dir %{_libdir}/cmake/vtk
%dir %{_libdir}/cmake/vtk-%{majver}/Modules %{_libdir}/cmake/vtk/*.cmake
%{_libdir}/cmake/vtk-%{majver}/Modules/vtk*.cmake %{_libdir}/cmake/vtk/*.in
%{_libdir}/cmake/vtk-%{majver}/*.cmake %dir %{_libdir}/cmake/vtk/patches
%{_libdir}/cmake/vtk-%{majver}/*.in %{_libdir}/cmake/vtk/patches/*
%dir %{_datadir}/doc/vtk-%{majver}
%{_datadir}/doc/vtk-%{majver}/*
%doc README.md %doc README.md
%changelog %changelog
* Thu Jun 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 9.1.0-2mamba
- rebuilt with -DVTK_VERSIONED_INSTALL=OFF
* Wed Jun 01 2022 Automatic Build System <autodist@mambasoft.it> 9.1.0-1mamba
- automatic version update by autodist
* Tue Dec 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 8.2.0-1mamba * Tue Dec 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 8.2.0-1mamba
- package created using the webbuild interface - package created using the webbuild interface