Blob Blame History Raw
Name:           python-read-roi
Version:        1.6.0
Release:        1%{?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
*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