gnome-ponytail-daemon/gnome-ponytail-daemon.spec

119 lines
3.1 KiB
RPMSpec
Raw Normal View History

2024-02-02 16:24:15 +00:00
%global systemd_unit gnome-ponytail-daemon.service
%global libname ponytail
Name: gnome-ponytail-daemon
Version: 0.0.11
Release: 4%{?dist}
2024-02-02 16:24:15 +00:00
Summary: Sort of a bridge for dogtail for GNOME on Wayland
License: GPL-2.0-or-later
URL: https://gitlab.gnome.org/ofourdan/gnome-ponytail-daemon
Source0: %url/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: git-core
BuildRequires: meson >= 0.40.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.32
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: systemd-rpm-macros
%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10
BuildRequires: pkgconfig(libei-1.0) >= 1.0.0
%endif
%{?systemd_requires}
BuildRequires: systemd
%description
GNOME Ponytail Daemon is a sort of bridge for dogtail for GNOME on Wayland.
%package -n python3-%{name}
Summary: Python module for %{name}
2024-02-02 16:41:31 +00:00
Requires: %{name} = %{version}-%{release}
2024-02-02 16:24:15 +00:00
Requires: python3-dbus
Requires: python3-gobject
BuildArch: noarch
%description -n python3-%{name}
Python module for D-BUS interactions with gnome-ponytail-daemon interfaces.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%post
%systemd_user_post %{systemd_unit}
%preun
%systemd_user_preun %{systemd_unit}
%postun
%systemd_user_postun_with_restart %{systemd_unit}
%systemd_user_postun_with_reload %{systemd_unit}
%systemd_user_postun %{systemd_unit}
%files
%license LICENSE
%doc README.md
%{_libexecdir}/gnome-ponytail-daemon
%{_userunitdir}/gnome-ponytail-daemon.service
%{_datadir}/dbus-1/services/org.gnome.Ponytail.service
%files -n python3-%{name}
%doc examples/*.py
%{python3_sitelib}/%{libname}/
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.0.11-4
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.0.11-3
- Bump release for June 2024 mass rebuild
* Mon May 20 2024 José Expósito <jexposit@redhat.com> - 0.0.11-2
- Add gating.yaml
* Mon May 20 2024 José Expósito <jexposit@redhat.com> - 0.0.11-1
- Version 0.0.11
2024-02-02 16:43:01 +00:00
* Fri Feb 02 2024 José Expósito <jexposit@redhat.com> - 0.0.10-2
2024-02-02 16:41:31 +00:00
- Fix requires in Python package
2024-02-02 16:24:15 +00:00
* Mon Jan 08 2024 José Expósito <jexposit@redhat.com> - 0.0.10-1
- Add libei support
- Bug fixing
* Tue Dec 10 2019 Olivier Fourdan <ofourdan@redhat.com> - 0.0.9-1
- Version 0.0.9
* Tue Jan 29 2019 Olivier Fourdan <ofourdan@redhat.com> - 0.0.8-1
- Version 0.0.8
* Wed Dec 19 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.7-1
- Version 0.0.7
* Thu Dec 13 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.6-1
- Version 0.0.6
* Wed Dec 5 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.5-1
- Version 0.0.5
* Wed Nov 28 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.4-1
- Version 0.0.4
* Thu Nov 22 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.3-1
- Version 0.0.3
* Mon Nov 19 2018 Olivier Fourdan <ofourdan@redhat.com> - 0.0.2-1
- Initial version