Name: gtimelog Version: 0.11 Release: 2%{?dist} Summary: Unobtrusively keep track of your time Group: Applications/Productivity License: GPLv2 URL: http://mg.pov.lt/gtimelog/ Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-freezegun BuildRequires: python3-mock BuildRequires: /usr/bin/appstream-util BuildRequires: /usr/bin/desktop-file-install BuildRequires: /usr/bin/msgfmt BuildRequires: /usr/bin/rst2man Requires: gtk3 Requires: python3-gobject Recommends: yelp %description GTimeLog is a small GTK+ app for keeping track of your time. It's main goal is to be as unobtrusive as possible. %prep %setup -q %build %{__python3} setup.py build # Generates the man pages. make all %install %{__python3} setup.py install --skip-build --root %{buildroot} desktop-file-install %{name}.desktop # Needed for the desktop file. install -d %{buildroot}/%{_datadir}/pixmaps mv %{buildroot}%{python3_sitelib}/%{name}/*.png %{buildroot}/%{_datadir}/pixmaps install -Dpm 644 %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1 install -Dpm 644 %{name}.appdata.xml %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml install -Dpm 644 src/gtimelog/data/org.gtimelog.gschema.xml %{buildroot}/%{_datadir}/glib-2.0/schemas/org.gtimelog.gschema.xml %check # Runs tests on the source tree. %{__python3} ./runtests appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml %files %doc CHANGES.rst CONTRIBUTING.rst src/gtimelog/CONTRIBUTORS.rst README.rst TODO.rst %license COPYING %{_bindir}/%{name} %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/glib-2.0/schemas/org.gtimelog.gschema.xml %{_datadir}/pixmaps/%{name}*.png %{_mandir}/man1/%{name}.1* %{python3_sitelib}/%{name}* %changelog * Wed Feb 07 2018 Fedora Release Engineering - 0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Dec 19 2017 David King - 0.11-1 - Update to 0.11 (#1381205) * Tue Oct 31 2017 David King - 0.10.3-1 - Update to 0.10.3 (#1419155) * Wed Jul 26 2017 Fedora Release Engineering - 0.10.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.10.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro HronĨok - 0.10.2-2 - Rebuild for Python 3.6 * Mon Oct 03 2016 David King - 0.10.2-1 - Update to 0.10.2 (#1381205) * Mon Sep 26 2016 David King - 0.10.1-1 - Update to 0.10.1 (#1378640) * Tue Jul 19 2016 Fedora Release Engineering - 0.10.0-4 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Feb 03 2016 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Wed Sep 30 2015 David King - 0.10.0-1 - Update to 0.10.0 (#1267408) * Wed Sep 30 2015 David King - 0.9.3-1 - Update to 0.9.3 * Wed Jun 17 2015 Fedora Release Engineering - 0.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Apr 09 2015 David King - 0.9.2-1 - Initial packaging (#1210252)