From 8e86ba2446c0b576cdc77335d8490d7c3bebefe0 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Mon, 15 Feb 2021 14:38:31 +0100 Subject: [PATCH] Update to 40.beta --- .gitignore | 1 + gnome-tweaks.spec | 34 ++++++++++++++++------------------ sources | 2 +- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 9f7d903..5c10734 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /gnome-tweaks-3.33.90.tar.xz /gnome-tweaks-3.34.0.tar.xz /gnome-tweaks-3.34.1.tar.xz +/gnome-tweaks-40.beta.tar.xz diff --git a/gnome-tweaks.spec b/gnome-tweaks.spec index cec82eb..7147647 100644 --- a/gnome-tweaks.spec +++ b/gnome-tweaks.spec @@ -1,22 +1,17 @@ -%global majorversion %(cut -d "." -f 1-2 <<<%{version}) +%global prerelease beta + +%global _version %(cut -d "~" -f 1 <<<%{version}) +%global majorversion %(cut -d "." -f 1-2 <<<%{_version}) Name: gnome-tweaks -Version: 3.34.1 -Release: 2%{?dist} +Version: 40%{?prerelease:~%{prerelease}} +Release: 1%{?dist} Summary: Customize advanced GNOME 3 options # Software is GPLv3, Appdata file is CC0-1.0 License: GPLv3 and CC0 -URL: https://wiki.gnome.org/action/show/Apps/Tweaks -Source0: https://download.gnome.org/sources/%{name}/%{majorversion}/%{name}-%{version}.tar.xz - -# Fix opening system installed extensions in gnome-software -# https://gitlab.gnome.org/GNOME/gnome-tweaks/merge_requests/25 -Patch0: 0001-extensions-Fix-opening-system-installed-extensions-i.patch -# Fix extension preferences with gnome-extensions instead of -# gnome-shell-extension-prefs -# https://bugzilla.redhat.com/show_bug.cgi?id=1820396#c2 -Patch1: 0002-extensions-Fix-preferences-opening.patch +URL: https://wiki.gnome.org/Apps/Tweaks +Source0: https://download.gnome.org/sources/%{name}/%{majorversion}/%{name}-%{_version}%{?prerelease:.%{prerelease}}.tar.xz BuildRequires: desktop-file-utils BuildRequires: gettext @@ -37,7 +32,6 @@ Requires: mutter Requires: pango Requires: python3dist(pygobject) Provides: gnome-tweak-tool = %{version}-%{release} -Obsoletes: gnome-tweak-tool < 3.27.3-4 BuildArch: noarch %description @@ -48,7 +42,7 @@ and extension, etc. %prep -%autosetup -p1 +%autosetup -n %{name}-%{_version}%{?prerelease:.%{prerelease}} %build @@ -79,18 +73,22 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/metainfo/*.app %files -f %{name}.lang %doc AUTHORS NEWS README.md -%license LICENSES/ +%license LICENSES/* %{_bindir}/%{name} %{_libexecdir}/gnome-tweak-tool-lid-inhibitor %{python3_sitelib}/gtweak/ -%{_datadir}/metainfo/*.appdata.xml -%{_datadir}/applications/*.desktop %{_datadir}/%{name}/ +%{_datadir}/applications/*.desktop +%{_datadir}/glib-2.0/schemas/*.xml %{_datadir}/icons/hicolor/*/apps/org.gnome.tweaks.svg %{_datadir}/icons/hicolor/symbolic/apps/org.gnome.tweaks-symbolic.svg +%{_datadir}/metainfo/*.appdata.xml %changelog +* Mon Feb 15 2021 Mohamed El Morabity - 40~beta-1 +- Update to 40.beta + * Tue Jan 26 2021 Fedora Release Engineering - 3.34.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index dc70b15..347872c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gnome-tweaks-3.34.1.tar.xz) = c922bf696b9ff48c8c39fd4ae06f4b72ea7b18645ad41552b0367859066d7601bc59521643335931e1cce799344a1c1ac9a7c28408de4c19bfa4127594a2ec7d +SHA512 (gnome-tweaks-40.beta.tar.xz) = 5dca47fc276b414ea6d0c21168f72f1e27055cd822c4cd9c6e9a635854379cf037d3241618d50ea483b3aea5caf4cf5902309224849d55eb701e59b94d078e67