Import elementary-shortcut-overlay-1.2.1-4.el9

This commit is contained in:
Sofia Boldyreva 2023-03-16 23:36:56 +01:00
commit b790f0cda1
4 changed files with 162 additions and 0 deletions

View File

@ -0,0 +1 @@
6d3f32a3aa350ad4b2315d1ea9fac0b5435cb0df SOURCES/shortcut-overlay-1.2.1.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/shortcut-overlay-1.2.1.tar.gz

View File

@ -0,0 +1,25 @@
From 0ab2622c947396a43cf325324d693898751b126e Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Wed, 13 Jul 2022 14:21:29 +0200
Subject: [PATCH] meson: remove deprecated positional arguments from
i18n.merge_file calls
---
data/meson.build | 1 -
1 file changed, 1 deletion(-)
diff --git a/data/meson.build b/data/meson.build
index 77a7909..09feaa7 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -8,7 +8,6 @@ i18n.merge_file (
)
i18n.merge_file (
- 'desktop',
input: 'shortcut-overlay.desktop.in',
output: meson.project_name() + '.desktop',
po_dir: join_paths(meson.source_root (), 'po', 'extra'),
--
2.37.1

View File

@ -0,0 +1,135 @@
## START: Set by rpmautospec
## (rpmautospec version 0.2.6)
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
release_number = 4;
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 shortcut-overlay
%global appname io.elementary.shortcut-overlay
Name: elementary-shortcut-overlay
Summary: Native, OS-wide shortcut overlay
Version: 1.2.1
Release: %autorelease
License: GPLv3
URL: https://github.com/elementary/shortcut-overlay
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
# meson: remove deprecated positional arguments from i18n.merge_file calls
Patch1: 0001-meson-remove-deprecated-positional-arguments-from-i1.patch
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(granite) >= 5.2.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libhandy-1) >= 0.80.0
%description
This GTK+ applet reads window manager and OS keyboard shortcuts from
dconf and exposes them to the user when launched. Inspired by the
similar feature of Ubuntu Unity introduced in Ubuntu 12.04.
The shortcut window opens centered on the primary display. The gear in
the titlebar opens the system keyboard settings.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{appname}
%check
desktop-file-validate \
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%files -f %{appname}.lang
%doc README.md
%license LICENSE
%{_bindir}/%{appname}
%{_datadir}/applications/%{appname}.desktop
%{_datadir}/metainfo/%{appname}.appdata.xml
%changelog
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 1.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jul 13 2022 Fabio Valentini <decathorpe@gmail.com> 1.2.1-3
- Fix builds with meson >= 0.62
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 1.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Oct 30 2021 Fabio Valentini <decathorpe@gmail.com> 1.2.1-1
- Update to version 1.2.1; Fixes RHBZ#2018632
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jul 15 2021 Fabio Valentini <decathorpe@gmail.com> 1.2.0-1
- Update to version 1.2.0
* Thu Feb 18 2021 Fabio Valentini <decathorpe@gmail.com> - 1.1.2-4.20210120git8e3ba1f
- Bump to commit 8e3ba1f. Rebuilt for granite 6 soname bump.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 29 2020 Fabio Valentini <decathorpe@gmail.com> - 1.1.2-1
- Update to version 1.1.2.
* Fri Apr 03 2020 Fabio Valentini <decathorpe@gmail.com> - 1.1.1-1
- Update to version 1.1.1.
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Nov 16 2019 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-1
- Update to version 1.1.0.
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Sep 18 2018 Fabio Valentini <decathorpe@gmail.com> - 1.0.1-1
- Update to version 1.0.1.
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 13 2018 Fabio Valentini <decathorpe@gmail.com> - 1.0-2
- Rebuild for granite5 soname bump.
* Wed Jun 06 2018 Fabio Valentini <decathorpe@gmail.com> - 1.0-1
- Initial package.