mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
d69f6dceaf
(cherry picked from commit fda8bf22c7)
Co-authored-by: madomado <madonuko@outlook.com>
76 lines
1.6 KiB
RPMSpec
76 lines
1.6 KiB
RPMSpec
%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$
|
|
|
|
%global srcname switchboard-plug-notifications
|
|
|
|
%global plug_type personal
|
|
%global plug_name notifications
|
|
%global plug_rdnn io.elementary.settings.notifications
|
|
|
|
Name: switchboard-plug-notifications
|
|
Summary: Switchboard Notifications plug
|
|
Version: 8.0.0
|
|
Release: 1%?dist
|
|
License: GPL-3.0-or-later
|
|
|
|
URL: https://github.com/elementary/switchboard-plug-notifications
|
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: libappstream-glib
|
|
BuildRequires: meson
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(switchboard-3)
|
|
|
|
Requires: gala%{?_isa}
|
|
Requires: switchboard%{?_isa}
|
|
|
|
Supplements: (switchboard%{?_isa} and gala%{?_isa})
|
|
|
|
%description
|
|
Configure which apps should be allowed to show notifications.
|
|
|
|
This is a GModule plugin for Switchboard that configures gsettings keys
|
|
related to the Notifications plugin for Gala.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{srcname}-%{version} -p1
|
|
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
|
|
%install
|
|
%meson_install
|
|
%fdupes %buildroot%_datadir/locale/
|
|
%find_lang %{plug_rdnn}
|
|
|
|
|
|
%check
|
|
appstream-util validate-relax --nonet \
|
|
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
|
|
|
|
|
%files -f %{plug_rdnn}.lang
|
|
%doc README.md
|
|
%license COPYING
|
|
|
|
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
|
|
|
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
|
|
|
|
|
%changelog
|
|
* Thu Dec 01 2022 root - 2.2.0-1
|
|
- new version
|
|
|
|
* Thu Dec 01 2022 root - 2.1.7-1
|
|
- new version
|
|
|
|
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com>
|
|
- Repackaged for Terra
|