From c56f04d7b7cac40ba16ef3cf53df02f15c079746 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Wed, 9 Nov 2022 15:51:49 +0700 Subject: [PATCH] add elementary-notifications --- .../elementary-notifications/anda.hcl | 6 ++ .../elementary-notifications.spec | 59 +++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 anda/desktops/elementary/elementary-notifications/anda.hcl create mode 100644 anda/desktops/elementary/elementary-notifications/elementary-notifications.spec diff --git a/anda/desktops/elementary/elementary-notifications/anda.hcl b/anda/desktops/elementary/elementary-notifications/anda.hcl new file mode 100644 index 0000000000..0eb922ae48 --- /dev/null +++ b/anda/desktops/elementary/elementary-notifications/anda.hcl @@ -0,0 +1,6 @@ +project "pkg" { + rpm { + spec = "elementary-notifications.spec" + sources = "." + } +} diff --git a/anda/desktops/elementary/elementary-notifications/elementary-notifications.spec b/anda/desktops/elementary/elementary-notifications/elementary-notifications.spec new file mode 100644 index 0000000000..33348b8bea --- /dev/null +++ b/anda/desktops/elementary/elementary-notifications/elementary-notifications.spec @@ -0,0 +1,59 @@ +%global srcname notifications +%global appname io.elementary.notifications + + +Name: elementary-notifications +Version: 6.0.3 +Release: 1%{?dist} +Summary: GTK Notification server for Pantheon + +License: GPLv3 +URL: https://github.com/elementary/%{srcname} +Source0: %{url}/archive/refs/tags/%{version}.tar.gz + + +BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib +BuildRequires: libcanberra-devel +BuildRequires: libcanberra-gtk3 +BuildRequires: pkgconfig(granite) >= 6.0.0 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.11.6 +BuildRequires: pkgconfig(libhandy-1) >= 0.91.0 +BuildRequires: meson +BuildRequires: vala + +Provides: %{name} = %{version}-%{release} + + +%description + + +%prep +%autosetup -n %{srcname}-%{version} + + +%build +%meson +%meson_build + + +%install +%meson_install + + +%files +%license LICENSE +%doc README.md + +%{_bindir}/%{appname} +%{_bindir}/%{appname}.demo +%{_datadir}/applications/%{appname}.demo.desktop + +%{_sysconfdir}/xdg/autostart/%{appname}.desktop +%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml +%{_metainfodir}/%{appname}.appdata.xml + + +%changelog +* Wed Nov 09 2022 Cappy Ishihara +- Packaged