diff --git a/.gitignore b/.gitignore index 4beec2e..0fe1804 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ /xmedcon-0.22.0.tar.bz2 /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 d58284b..a3c7981 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xmedcon-0.24.0.tar.bz2) = ebcaf31c4e64eec31d5db5d9b3cfa993e31f6f1fbebc0c2676311198ce0a35b6fa4ef175c7eab1dad4272bd6418e4bffe796e4f07c2f409a2cc74bd7a356af8a +SHA512 (xmedcon-0.25.3.tar.bz2) = 7acd7be6341cc92002116e16a8e975e290a232a9ed68e769365f183779f3a05ffd08b5752e5d77b7b91febb6a7577ff3573a4bc91757c6c5fe36acfbbbc2401c diff --git a/xmedcon.spec b/xmedcon.spec index 8c7a291..4edb63f 100644 --- a/xmedcon.spec +++ b/xmedcon.spec @@ -1,18 +1,25 @@ Name: xmedcon -Version: 0.24.0 +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 -License: LGPLv2+ and Copyright only and MIT and 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 Patch0: xmedcon-configure.patch +# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} + BuildRequires: autoconf BuildRequires: automake BuildRequires: desktop-file-utils @@ -96,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 '{}' \; @@ -113,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