Blame python-mackup.spec

73b3377
# Created by pyp2rpm-3.3.6
73b3377
%global pypi_name mackup
73b3377
73b3377
%bcond_without tests
73b3377
73b3377
Name:           python-%{pypi_name}
73b3377
Version:        0.8.32
c05bd0c
Release:        3%{?dist}
73b3377
Summary:        Keep your application settings in sync
73b3377
73b3377
License:        GPLv3
73b3377
URL:            https://github.com/lra/mackup
73b3377
# pypi_source does not have license and tests
73b3377
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
73b3377
BuildArch:      noarch
73b3377
73b3377
BuildRequires:  python3-devel
73b3377
BuildRequires:  python3dist(setuptools)
73b3377
%if %{with tests}
73b3377
BuildRequires:  procps-ng
73b3377
BuildRequires:  python3dist(pytest)
73b3377
BuildRequires:  python3dist(six)
73b3377
%endif
73b3377
73b3377
%global _description %{expand:
73b3377
Mackup:
73b3377
- Backs up your application settings in a safe directory (e.g. Dropbox)
73b3377
- Syncs your application settings among all your workstations
73b3377
- Restores your configuration on any fresh install in one command line
73b3377
73b3377
By only tracking pure configuration files, it keeps the cruft out of your
73b3377
freshly new installed workstation (no cache, temporary and locally specific
73b3377
files are transferred).
73b3377
73b3377
Mackup makes setting up the environment easy and simple, saving time for your
73b3377
family, great ideas, and all the cool stuff you like. }
73b3377
73b3377
%description %{_description}
73b3377
73b3377
73b3377
%package -n     %{pypi_name}
73b3377
Summary:        %{summary}
73b3377
Requires:       procps-ng
73b3377
73b3377
%description -n %{pypi_name} %{_description}
73b3377
73b3377
73b3377
%prep
73b3377
%autosetup -n %{pypi_name}-%{version}
73b3377
# Remove bundled egg-info
73b3377
rm -rf %{pypi_name}.egg-info
73b3377
73b3377
%build
73b3377
%py3_build
73b3377
73b3377
%install
73b3377
%py3_install
73b3377
73b3377
%check
73b3377
%pytest
73b3377
73b3377
73b3377
%files -n %{pypi_name}
73b3377
%license LICENSE
73b3377
%doc CHANGELOG.md README.md
73b3377
%{_bindir}/mackup
73b3377
%{python3_sitelib}/%{pypi_name}
73b3377
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
73b3377
73b3377
73b3377
%changelog
c05bd0c
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.32-3
c05bd0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
c05bd0c
f00ae82
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.8.32-2
f00ae82
- Rebuilt for Python 3.10
f00ae82
73b3377
* Wed May 12 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.8.32-1
73b3377
- Initial package