| |
@@ -1,17 +1,24 @@
|
| |
Name: python-glymur
|
| |
- Version: 0.9.4
|
| |
+ Version: 0.9.7.post1
|
| |
Release: %autorelease
|
| |
Summary: Interface to the OpenJPEG library for working with JPEG 2000 files
|
| |
|
| |
License: MIT
|
| |
URL: https://pypi.org/project/Glymur/
|
| |
Source0: https://github.com/quintusdias/glymur/archive/v%{version}/%{name}-%{version}.tar.gz
|
| |
+ # Man pages hand-written for Fedora in groff_man(7) format based on --help
|
| |
+ # output:
|
| |
Source1: jp2dump.1
|
| |
+ Source2: tiff2jp2.1
|
| |
+
|
| |
+ Patch0: https://github.com/quintusdias/glymur/pull/544.patch
|
| |
|
| |
BuildArch: noarch
|
| |
BuildRequires: python3-devel
|
| |
- BuildRequires: python3-pytest
|
| |
- BuildRequires: python3-scikit-image
|
| |
+ BuildRequires: python3dist(pytest)
|
| |
+ # tests/fixtures.py: each of these enables more tests
|
| |
+ BuildRequires: python3dist(scikit-image)
|
| |
+ BuildRequires: python3dist(gdal)
|
| |
|
| |
%global _description %{expand:
|
| |
Glymur contains a Python interface to the OpenJPEG
|
| |
@@ -23,6 +30,9 @@
|
| |
Requires: openjpeg2
|
| |
Summary: %{summary}
|
| |
|
| |
+ # glymur/jp2box.py: provides optional functionality
|
| |
+ Recommends: python3dist(gdal)
|
| |
+
|
| |
%description -n python3-glymur %_description
|
| |
|
| |
|
| |
@@ -52,6 +62,8 @@
|
| |
%doc README.md CHANGES.txt
|
| |
%license LICENSE.txt
|
| |
%{_bindir}/jp2dump
|
| |
+ %{_bindir}/tiff2jp2
|
| |
+
|
| |
%exclude %{python3_sitelib}/tests
|
| |
%{_mandir}/man1/jp2dump.1*
|
| |
|
| |
I think it should be fine to build this as a compatible update for stable branches.