Import elementary-screenshot-tool-6.0.2-4.el9
This commit is contained in:
commit
6a0d27f862
1
.elementary-screenshot-tool.metadata
Normal file
1
.elementary-screenshot-tool.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
ed3c002df2258eeb60a8760abc5eeacc2b0d655d SOURCES/screenshot-6.0.2.tar.gz
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
SOURCES/screenshot-6.0.2.tar.gz
|
@ -0,0 +1,33 @@
|
|||||||
|
From 6e4a9732b926b9ac360b7f81ad467c887543601a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fabio Valentini <decathorpe@gmail.com>
|
||||||
|
Date: Wed, 13 Jul 2022 14:16:20 +0200
|
||||||
|
Subject: [PATCH] meson: remove deprecated positional arguments from
|
||||||
|
i18n.merge_file calls
|
||||||
|
|
||||||
|
---
|
||||||
|
data/meson.build | 2 --
|
||||||
|
1 file changed, 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/data/meson.build b/data/meson.build
|
||||||
|
index cb2adc8..76dad52 100644
|
||||||
|
--- a/data/meson.build
|
||||||
|
+++ b/data/meson.build
|
||||||
|
@@ -20,7 +20,6 @@ install_data(
|
||||||
|
)
|
||||||
|
|
||||||
|
i18n.merge_file (
|
||||||
|
- 'desktop',
|
||||||
|
input: 'screenshot.desktop.in',
|
||||||
|
output: meson.project_name() + '.desktop',
|
||||||
|
install: true,
|
||||||
|
@@ -30,7 +29,6 @@ i18n.merge_file (
|
||||||
|
)
|
||||||
|
|
||||||
|
i18n.merge_file (
|
||||||
|
- 'appdata',
|
||||||
|
input: 'screenshot.appdata.xml.in',
|
||||||
|
output: meson.project_name() + '.appdata.xml',
|
||||||
|
install: true,
|
||||||
|
--
|
||||||
|
2.37.1
|
||||||
|
|
141
SPECS/elementary-screenshot-tool.spec
Normal file
141
SPECS/elementary-screenshot-tool.spec
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
## 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 screenshot
|
||||||
|
%global appname io.elementary.screenshot
|
||||||
|
|
||||||
|
Name: elementary-screenshot-tool
|
||||||
|
Summary: Screenshot tool designed for elementary
|
||||||
|
Version: 6.0.2
|
||||||
|
Release: %autorelease
|
||||||
|
License: LGPLv3
|
||||||
|
|
||||||
|
URL: https://github.com/elementary/screenshot
|
||||||
|
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 >= 0.46
|
||||||
|
BuildRequires: vala >= 0.24
|
||||||
|
|
||||||
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(granite) >= 6.0.0
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12
|
||||||
|
BuildRequires: pkgconfig(libhandy-1) >= 0.83.0
|
||||||
|
|
||||||
|
Requires: hicolor-icon-theme
|
||||||
|
|
||||||
|
%description
|
||||||
|
Screenshot tool designed for elementary.
|
||||||
|
|
||||||
|
|
||||||
|
%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 COPYING
|
||||||
|
|
||||||
|
%{_bindir}/%{appname}
|
||||||
|
|
||||||
|
%{_datadir}/applications/%{appname}.desktop
|
||||||
|
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
|
||||||
|
%{_datadir}/metainfo/%{appname}.appdata.xml
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 6.0.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 13 2022 Fabio Valentini <decathorpe@gmail.com> 6.0.2-3
|
||||||
|
- Fix builds with meson >= 0.62
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 6.0.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 14 2021 Fabio Valentini <decathorpe@gmail.com> 6.0.2-1
|
||||||
|
- Update to version 6.0.2
|
||||||
|
|
||||||
|
* Thu Oct 28 2021 Fabio Valentini <decathorpe@gmail.com> 6.0.1-1
|
||||||
|
- Update to version 6.0.1; Fixes RHBZ#2018115
|
||||||
|
|
||||||
|
* 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 Feb 18 2021 Fabio Valentini <decathorpe@gmail.com> - 1.7.1-5.20210217gite33fa59
|
||||||
|
- Bump to commit e33fa59. Rebuilt for granite 6 soname bump.
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 22 2020 Fabio Valentini <decathorpe@gmail.com> - 1.7.1-1
|
||||||
|
- Update to version 1.7.1.
|
||||||
|
|
||||||
|
* Sat Nov 16 2019 Fabio Valentini <decathorpe@gmail.com> - 1.7.0-1
|
||||||
|
- Update to version 1.7.0.
|
||||||
|
|
||||||
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 20 2019 Fabio Valentini <decathorpe@gmail.com> - 1.6.2-1
|
||||||
|
- Update to version 1.6.2.
|
||||||
|
|
||||||
|
* Mon Feb 04 2019 Fabio Valentini <decathorpe@gmail.com> - 1.6.1-1
|
||||||
|
- Update to version 1.6.1.
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Oct 19 2018 Fabio Valentini <decathorpe@gmail.com> - 1.6.0-1
|
||||||
|
- Update to version 1.6.0.
|
||||||
|
|
||||||
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 13 2018 Fabio Valentini <decathorpe@gmail.com> - 0.1.5-2
|
||||||
|
- Rebuild for granite5 soname bump.
|
||||||
|
|
||||||
|
* Wed Jun 06 2018 Fabio Valentini <decathorpe@gmail.com> - 0.1.5-1
|
||||||
|
- Initial package renamed from screenshot-tool.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user