File notifications.spec of Package notifications
Name: io.elementary.notifications
Summary: Gtk Notifications Server
Version: daily
Release: %autorelease
License: LGPLv3+
URL: https://github.com/elementary/notifications
Source0: %{url}/archive/%{version}/notifications-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: libcanberra-devel
BuildRequires: libcanberra-gtk3
BuildRequires: io.elementary.granite-devel
BuildRequires: gtk3-devel
BuildRequires: libhandy-devel
BuildRequires: meson
BuildRequires: vala
# needed by obs-service-obs_scm-common
BuildRequires: glibc-langpack-en
#!BuildIgnore: glibc-all-langpacks
%description
Gtk Notifications Server
%prep
%autosetup -n notifications-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%check
# ? tag-invalid : <icon> not allowed in desktop appdata
# appstream-util validate-relax --nonet \
# %{buildroot}/%{_datadir}/metainfo/io.elementary.notifications.metainfo.xml
%files
%doc README.md
%license LICENSE
/usr/bin/io.elementary.notifications
/usr/bin/io.elementary.notifications.demo
/usr/share/applications/io.elementary.notifications.demo.desktop
/usr/share/glib-2.0/schemas/io.elementary.notifications.gschema.xml
/usr/share/metainfo/io.elementary.notifications.metainfo.xml
%changelog
%autochangelog