Name: budget Version: 0.0.10.1 Release: 2%{?dist} Summary: Personal financial assistant License: GPLv2 URL: https://github.com/mthxx/Budget Source0: https://files.pythonhosted.org/packages/source/b/budget/budget-0.0.10.1.tar.gz Source1: %{name}.desktop Source2: %{name}.appdata.xml BuildArch: noarch BuildRequires: gtk3 BuildRequires: libappstream-glib BuildRequires: python3-setuptools BuildRequires: pygobject3 BuildRequires: python3-gobject Requires: gtk3 Requires: python3 Requires: pygobject3 Requires: python3-gobject %description Budget is your own personal financial assistant. With Budget, you can record income and expenses into separate categories. Budget can also help predict your financial future. Plan your financial health with financial projections. %prep %autosetup -n %{name}-0.0.10 %build %py3_build %install %py3_install install -p -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/budget.desktop install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/budget.appdata.xml rm -rf %{buildroot}%{_datadir}/icons/Adwaita %check %{__python3} -c "import budget.budget" desktop-file-validate %{buildroot}%{_datadir}/applications/budget.desktop appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/budget.appdata.xml %post update-desktop-database &> /dev/null || : %postun update-desktop-database &> /dev/null || : %files %doc README.md %{_bindir}/* %{_datadir}/appdata/* %{_datadir}/applications/* %{_datadir}/icons/*/*/apps/* %{python3_sitelib}/* %changelog * Thu Jan 04 2018 williamjmorenor@gmail.com - 0.0.10.1-2 - BR gtk3 * Sun Oct 22 2017 williamjmorenor@gmail.com - 0.0.10.1-1 - Inital Packaging