|
|
445904 |
%global gsettings_desktop_schemas_version 3.21.2
|
|
|
445904 |
|
|
|
445904 |
%global major_version %%(cut -d "." -f 1-2 <<<%{version})
|
|
|
445904 |
|
|
|
445904 |
Name: gnome-tweak-tool
|
|
|
445904 |
Version: 3.22.0
|
|
|
445904 |
Release: 2%{?dist}
|
|
|
445904 |
Summary: A tool to customize advanced GNOME 3 options
|
|
|
445904 |
|
|
|
445904 |
License: GPLv3
|
|
|
445904 |
URL: https://wiki.gnome.org/Apps/GnomeTweakTool
|
|
|
445904 |
Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{version}.tar.xz
|
|
|
445904 |
|
|
|
445904 |
Patch0: 0001-gshellwrapper-Add-missing-extension-state-and-type.patch
|
|
|
445904 |
Patch1: 0002-gshellwrapper-Proxy-the-extension-status-changed-sig.patch
|
|
|
445904 |
Patch2: 0003-shell_extensions-Add-remove-tweaks-as-extensions-are.patch
|
|
|
445904 |
Patch3: 0004-shell_extensions-Add-a-sort-func-to-keep-the-list-or.patch
|
|
|
445904 |
Patch4: 0005-ExtensionInstaller-load-extension-after-installing-i.patch
|
|
|
445904 |
Patch5: 0006-shell_extensions-SESSION_MODE-extensions-can-t-be-en.patch
|
|
|
445904 |
Patch6: 0007-GSettingsFontButtonTweak-filter-out-fonts-that-gtk-3.patch
|
|
|
445904 |
Patch7: 0008-font-Remove-document-font-tweak-since-nothing-honors.patch
|
|
|
445904 |
# https://gitlab.gnome.org/GNOME/gnome-tweaks/commit/34d6d451d7c25482c65c09220ef979aae8101d9d
|
|
|
445904 |
Patch8: gnome-tweak-tool-remove-scaling-factor.patch
|
|
|
445904 |
|
|
|
445904 |
BuildArch: noarch
|
|
|
445904 |
BuildRequires: intltool
|
|
|
445904 |
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
|
|
|
445904 |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
445904 |
BuildRequires: pkgconfig(pygobject-3.0)
|
|
|
445904 |
BuildRequires: desktop-file-utils
|
|
|
445904 |
BuildRequires: libappstream-glib
|
|
|
445904 |
Requires: gnome-shell
|
|
|
445904 |
Requires: gnome-shell-extension-user-theme
|
|
|
445904 |
Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version}
|
|
|
445904 |
Requires: pygobject3
|
|
|
445904 |
|
|
|
445904 |
%description
|
|
|
445904 |
GNOME Tweak Tool is an application for changing the advanced settings
|
|
|
445904 |
of GNOME 3.
|
|
|
445904 |
|
|
|
445904 |
Features:
|
|
|
445904 |
* Install and switch gnome-shell themes
|
|
|
445904 |
* Switch gtk/icon/cursor themes
|
|
|
445904 |
* Switch window manager themes
|
|
|
445904 |
* Change:
|
|
|
445904 |
* The user-interface and titlebar fonts
|
|
|
445904 |
* Icons in menus and buttons
|
|
|
445904 |
* Behavior on laptop lid close
|
|
|
445904 |
* Shell font size
|
|
|
445904 |
* File manager desktop icons
|
|
|
445904 |
* Titlebar click action
|
|
|
445904 |
* Shell clock to show date
|
|
|
445904 |
* Font hinting and antialiasing
|
|
|
445904 |
|
|
|
445904 |
%prep
|
|
|
445904 |
%setup -q
|
|
|
445904 |
%patch0 -p1
|
|
|
445904 |
%patch1 -p1
|
|
|
445904 |
%patch2 -p1
|
|
|
445904 |
%patch3 -p1
|
|
|
445904 |
%patch4 -p1
|
|
|
445904 |
%patch5 -p1
|
|
|
445904 |
%patch6 -p1
|
|
|
445904 |
%patch7 -p1
|
|
|
445904 |
%patch8 -p1
|
|
|
445904 |
|
|
|
445904 |
autoreconf -i -f
|
|
|
445904 |
|
|
|
445904 |
%build
|
|
|
445904 |
PYTHON=%{__python}
|
|
|
445904 |
export PYTHON
|
|
|
445904 |
%configure
|
|
|
445904 |
make %{?_smp_mflags}
|
|
|
445904 |
|
|
|
445904 |
|
|
|
445904 |
%install
|
|
|
445904 |
PYTHON=%{__python}
|
|
|
445904 |
export PYTHON
|
|
|
445904 |
%make_install
|
|
|
445904 |
|
|
|
445904 |
sed -i '1s|^#!/usr/bin/env python|#!%{__python}|' $RPM_BUILD_ROOT%{_bindir}/%{name}
|
|
|
445904 |
|
|
|
445904 |
# Update the screenshot shown in the software center
|
|
|
445904 |
#
|
|
|
445904 |
# NOTE: It would be *awesome* if this file was pushed upstream.
|
|
|
445904 |
#
|
|
|
445904 |
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
|
|
|
445904 |
#
|
|
|
445904 |
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/gnome-tweak-tool.appdata.xml \
|
|
|
445904 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnome-tweak-tool/a.png \
|
|
|
445904 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnome-tweak-tool/b.png
|
|
|
445904 |
|
|
|
445904 |
%find_lang %{name}
|
|
|
445904 |
|
|
|
445904 |
|
|
|
445904 |
%check
|
|
|
445904 |
# Leave the desktop file validation, but don't return an error value ("Phanteon"
|
|
|
445904 |
# value not supported yet by validator in "OnlyShowIn" key)
|
|
|
445904 |
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop || true
|
|
|
445904 |
|
|
|
445904 |
|
|
|
445904 |
%post
|
|
|
445904 |
/bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null || :
|
|
|
445904 |
|
|
|
445904 |
|
|
|
445904 |
%postun
|
|
|
445904 |
if [ $1 -eq 0 ] ; then
|
|
|
445904 |
/bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null
|
|
|
445904 |
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor/ &>/dev/null || :
|
|
|
445904 |
fi
|
|
|
445904 |
|
|
|
445904 |
|
|
|
445904 |
%posttrans
|
|
|
445904 |
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
445904 |
|
|
|
445904 |
|
|
|
445904 |
%files -f %{name}.lang
|
|
|
445904 |
%license COPYING
|
|
|
445904 |
%doc AUTHORS NEWS README
|
|
|
445904 |
%{_bindir}/%{name}
|
|
|
445904 |
%{_libexecdir}/gnome-tweak-tool-lid-inhibitor
|
|
|
445904 |
%{python_sitelib}/gtweak/
|
|
|
445904 |
%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
445904 |
%{_datadir}/applications/%{name}.desktop
|
|
|
445904 |
%{_datadir}/%{name}/
|
|
|
445904 |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
445904 |
%{_datadir}/icons/hicolor/scalable/apps/gnome-tweak-tool-symbolic.svg
|
|
|
445904 |
|
|
|
445904 |
|
|
|
445904 |
%changelog
|
|
|
445904 |
* Fri Apr 13 2018 Kalev Lember <klember@redhat.com> - 3.22.0-2
|
|
|
445904 |
- Remove scaling factor setting, moved to control-center in RHEL 7.5
|
|
|
445904 |
- Resolves: #1567040
|
|
|
445904 |
|
|
|
445904 |
* Thu Sep 22 2016 Kalev Lember <klember@redhat.com> - 3.22.0-1
|
|
|
445904 |
- Update to 3.22.0
|
|
|
445904 |
|
|
|
445904 |
* Tue Sep 06 2016 Kalev Lember <klember@redhat.com> - 3.21.91-1
|
|
|
445904 |
- Update to 3.21.91
|
|
|
445904 |
- Set minimum required gsettings-desktop-schemas version
|
|
|
445904 |
- Update project URLs
|
|
|
445904 |
|
|
|
445904 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.20.1-2
|
|
|
445904 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
445904 |
|
|
|
445904 |
* Tue May 03 2016 Kalev Lember <klember@redhat.com> - 3.20.1-1
|
|
|
445904 |
- Update to 3.20.1
|
|
|
445904 |
|
|
|
445904 |
* Wed Mar 23 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
|
|
|
445904 |
- Update to 3.20.0
|
|
|
445904 |
|
|
|
445904 |
* Wed Feb 17 2016 Richard Hughes <rhughes@redhat.com> - 3.19.90-1
|
|
|
445904 |
- Update to 3.19.90
|
|
|
445904 |
|
|
|
445904 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.1-2
|
|
|
445904 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
445904 |
|
|
|
445904 |
* Wed Jan 20 2016 Kalev Lember <klember@redhat.com> - 3.19.1-1
|
|
|
445904 |
- Update to 3.19.1
|
|
|
445904 |
|
|
|
445904 |
* Wed Nov 11 2015 Kalev Lember <klember@redhat.com> - 3.18.1-1
|
|
|
445904 |
- Update to 3.18.1
|
|
|
445904 |
|
|
|
445904 |
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 3.18.0-1
|
|
|
445904 |
- Update to 3.18.0
|
|
|
445904 |
|
|
|
445904 |
* Tue Aug 18 2015 Kalev Lember <klember@redhat.com> - 3.17.90-1
|
|
|
445904 |
- Update to 3.17.90
|
|
|
445904 |
- Use make_install macro
|
|
|
445904 |
|
|
|
445904 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17.1-2
|
|
|
445904 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
445904 |
|
|
|
445904 |
* Thu Apr 30 2015 Kalev Lember <kalevlember@gmail.com> - 3.17.1-1
|
|
|
445904 |
- Update to 3.17.1
|
|
|
445904 |
|
|
|
445904 |
* Thu Apr 16 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.1-1
|
|
|
445904 |
- Update to 3.16.1
|
|
|
445904 |
|
|
|
445904 |
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.16.0-2
|
|
|
445904 |
- Use better AppData screenshots
|
|
|
445904 |
|
|
|
445904 |
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
|
|
|
445904 |
- Update to 3.16.0
|
|
|
445904 |
|
|
|
445904 |
* Tue Mar 17 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.92-1
|
|
|
445904 |
- Update to 3.15.92
|
|
|
445904 |
- Use license macro for the COPYING file
|
|
|
445904 |
|
|
|
445904 |
* Tue Feb 17 2015 Richard Hughes <rhughes@redhat.com> - 3.15.90-1
|
|
|
445904 |
- Update to 3.15.90
|
|
|
445904 |
|
|
|
445904 |
* Fri Nov 14 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
|
|
|
445904 |
- Update to 3.14.2
|
|
|
445904 |
|
|
|
445904 |
* Tue Sep 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
|
|
|
445904 |
- Update to 3.14.0
|
|
|
445904 |
|
|
|
445904 |
* Wed Sep 17 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.92-1
|
|
|
445904 |
- Update to 3.13.92
|
|
|
445904 |
|
|
|
445904 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.0-2
|
|
|
445904 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
445904 |
|
|
|
445904 |
* Thu Mar 27 2014 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.12.0-1
|
|
|
445904 |
- Update to 3.12.0
|
|
|
445904 |
|
|
|
445904 |
* Wed Nov 20 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.10.1-2
|
|
|
445904 |
- Drop now useless dependency on Nautilus (RHBZ #1030449)
|
|
|
445904 |
|
|
|
445904 |
* Wed Nov 13 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1-1
|
|
|
445904 |
- Update to 3.10.1
|
|
|
445904 |
|
|
|
445904 |
* Sat Oct 19 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.10.0-2
|
|
|
445904 |
- Fix extension update checks
|
|
|
445904 |
- Fix RHBZ #1017801
|
|
|
445904 |
|
|
|
445904 |
* Wed Sep 25 2013 Mohamed El Morabity - 3.10.0-1
|
|
|
445904 |
- Update to 3.10.0
|
|
|
445904 |
|
|
|
445904 |
* Thu Sep 19 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.9.92-1
|
|
|
445904 |
- Update to 3.9.92
|
|
|
445904 |
|
|
|
445904 |
* Wed Sep 04 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.9.91-1
|
|
|
445904 |
- Update to 3.9.91
|
|
|
445904 |
|
|
|
445904 |
* Thu Aug 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90.1-1
|
|
|
445904 |
- Update to 3.9.90.1
|
|
|
445904 |
|
|
|
445904 |
* Thu Aug 22 2013 Adam Williamson <awilliam@redhat.com> - 3.9.90-1
|
|
|
445904 |
- bump to latest version
|
|
|
445904 |
- drop shell_themes.patch as #703760 is marked FIXED
|
|
|
445904 |
|
|
|
445904 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-2
|
|
|
445904 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
445904 |
|
|
|
445904 |
* Tue Jul 23 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.8.1-1
|
|
|
445904 |
- Update to 3.8.1
|
|
|
445904 |
- Drop gnome-tweak-tool-3.8.0-pref.js.patch patch (merged upstream)
|
|
|
445904 |
|
|
|
445904 |
* Sun Jul 07 2013 Mohamed El Morabity <pikachu.2014@gmail.com> - 3.8.0-3
|
|
|
445904 |
- Add patch to make gnome-tweak-tool look shell themes only in ~/.themes
|
|
|
445904 |
|
|
|
445904 |
* Sat May 25 2013 Mohamed El Morabity <pikachu.2014@gmail.com> - 3.8.0-2
|
|
|
445904 |
- Add patch to allow pref.js for system extensions (thanks to Ralph Bean)
|
|
|
445904 |
|
|
|
445904 |
* Mon Apr 08 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.8.0-1
|
|
|
445904 |
- Update to 3.8.0
|
|
|
445904 |
|
|
|
445904 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.4-2
|
|
|
445904 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
445904 |
|
|
|
445904 |
* Wed Jan 16 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.7.4-1
|
|
|
445904 |
- Update to 3.7.4
|
|
|
445904 |
- Drop remove_lid_close_settings patch, fixed upstream
|
|
|
445904 |
- Spec cleanup
|
|
|
445904 |
|
|
|
445904 |
* Fri Nov 2 2012 Michel Salim <salimma@fedoraproject.org> - 3.6.1-2
|
|
|
445904 |
- Drop lid close configuration options that are now handled by systemd
|
|
|
445904 |
|
|
|
445904 |
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
|
|
|
445904 |
- Update to 3.6.1
|
|
|
445904 |
|
|
|
445904 |
* Wed Oct 3 2012 Matthias Clasen <mclasen@redhat.com> - 3.6.0-1
|
|
|
445904 |
- Update to 3.6.0
|
|
|
445904 |
|
|
|
445904 |
* Wed Aug 22 2012 Richard Hughes <hughsient@gmail.com> - 3.5.5-1
|
|
|
445904 |
- Update to 3.5.5
|
|
|
445904 |
|
|
|
445904 |
* Thu Aug 9 2012 Michel Salim <salimma@fedoraproject.org> - 3.5.4-1
|
|
|
445904 |
- Update to 3.5.4
|
|
|
445904 |
|
|
|
445904 |
* Sun Aug 5 2012 Michel Salim <salimma@fedoraproject.org> - 3.5.0-0.1.20120717git3869087
|
|
|
445904 |
- Update to 3.5.0 snapshot for GNOME 3.5.x compatibility
|
|
|
445904 |
|
|
|
445904 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0.1-3
|
|
|
445904 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
445904 |
|
|
|
445904 |
* Mon Jun 4 2012 Michel Salim <salimma@fedoraproject.org> - 3.4.0.1-2
|
|
|
445904 |
- Add R: on user theme extension (# 826129)
|
|
|
445904 |
|
|
|
445904 |
* Mon May 14 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0.1-1
|
|
|
445904 |
- Update to 3.4.0.1
|
|
|
445904 |
|
|
|
445904 |
* Mon May 14 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0-1
|
|
|
445904 |
- Update to 3.4.0
|
|
|
445904 |
|
|
|
445904 |
* Sat Jan 21 2012 Michel Salim <salimma@fedoraproject.org> - 3.3.4-1
|
|
|
445904 |
- Update to 3.3.4
|
|
|
445904 |
|
|
|
445904 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
|
|
|
445904 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
445904 |
|
|
|
445904 |
* Mon Nov 14 2011 Michel Salim <salimma@fedoraproject.org> - 3.2.1-1
|
|
|
445904 |
- Update to 3.2.1
|
|
|
445904 |
|
|
|
445904 |
* Wed Sep 28 2011 Ray <rstrode@redhat.com> - 3.2.0-1
|
|
|
445904 |
- Update to 3.2.0
|
|
|
445904 |
|
|
|
445904 |
* Thu Sep 1 2011 Michel Salim <salimma@fedoraproject.org> - 3.1.90-1
|
|
|
445904 |
- Update to 3.1.90
|
|
|
445904 |
|
|
|
445904 |
* Sun Aug 21 2011 Michel Salim <salimma@fedoraproject.org> - 3.1.0-1
|
|
|
445904 |
- Update to 3.1.0
|
|
|
445904 |
|
|
|
445904 |
* Tue Jul 19 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-2
|
|
|
445904 |
- Depend on nautilus (# 722541)
|
|
|
445904 |
|
|
|
445904 |
* Thu Jun 30 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-1
|
|
|
445904 |
- Update to 3.0.5
|
|
|
445904 |
- upstream news:
|
|
|
445904 |
http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.5.news
|
|
|
445904 |
* autostart fixes
|
|
|
445904 |
* appearance improvements
|
|
|
445904 |
* focus follow mouse mode
|
|
|
445904 |
* finer-grained desktop item visibility
|
|
|
445904 |
* streamlined shell restart offer when enabling extensions
|
|
|
445904 |
|
|
|
445904 |
* Mon Jun 13 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.4-1
|
|
|
445904 |
- Update to 3.0.4
|
|
|
445904 |
- Dropped redundant commented out lines in spec
|
|
|
445904 |
- Updated description
|
|
|
445904 |
- Dropped defattr since it is set by default in recent RPM
|
|
|
445904 |
- http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.4.news
|
|
|
445904 |
* Enables support for system wide themes
|
|
|
445904 |
* Supports management of shell extensions
|
|
|
445904 |
|
|
|
445904 |
* Wed May 4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.3-1
|
|
|
445904 |
- Update to 3.0.3
|
|
|
445904 |
|
|
|
445904 |
* Mon Apr 4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.0-1
|
|
|
445904 |
- Update to 3.0.0
|
|
|
445904 |
|
|
|
445904 |
* Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-2
|
|
|
445904 |
- Enable icon theme selection
|
|
|
445904 |
|
|
|
445904 |
* Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-1
|
|
|
445904 |
- Update to 2.91.93
|
|
|
445904 |
|
|
|
445904 |
* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-3
|
|
|
445904 |
- Include license information
|
|
|
445904 |
|
|
|
445904 |
* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-2
|
|
|
445904 |
- Use %%configure macro
|
|
|
445904 |
- Validate desktop file
|
|
|
445904 |
|
|
|
445904 |
* Mon Mar 21 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-1
|
|
|
445904 |
- Initial package
|