From 9556e9c6acf0cc3f8c69ed74c40681a8ecb814a7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:09:03 +0100 Subject: [PATCH] rebuilt with -DVTK_VERSIONED_INSTALL=OFF [release 9.1.0-2mamba;Thu Jun 02 2022] --- vtk.spec | 59 ++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 21 deletions(-) diff --git a/vtk.spec b/vtk.spec index 4f5c761..4139517 100644 --- a/vtk.spec +++ b/vtk.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f1-2) Name: vtk -Version: 8.2.0 -Release: 1mamba +Version: 9.1.0 +Release: 2mamba Summary: Software for manipulating and displaying scientific data Group: Applications/Scientific Vendor: openmamba @@ -12,19 +12,16 @@ Source: https://www.vtk.org/files/release/%{majver}/VTK-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -BuildRequires: libICE-devel -BuildRequires: libSM-devel BuildRequires: libX11-devel -BuildRequires: libXext-devel -BuildRequires: libXt-devel +BuildRequires: libXcursor-devel +BuildRequires: libXfixes-devel +BuildRequires: libXrender-devel BuildRequires: libgcc +BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %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. @@ -41,6 +38,7 @@ This package contains shared libraries for %{name}. Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel 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 %setup -q -n VTK-%{version} +#-D -T %build +#:<< _EOF %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 @@ -67,25 +70,39 @@ This package contains libraries and header files for developing applications tha %post -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} %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 %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/vtk-%{majver} -%{_includedir}/vtk-%{majver}/* -%{_libdir}/libvtk*-%{majver}.so -%dir %{_libdir}/cmake/vtk-%{majver} -%dir %{_libdir}/cmake/vtk-%{majver}/Modules -%{_libdir}/cmake/vtk-%{majver}/Modules/vtk*.cmake -%{_libdir}/cmake/vtk-%{majver}/*.cmake -%{_libdir}/cmake/vtk-%{majver}/*.in -%dir %{_datadir}/doc/vtk-%{majver} -%{_datadir}/doc/vtk-%{majver}/* +%dir %{_includedir}/vtk +%{_includedir}/vtk/* +%{_libdir}/libvtk*.so +%dir %{_libdir}/cmake/vtk +%{_libdir}/cmake/vtk/*.cmake +%{_libdir}/cmake/vtk/*.in +%dir %{_libdir}/cmake/vtk/patches +%{_libdir}/cmake/vtk/patches/* %doc README.md %changelog +* Thu Jun 02 2022 Silvan Calarco 9.1.0-2mamba +- rebuilt with -DVTK_VERSIONED_INSTALL=OFF + +* Wed Jun 01 2022 Automatic Build System 9.1.0-1mamba +- automatic version update by autodist + * Tue Dec 03 2019 Silvan Calarco 8.2.0-1mamba - package created using the webbuild interface