Blame python-openpaperwork-core.spec

47660e1
%global srcname openpaperwork-core
47660e1
47660e1
Name:           python-%{srcname}
e3a9c5c
Version:        2.0.3
9e36c27
Release:        3%{?dist}
47660e1
Summary:        OpenPaperwork's core
47660e1
47660e1
License:        GPLv3+
47660e1
URL:            https://gitlab.gnome.org/World/OpenPaperwork/paperwork/tree/master/openpaperwork-core
47660e1
Source0:        %{pypi_source}
47660e1
47660e1
BuildArch:      noarch
47660e1
47660e1
BuildRequires:  python3-devel
47660e1
BuildRequires:  python3dist(setuptools)
47660e1
47660e1
%description
47660e1
Paperwork is a GUI to make papers searchable.
47660e1
47660e1
This is the core part of Paperwork. It manages plugins.
47660e1
47660e1
47660e1
%package -n     python3-%{srcname}
47660e1
Summary:        %{summary}
47660e1
47660e1
%description -n python3-%{srcname}
47660e1
Paperwork is a GUI to make papers searchable.
47660e1
47660e1
This is the core part of Paperwork. It manages plugins.
47660e1
47660e1
47660e1
%prep
47660e1
%autosetup -n %{srcname}-%{version}
47660e1
# Remove bundled egg-info
47660e1
rm -rf %{srcname}.egg-info
47660e1
47660e1
%build
47660e1
%py3_build
47660e1
47660e1
%install
47660e1
%py3_install
47660e1
47660e1
%check
47660e1
PYTHONPATH=%{buildroot}%{python3_sitelib} \
47660e1
    %{python3} -m unittest discover --verbose -s tests
47660e1
47660e1
%files -n python3-%{srcname}
47660e1
%doc README.md
e3a9c5c
%license LICENSE
47660e1
%{python3_sitelib}/openpaperwork_core/
47660e1
%{python3_sitelib}/openpaperwork_core-%{version}-py%{python3_version}.egg-info/
47660e1
47660e1
%changelog
9e36c27
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
9e36c27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9e36c27
2feb2ca
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.3-2
2feb2ca
- Rebuilt for Python 3.10
2feb2ca
e3a9c5c
* Fri Jun 04 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.3-1
e3a9c5c
- Update to latest version (#1964133)
e3a9c5c
47660e1
* Sat Feb 06 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.2-1
47660e1
- Initial package.