diff --git a/.gitignore b/.gitignore index 7572551..4051cde 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/gnome-tweaks-40.10.tar.xz +SOURCES/gnome-tweaks-46.1.tar.xz diff --git a/.gnome-tweaks.metadata b/.gnome-tweaks.metadata index c27af45..d2503ed 100644 --- a/.gnome-tweaks.metadata +++ b/.gnome-tweaks.metadata @@ -1 +1 @@ -4d69fc7bb4982a281066d9c62d6a2713df2955e2 SOURCES/gnome-tweaks-40.10.tar.xz +54f96c343984a613a86512eb0e4f5d5106b94ce7 SOURCES/gnome-tweaks-46.1.tar.xz diff --git a/SPECS/gnome-tweaks.spec b/SPECS/gnome-tweaks.spec index 9f7a6a1..83e49b7 100644 --- a/SPECS/gnome-tweaks.spec +++ b/SPECS/gnome-tweaks.spec @@ -1,13 +1,13 @@ -%global tarball_version %%(echo %{version} | tr '~' '.') +%global tarball_version %%(tr '~' '.' <<<%{version}) %global major_version %%(cut -d '.' -f 1 <<<%{tarball_version}) Name: gnome-tweaks -Version: 40.10 +Version: 46.1 Release: 1%{?dist} Summary: Customize advanced GNOME 3 options -# Software is GPLv3, Appdata file is CC0-1.0 -License: GPLv3 and CC0 +# Software is GPL-3.0+, Appdata file is CC0-1.0 +License: GPL-3.0-or-later AND CC0-1.0 URL: https://wiki.gnome.org/Apps/Tweaks Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz @@ -16,20 +16,27 @@ BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: python3-devel -Requires: gnome-desktop3 -Requires: gnome-settings-daemon -Requires: gnome-shell -Requires: gnome-shell-extension-user-theme -Requires: gnome-themes-extra +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 46.0 +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: pkgconfig(libadwaita-1) +BuildRequires: pkgconfig(pygobject-3.0) +Requires: gnome-desktop4 Requires: gobject-introspection Requires: gsettings-desktop-schemas -Requires: gtk3 -Requires: libhandy1 +Requires: gtk4 +Requires: libadwaita +Requires: libgudev Requires: libnotify -Requires: libsoup -Requires: mutter Requires: pango -Requires: python3dist(pygobject) +Requires: %{py3_dist pygobject} +Recommends: gnome-settings-daemon +Recommends: gnome-shell +Recommends: mutter +Recommends: sound-theme-freedesktop +Suggests: gnome-shell-extension-user-theme Provides: gnome-tweak-tool = %{version}-%{release} BuildArch: noarch @@ -41,7 +48,7 @@ and extension, etc. %prep -%autosetup -n %{name}-%{tarball_version} -p1 -S gendiff +%autosetup -n %{name}-%{tarball_version} -p1 %build @@ -57,39 +64,80 @@ and extension, etc. %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop -appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/metainfo/*.appdata.xml +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/*.appdata.xml %files -f %{name}.lang %doc AUTHORS NEWS README.md %license LICENSES/* %{_bindir}/%{name} -%{_libexecdir}/gnome-tweak-tool-lid-inhibitor %{python3_sitelib}/gtweak/ %{_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 +%{_metainfodir}/*.appdata.xml %changelog -* Mon Mar 14 2022 Milan Crha - 40.10-1 -- Resolves: #2063688 (Update to 40.10 release) +* Mon Dec 23 2024 Arkady L. Shane - 46.1-1 +- Rebuilt for MSVSphere 10 -* Mon Aug 09 2021 Mohan Boddu - 40.0-6 -- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Related: rhbz#1991688 +* Fri Apr 26 2024 David King - 46.1-1 +- Update to 46.1 -* Mon Jul 19 2021 Milan Crha - 40.0-5 -- Resolves: #1973391 (Remove the patch, not applicable due to Nautilus changes) +* Mon Mar 18 2024 David King - 46.0-1 +- Update to 46.0 -* Fri Jun 18 2021 Milan Crha - 40.0-4 -- Resolves: #1973391 (Backport downstream patch from older RHEL) +* Tue Mar 05 2024 Adam Williamson - 46~beta-2 +- Backport MR #133 to fix compatibility with our current pygobject (#2266153) -* Thu Apr 15 2021 Mohan Boddu - 40.0-3 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 +* Fri Feb 16 2024 David King - 46~beta-1 +- Update to 46.beta + +* Wed Jan 24 2024 Fedora Release Engineering - 45.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 45.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Sep 24 2023 Mohamed El Morabity - 45.0-1 +- Update to 45.0 + +* Wed Jul 19 2023 Fedora Release Engineering - 42~beta-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jun 15 2023 Python Maint - 42~beta-7 +- Rebuilt for Python 3.12 + +* Mon May 01 2023 Mohamed El Morabity - 42~beta-6 +- Switch to SPDX license identifiers +- Separate app and host requirements (https://src.fedoraproject.org/rpms/gnome-tweaks/pull-request/2) + +* Thu Jan 19 2023 Fedora Release Engineering - 42~beta-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 42~beta-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 27 2022 Mohamed El Morabity - 42~beta-3 +- Drop useless dependency on libsoup (RHBZ #2090983) + +* Mon Jun 13 2022 Python Maint - 42~beta-2 +- Rebuilt for Python 3.11 + +* Mon Mar 07 2022 Mohamed El Morabity - 42~beta-1 +- Update to 42.beta + +* Thu Jan 20 2022 Fedora Release Engineering - 40.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 40.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 40.0-3 +- Rebuilt for Python 3.10 * Sat Mar 27 2021 Kalev Lember - 40.0-2 - Use upstream appdata screenshots