1
0

Accepting request 820999 from home:badshah400:branches:science

- Add insighttoolkit-drop-netlib-triangle-files.patch: Drop netlib
  triangle files and any linking to them due to licensing issues;
  patch from upstream [gh#InsightSoftwareConsortium/ITK#1913].

OBS-URL: https://build.opensuse.org/request/show/820999
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/insighttoolkit?expand=0&rev=23
This commit is contained in:
Martin Pluskal 2020-07-16 11:52:52 +00:00 committed by Git OBS Bridge
parent 85caa88428
commit 26ab465c13
3 changed files with 20047 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 14 22:09:20 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Add insighttoolkit-drop-netlib-triangle-files.patch: Drop netlib
triangle files and any linking to them due to licensing issues;
patch from upstream [gh#InsightSoftwareConsortium/ITK#1913].
-------------------------------------------------------------------
Wed Jun 3 00:58:31 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -26,6 +26,8 @@ Name: insighttoolkit
Version: 5.1.0
Release: 0
Summary: Toolkit for scientific image processing, segmentation, and registration
# NON-FREE FILES IN Modules/ThirdParty/VNL/src/vxl/v3p/netlib/ NOT USED BY ITK AND REMOVED BY Patch4
# SEE NOTICE file, https://github.com/InsightSoftwareConsortium/ITK/pull/1913, and https://github.com/InsightSoftwareConsortium/ITK/pull/1920
License: Apache-2.0
URL: https://www.itk.org
Source: https://github.com/InsightSoftwareConsortium/ITK/releases/download/v%{version}/%{tarname}-%{version}.tar.gz
@ -33,6 +35,8 @@ Source: https://github.com/InsightSoftwareConsortium/ITK/releases/downlo
Patch1: nrrdio-linking.patch
# PATCH-FIX-UPSTREAM proper linking against math library [gh#InsightSoftwareConsortium/ITK#1867, gh#InsightSoftwareConsortium/ITK#1878]
Patch3: itklbfgs-linking.patch
# PATCH-FIX-UPSTREAM insighttoolkit-drop-netlib-triangle-files.patch [gh#InsightSoftwareConsortium/ITK#1913] badshah400@gmail.com -- Drop netlib triangle files and any linking to them due to licensing issues; patch from upstream
Patch4: insighttoolkit-drop-netlib-triangle-files.patch
BuildRequires: CastXML-devel
BuildRequires: bison
BuildRequires: cmake
@ -134,6 +138,7 @@ This package provides the modules for ITK's python bindings.
-DITK_USE_SYSTEM_GDCM:BOOL=ON \
-DITK_USE_SYSTEM_SWIG:BOOL=ON \
-DITK_USE_SYSTEM_VXL:BOOL=OFF \
-DVXL_BUILD_CORE_NUMERICS:BOOL=OFF \
-DVCL_INCLUDE_CXX_0X:BOOL=ON \
-DITK_FORBID_DOWNLOADS=ON \
-DITK_WRAP_PYTHON:BOOL=ON
@ -149,10 +154,11 @@ This package provides the modules for ITK's python bindings.
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%license LICENSE
%license LICENSE NOTICE
%{_libdir}/*.so.1
%files devel
%license LICENSE NOTICE
%{_includedir}/%{name}/
%{_libdir}/lib*.so
%{_libdir}/cmake/
@ -160,6 +166,7 @@ This package provides the modules for ITK's python bindings.
%doc %{_docdir}/%{name}/
%files -n python3-itk
%license LICENSE NOTICE
%{python3_sitearch}/*.py
%{python3_sitearch}/itk/