diff --git a/.gitignore b/.gitignore index 0fe1804..4d53b32 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,3 @@ /xmedcon-0.16.2.tar.bz2 /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 a3c7981..7b67fea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xmedcon-0.25.3.tar.bz2) = 7acd7be6341cc92002116e16a8e975e290a232a9ed68e769365f183779f3a05ffd08b5752e5d77b7b91febb6a7577ff3573a4bc91757c6c5fe36acfbbbc2401c +SHA512 (xmedcon-0.23.0.tar.bz2) = a0911eb60a7609872e1d31c2a1f636ef3acce5464a415a483c30f3551f3c347f26e24db83b8bf253e88aee20c2800606b3d8e2fc1b4a737672d61a42298ed9b2 diff --git a/xmedcon.spec b/xmedcon.spec index 4edb63f..25dde63 100644 --- a/xmedcon.spec +++ b/xmedcon.spec @@ -1,25 +1,18 @@ Name: xmedcon -Version: 0.25.3 +Version: 0.23.0 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 -# 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 +# 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 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 @@ -103,7 +96,7 @@ desktop-file-install \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ %{SOURCE1} -appstream-util validate-relax --nonet ${RPM_BUILD_ROOT}%{_datadir}/metainfo/xmedcon.appdata.xml +appstream-util validate-relax --nonet ${RPM_BUILD_ROOT}%{_datadir}/appdata/*.appdata.xml # remove static libraries find $RPM_BUILD_ROOT -name "*.a" -execdir rm -fv '{}' \; @@ -120,7 +113,7 @@ find $RPM_BUILD_ROOT -name "*.la" -execdir rm -fv '{}' \; %{_bindir}/%{name} %{_libdir}/*so.* %{_mandir}/man1/* -%{_datadir}/metainfo/xmedcon.appdata.xml +%{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/48x48/apps/%{name}.png