Import elementary-notifications-6.0.2-1.el9

This commit is contained in:
Sofia Boldyreva 2023-03-21 23:32:21 +01:00
commit e5a735dc90
3 changed files with 151 additions and 0 deletions

View File

@ -0,0 +1 @@
456dbe22f14f11d039c71dc7d96b95d72c9c92ac SOURCES/notifications-6.0.2.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/notifications-6.0.2.tar.gz

View File

@ -0,0 +1,149 @@
## START: Set by rpmautospec
## (rpmautospec version 0.2.6)
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
## END: Set by rpmautospec
%global srcname notifications
%global appname io.elementary.notifications
Name: elementary-notifications
Version: 6.0.2
Release: %autorelease
Summary: GTK Notifications Server
License: GPLv3+
URL: https://github.com/elementary/notifications
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala
BuildRequires: pkgconfig(granite) >= 5.4.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libcanberra)
BuildRequires: pkgconfig(libhandy-1)
%description
elementary Notifications is a GTK notification server for Pantheon.
%package demo
Summary: Demo application for the elementary GTK Notifications Server
Requires: %{name}%{?_isa} = %{version}-%{release}
%description demo
elementary Notifications is a GTK notification server for Pantheon.
This package contains a demo application.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
# remove the specified stock icon from appdata:
# the <icon> tag is not allowed for desktop-application components
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%check
desktop-file-validate \
%{buildroot}/%{_sysconfdir}/xdg/autostart/%{appname}.desktop
desktop-file-validate \
%{buildroot}/%{_datadir}/applications/%{appname}.demo.desktop
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%files
%license LICENSE
%doc README.md
%config(noreplace) %{_sysconfdir}/xdg/autostart/%{appname}.desktop
%{_bindir}/%{appname}
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/metainfo/%{appname}.appdata.xml
%files demo
%{_bindir}/%{appname}.demo
%{_datadir}/applications/%{appname}.demo.desktop
%changelog
* Wed Jul 13 2022 Fabio Valentini <decathorpe@gmail.com> 6.0.2-1
- Update to version 6.0.2; Fixes RHBZ#2095602
* Thu Apr 07 2022 Fabio Valentini <decathorpe@gmail.com> 6.0.1-1
- Update to version 6.0.1; Fixes RHBZ#2072909
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 6.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> 6.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 21 2021 Fabio Valentini <decathorpe@gmail.com> 6.0.0-1
- Update to version 6.0.0
* Thu Jul 15 2021 Fabio Valentini <decathorpe@gmail.com> - 0-0.14.20210713.git3fff6ed
- Bump to commit 3fff6ed.
* Mon Jun 14 2021 Fabio Valentini <decathorpe@gmail.com> - 0-0.13.20210604.git121f3b2
- Bump to commit 121f3b2.
* Sun May 23 2021 Fabio Valentini <decathorpe@gmail.com> - 0-0.12.20210515.gitd5ff186
- Bump to commit d5ff186.
* Tue Mar 16 2021 Fabio Valentini <decathorpe@gmail.com> - 0-0.11.20210311.giteec89e6
- Bump to commit eec89e6.
* Thu Feb 18 2021 Fabio Valentini <decathorpe@gmail.com> - 0-0.10.20210119.git749e28b
- Bump to commit 749e28b. Rebuilt for granite 6 soname bump.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.9.20201020.git739268b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Oct 24 2020 Fabio Valentini <decathorpe@gmail.com> - 0-0.8.20201020.git739268b
- Bump to commit 739268b.
* Fri Oct 09 2020 Fabio Valentini <decathorpe@gmail.com> - 0-0.7.20200512.git5867ed0
- Bump to commit 5867ed0.
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.20200512.gita16377d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed May 20 2020 Fabio Valentini <decathorpe@gmail.com> - 0-0.5.20200512.gita16377d
- Bump to commit a16377d.
* Sat May 09 2020 Fabio Valentini <decathorpe@gmail.com> - 0-0.4.20200429.git6eeaf3e
- Bump to commit 6eeaf3e.
* Thu Apr 02 2020 Fabio Valentini <decathorpe@gmail.com> - 0-0.3.20200331.gitdb552b0
- Bump to commit db552b0.
* Sat Mar 21 2020 Fabio Valentini <decathorpe@gmail.com> - 0-0.2.20200318.gitba4310b
- Bump to commit ba4310b.
* Fri Feb 28 2020 Fabio Valentini <decathorpe@gmail.com> - 0-0.1.20200224.git676c175
- Initial packaging for fedora.