Blob Blame History Raw
Name:           python-read-roi
Version:        1.6.0
Release:        4%{?dist}
Summary:        Read ROI files .zip or .roi generated with imagej

License:        BSD
URL:            https://github.com/hadim/read-roi/
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0:         %{url}/pull/27.patch

BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3dist(nose2)


%global _description %{expand:
Read ROI files .zip or .roi generated with ImageJ. 
Some format specifications are not implemented.
Most of "normal" ROI files should work.
Feel free to hack it and send me modifications.

}

%description %_description

%package -n python3-read-roi
Summary:        %{summary}

%description -n python3-read-roi %_description


%prep
%autosetup -n read-roi-%{version} -p1


%generate_buildrequires
%pyproject_buildrequires -r


%build
%pyproject_wheel


%install
%pyproject_install
%pyproject_save_files read_roi


%check
PYTHONPATH='%{buildroot}%{python3_sitelib}' nose2




%files -n python3-read-roi -f %{pyproject_files}
%doc README.*
%license LICENSE*



%changelog
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.6.0-2
- Rebuilt for Python 3.11

*Tue Nov 9 2021 Adeleye Opeyemi <adebola786 AT gmail DOT com> - 1.6.0-2
-updated spec file
*Thu Oct 28 2021 Adeleye Opeyemi <adebola786 AT gmail DOT com> - 1.6.0-1
-initial rpm