package created using the webbuild interface [release 8.2.0-1mamba;Tue Dec 03 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 19:09:03 +01:00
parent 0d3f4d0b56
commit 33d3194e76
2 changed files with 93 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# vtk # vtk
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.

91
vtk.spec Normal file
View File

@ -0,0 +1,91 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: vtk
Version: 8.2.0
Release: 1mamba
Summary: Software for manipulating and displaying scientific data
Group: Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://vtk.org/
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: libgcc
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.
%package -n lib%{name}
Group: System/Libraries
Summary: Software for manipulating and displaying scientific data
%description -n lib%{name}
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.
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}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n VTK-%{version}
%build
%cmake -d build \
-DCMAKE_C_FLAGS="%{optflags} -fcommon"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libvtk*-%{majver}.so.*
%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}/*
%doc README.md
%changelog
* Tue Dec 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 8.2.0-1mamba
- package created using the webbuild interface