Hello, Bubblemail is about to switch to the meson build system and I have been trying to adapt the package. It feels like it's being held together with scotch tape, but the attached spec file works.
One thing I noticed and then I found the note in the Python packaging guidelines, is that the dist-info directory is no longer included in the package. Also, since I've had to drop several python macros, the content of that directory is not the same as before. Since I MUST include the metadata, I would like some help regarding the proper way to do this. I also have a strong suspicion that other things might be amiss in the spec file. The Meson code changes haven't been merged yet into the master branch, they are here: https://framagit.org/razer/bubblemail/-/tree/meson?ref_type=heads Best regards, A.
Name: bubblemail Version: 1.10 Release: %autorelease Summary: Extensible mail notification service License: GPL-2.0-only URL: http://bubblemail.free.fr/ #Source0: https://framagit.org/razer/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2 Source0: https://framagit.org/razer/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: folks-devel BuildRequires: gettext BuildRequires: meson BuildRequires: python3-devel BuildRequires: python3-pillow BuildRequires: python3-pyxdg BuildRequires: vala Requires: folks Requires: gnome-keyring Requires: hicolor-icon-theme Requires: libsecret Requires: python3 Requires: python3-gobject Requires: python3-dbus Requires: python3-requests Requires: python3-gstreamer1 Requires: python3-pyxdg Requires: python3-pysocks Recommends: gnome-online-accounts Recommends: gnome-shell-extension-bubblemail %generate_buildrequires %pyproject_buildrequires -r %description Bubblemail is a D-Bus service providing a list of the new and unread user's mail from local mailboxes, pop, imap, and gnome online accounts. It includes a libnotify frontend to create notifications and can be used by other frontends as well. %prep %autosetup -p1 -n %{name}-v%{version} sed -i '1{\@^#!/usr/bin/env python@d}' \ bubblemail/plugins/spamfilterplugin.py \ bubblemail/plugins/userscriptplugin.py %conf %meson %build %meson_build %install %meson_install %find_lang %{name} cat %{name}.lang >> %{pyproject_files} %check appstream-util validate-relax --nonet \ %{buildroot}%{_metainfodir}/*.appdata.xml desktop-file-validate \ %{buildroot}/%{_datadir}/applications/*.desktop %files -f %{pyproject_files} %license LICENSE.txt %doc AUTHORS CHANGELOG.md CONTRIBUTING.md README.md %{_mandir}/man1/%{name}.1* %{_mandir}/man1/%{name}d.1* %{_sysconfdir}/xdg/autostart/%{name}d.desktop %{_bindir}/%{name} %{_bindir}/%{name}-avatar-provider %{_bindir}/%{name}d %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name}/ %{_datadir}/icons/hicolor/*/apps/%{name}.svg %{_metainfodir}/%{name}.appdata.xml %{python3_sitelib}/%{name} %changelog %autochangelog
-- _______________________________________________ python-devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
