public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-manatools] rawhide: Fix up file lists to use pyproject generated lists
@ 2026-07-06 18:21 Neal Gompa
0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-07-06 18:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-manatools
Branch : rawhide
Commit : 13e5d8a8df6ec907ff777ea08ad8874e1d34f1ec
Author : Neal Gompa <ngompa@fedoraproject.org>
Date : 2026-07-06T14:21:35-04:00
Stats : +19/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-manatools/c/13e5d8a8df6ec907ff777ea08ad8874e1d34f1ec?branch=rawhide
Log:
Fix up file lists to use pyproject generated lists
Build and install translations
---
diff --git a/python-manatools.spec b/python-manatools.spec
index 1cdff30..e541f90 100644
--- a/python-manatools.spec
+++ b/python-manatools.spec
@@ -2,7 +2,7 @@
Name: python-%{module}
Version: 0.99.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A Python framework to build ManaTools applications
License: LGPL-2.1-or-later
@@ -11,6 +11,8 @@ Source0: https://github.com/manatools/python-manatools/archive/%{version}
BuildArch: noarch
+BuildRequires: gettext
+
%description
Python ManaTools aim is to help in writing tools to be collected
under the ManaTools banner and hopefully with the same look and feel.
@@ -44,14 +46,27 @@ Every output module supports the Qt, GTK, and ncurses interfaces.
%install
%pyproject_install
+%pyproject_save_files %{module}
+
+mkdir -p %{buildroot}%{_datadir}/locale
+tools/po-compile.sh -d %{buildroot}%{_datadir}/locale
+%find_lang %{name}
+install -Dpm 0644 share/images/manatools.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/manatools.svg
+install -Dpm 0644 share/images/manatools.png %{buildroot}%{_datadir}/pixmaps/manatools.png
+
-%files -n python3-%{module}
+%files -n python3-%{module} -f %{pyproject_files} -f %{name}.lang
%doc README.md NEWS
%license LICENSE
-%{python3_sitelib}/%{module}/
-%{python3_sitelib}/python_manatools-%{version}.dist-info/
+%{_datadir}/icons/hicolor/scalable/apps/manatools.svg
+%{_datadir}/pixmaps/manatools.png
+
%changelog
+* Mon Jul 06 2026 Neal Gompa <ngompa@fedoraproject.org> - 0.99.2-4
+- Fix up file lists to use pyproject generated lists
+- Build and install translations
+
* Mon Jul 06 2026 Neal Gompa <ngompa@fedoraproject.org> - 0.99.2-3
- Fix weak dependency on qt/gtk extras
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-06 18:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 18:21 [rpms/python-manatools] rawhide: Fix up file lists to use pyproject generated lists Neal Gompa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox