Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/gnome-tweaks.git#7ea8cca473025862fd8882efef82a8d7a3eeb14d
This commit is contained in:
DistroBaker 2021-02-16 19:00:18 +00:00
parent 0d3158151f
commit 4097f208cb
3 changed files with 18 additions and 19 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <melmorabity@fedoraproject.org> - 40~beta-1
- Update to 40.beta
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (gnome-tweaks-3.34.1.tar.xz) = c922bf696b9ff48c8c39fd4ae06f4b72ea7b18645ad41552b0367859066d7601bc59521643335931e1cce799344a1c1ac9a7c28408de4c19bfa4127594a2ec7d
SHA512 (gnome-tweaks-40.beta.tar.xz) = 5dca47fc276b414ea6d0c21168f72f1e27055cd822c4cd9c6e9a635854379cf037d3241618d50ea483b3aea5caf4cf5902309224849d55eb701e59b94d078e67