public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/InsightToolkit] rawhide: feat: add licenses for all bundled bits
Date: Thu, 23 Jul 2026 12:50:15 GMT	[thread overview]
Message-ID: <178481101550.1.3099349401432203665.rpms-InsightToolkit-84675f74ea72@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/InsightToolkit
Branch : rawhide
Commit : 84675f74ea72ffa576fcff06446eeb5fe8b7cd06
Author : Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
Date   : 2026-07-16T11:19:24+01:00
Stats  : +34/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/InsightToolkit/c/84675f74ea72ffa576fcff06446eeb5fe8b7cd06?branch=rawhide

Log:
feat: add licenses for all bundled bits

---
diff --git a/InsightToolkit.spec b/InsightToolkit.spec
index cee19e7..e0ece0b 100644
--- a/InsightToolkit.spec
+++ b/InsightToolkit.spec
@@ -13,8 +13,17 @@ Name:           InsightToolkit
 Summary:        Insight Toolkit library for medical image processing
 Version:        %{version_major_minor}.%{version_patch}
 Release:        1%{?dist}
-# Automatically converted from old format: ASL 2.0 - review is highly recommended.
-License:        Apache-2.0
+# Bundled library licenses:
+#   Apache-2.0       - ITK core (upstream)
+#   BSD-3-Clause     - DICOMParser (Copyright.txt), DoubleConversion (LICENSE),
+#                      GoogleTest (source headers), KWSys (Copyright.txt),
+#                      MetaIO (License.txt)
+#   BSD-2-Clause     - OpenJPEG (LICENSE)
+#   MIT              - libLBFGS (lbfgs.h header)
+#   Zlib             - NrrdIO (source headers, from Teem library)
+#   LicenseRef-Fedora-Public-Domain - GIFTI (LICENSE.gifti), Netlib/SLATEC
+#                      (public domain via netlib.org), NIFTI (nifti1_io.c header)
+License:        Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND MIT AND Zlib AND LicenseRef-Fedora-Public-Domain
 Source0:        https://github.com/InsightSoftwareConsortium/ITK/releases/download/v%{version}/InsightToolkit-%{version}.tar.gz
 Source1:        https://github.com/InsightSoftwareConsortium/ITK/releases/download/v%{version}/InsightSoftwareGuide-Book1-%{version}.pdf
 Source2:        https://github.com/InsightSoftwareConsortium/ITK/releases/download/v%{version}/InsightSoftwareGuide-Book2-%{version}.pdf
@@ -232,6 +241,21 @@ extra_cflags=(
 %install
 %cmake_install
 
+# Install bundled library license files (avoid filename collisions)
+mkdir -p %{buildroot}%{_defaultlicensedir}/%{name}
+cp -a Modules/ThirdParty/DoubleConversion/src/LICENSE \
+   %{buildroot}%{_defaultlicensedir}/%{name}/LICENSE.double-conversion
+cp -a Modules/ThirdParty/DICOMParser/src/DICOMParser/Copyright.txt \
+   %{buildroot}%{_defaultlicensedir}/%{name}/LICENSE.dicomparser
+cp -a Modules/ThirdParty/GIFTI/src/gifticlib/LICENSE.gifti \
+   %{buildroot}%{_defaultlicensedir}/%{name}/
+cp -a Modules/ThirdParty/KWSys/src/KWSys/Copyright.txt \
+   %{buildroot}%{_defaultlicensedir}/%{name}/LICENSE.kwsys
+cp -a Modules/ThirdParty/MetaIO/src/MetaIO/License.txt \
+   %{buildroot}%{_defaultlicensedir}/%{name}/LICENSE.metaio
+cp -a Modules/ThirdParty/OpenJPEG/src/LICENSE \
+   %{buildroot}%{_defaultlicensedir}/%{name}/LICENSE.openjpeg
+
 # Install examples
 mkdir -p %{buildroot}%{_datadir}/%{name}/examples
 cp -ar Examples/* %{buildroot}%{_datadir}/%{name}/examples/
@@ -249,7 +273,14 @@ cp -ar Examples/* %{buildroot}%{_datadir}/%{name}/examples/
 #1259 - itkLargeTIFFImageWriteReadTest4 (Failed)          BigIO RUNS_LONG
 
 %files
-%doc LICENSE NOTICE README.md
+%doc NOTICE README.md
+%license LICENSE
+%license %{_defaultlicensedir}/%{name}/LICENSE.double-conversion
+%license %{_defaultlicensedir}/%{name}/LICENSE.dicomparser
+%license %{_defaultlicensedir}/%{name}/LICENSE.gifti
+%license %{_defaultlicensedir}/%{name}/LICENSE.kwsys
+%license %{_defaultlicensedir}/%{name}/LICENSE.metaio
+%license %{_defaultlicensedir}/%{name}/LICENSE.openjpeg
 %{_libdir}/*-%{version_major_minor}.so.1
 %exclude %{_libdir}/libITKVtkGlue*.so.*
 %{_bindir}/itkTestDriver

                 reply	other threads:[~2026-07-23 12:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178481101550.1.3099349401432203665.rpms-InsightToolkit-84675f74ea72@fedoraproject.org \
    --to=sanjay.ankur@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox