public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-manatools] f44: Fix up file lists to use pyproject generated lists
Date: Mon, 06 Jul 2026 18:22:11 GMT	[thread overview]
Message-ID: <178336213184.1.11467121160815147668.rpms-python-manatools-13e5d8a8df6e@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-manatools
            Branch : f44
            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=f44

            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
 

                 reply	other threads:[~2026-07-06 18:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178336213184.1.11467121160815147668.rpms-python-manatools-13e5d8a8df6e@fedoraproject.org \
    --to=ngompa@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox