diff --git a/.gitignore b/.gitignore index 6439bb4..0fe1804 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /xmedcon-0.23.0.tar.bz2 /xmedcon-0.24.0.tar.bz2 /xmedcon-0.24.1.tar.bz2 +/xmedcon-0.25.3.tar.bz2 diff --git a/sources b/sources index 4c73c7f..a3c7981 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xmedcon-0.24.1.tar.bz2) = f147439b97bd02186df4cdf62d52ab036d395d1b25e89ebc909ae3e0ef925123422e89643a5c7e8f0041d229c04b918838e7d8e4077fdd7bc264a1d916ad5fee +SHA512 (xmedcon-0.25.3.tar.bz2) = 7acd7be6341cc92002116e16a8e975e290a232a9ed68e769365f183779f3a05ffd08b5752e5d77b7b91febb6a7577ff3573a4bc91757c6c5fe36acfbbbc2401c diff --git a/xmedcon.spec b/xmedcon.spec index c2052b9..4edb63f 100644 --- a/xmedcon.spec +++ b/xmedcon.spec @@ -1,14 +1,17 @@ Name: xmedcon -Version: 0.24.1 +Version: 0.25.3 Release: %autorelease Summary: A medical image conversion utility and library # Please refer to http://xmedcon.sourceforge.net/pub/readme/README for details # None of the libraries are bundled, they are appear to be modified versions of code taken # from the respective sources -# License needs more looking into to confirm correctness. All licenses are FOSS compatible though -# Automatically converted from old format: LGPLv2+ and Copyright only and MIT and BSD and libtiff - review is highly recommended. -License: LGPL-2.1-or-later AND LicenseRef-Callaway-Copyright-only AND LicenseRef-Callaway-MIT AND LicenseRef-Callaway-BSD and libtiff +# Breakdown +# ./source: GPLv2+ +# ./libs/nifti: Public Domain +# ./libs/tpc: LGPLv2.1+ +# spdx verified +License: GPL-2.0-or-later and LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain URL: http://xmedcon.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: %{name}.desktop @@ -100,7 +103,7 @@ desktop-file-install \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ %{SOURCE1} -appstream-util validate-relax --nonet ${RPM_BUILD_ROOT}%{_datadir}/appdata/*.appdata.xml +appstream-util validate-relax --nonet ${RPM_BUILD_ROOT}%{_datadir}/metainfo/xmedcon.appdata.xml # remove static libraries find $RPM_BUILD_ROOT -name "*.a" -execdir rm -fv '{}' \; @@ -117,7 +120,7 @@ find $RPM_BUILD_ROOT -name "*.la" -execdir rm -fv '{}' \; %{_bindir}/%{name} %{_libdir}/*so.* %{_mandir}/man1/* -%{_datadir}/appdata/%{name}.appdata.xml +%{_datadir}/metainfo/xmedcon.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/48x48/apps/%{name}.png