summaryrefslogtreecommitdiffstats
path: root/python/python-mackup.spec
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2021-05-12 12:42:24 -0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2021-05-12 12:42:24 -0700
commitf2676262fcd6d6ecfac9b6326585a5c743f0fa6b (patch)
tree38acb1dfb2bd2141b31bed637f9cc055c317f27b /python/python-mackup.spec
parent901110ad08620bafac5b8165a29abae4d7755ba3 (diff)
downloadspecs-f2676262fcd6d6ecfac9b6326585a5c743f0fa6b.tar.gz
specs-f2676262fcd6d6ecfac9b6326585a5c743f0fa6b.tar.xz
specs-f2676262fcd6d6ecfac9b6326585a5c743f0fa6b.zip
+ python-mackup
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'python/python-mackup.spec')
-rw-r--r--python/python-mackup.spec73
1 files changed, 73 insertions, 0 deletions
diff --git a/python/python-mackup.spec b/python/python-mackup.spec
new file mode 100644
index 0000000..0205812
--- /dev/null
+++ b/python/python-mackup.spec
@@ -0,0 +1,73 @@
+# Created by pyp2rpm-3.3.6
+%global pypi_name mackup
+
+%bcond_without tests
+
+Name: python-%{pypi_name}
+Version: 0.8.32
+Release: 1%{?dist}
+Summary: Keep your application settings in sync
+
+License: GPLv3
+URL: https://github.com/lra/mackup
+# pypi_source does not have license and tests
+Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3dist(setuptools)
+%if %{with tests}
+BuildRequires: procps-ng
+BuildRequires: python3dist(pytest)
+BuildRequires: python3dist(six)
+%endif
+
+%global _description %{expand:
+Mackup:
+- Backs up your application settings in a safe directory (e.g. Dropbox)
+- Syncs your application settings among all your workstations
+- Restores your configuration on any fresh install in one command line
+
+By only tracking pure configuration files, it keeps the cruft out of your
+freshly new installed workstation (no cache, temporary and locally specific
+files are transferred).
+
+Mackup makes setting up the environment easy and simple, saving time for your
+family, great ideas, and all the cool stuff you like. }
+
+%description %{_description}
+
+
+%package -n %{pypi_name}
+Summary: %{summary}
+Requires: procps-ng
+
+%description -n %{pypi_name} %{_description}
+
+
+%prep
+%autosetup -n %{pypi_name}-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%check
+%pytest
+
+
+%files -n %{pypi_name}
+%license LICENSE
+%doc CHANGELOG.md README.md
+%{_bindir}/mackup
+%{python3_sitelib}/%{pypi_name}
+%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+
+
+%changelog
+* Wed May 12 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.8.32-1
+- Initial package