diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..399cb28 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/past-time-0.2.0.tar.gz diff --git a/past-time.spec b/past-time.spec new file mode 100644 index 0000000..28e0d7d --- /dev/null +++ b/past-time.spec @@ -0,0 +1,49 @@ +%global pypi_name past_time + +Name: past-time +Version: 0.2.0 +Release: 2%{?dist} +Summary: Visualizer for the days of the year + +License: MIT +URL: https://github.com/fabaff/past-time +Source0: https://github.com/fabaff/past-time/archive/%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-freezegun +BuildRequires: python3-click +BuildRequires: python3-tqdm + +%description +A simple tool to visualize the progress of the year based on the past days. + +%prep +%autosetup + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files +%doc README.rst +%license LICENSE +%{_bindir}/%{name} +%{python3_sitelib}/*.egg-info +%{python3_sitelib}/%{pypi_name}/* +%{python3_sitelib}/%{pypi_name}/__pycache__/* + +%changelog +* Wed Dec 11 2019 Fabian Affolter - 0.2.0-2 +- FIx ownership (rhbz#1772664) + +* Thu Nov 14 2019 Fabian Affolter - 0.2.0-1 +- Enable tests + +* Wed Nov 13 2019 Fabian Affolter - 0.1.0-1 +- Initial package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..8d45b7c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (past-time-0.2.0.tar.gz) = 175a2d0fdde3745aa0a92a3e8b1a68bb8896eba29b2fe1facb68fad0635accfe11494fa997c67e32e034d572e89f3cfbc0d8ec5a6c1e687baae51f337eac231c