Blame SPECS/gnome-tweak-tool.spec

006048
%global major_version %%(cut -d "." -f 1-2 <<<%{version})
006048
006048
Name:           gnome-tweak-tool
006048
Version:        3.8.1
aaa06e
Release:        7%{?dist}
006048
Summary:        A tool to customize advanced GNOME 3 options
006048
006048
License:        GPLv3
006048
URL:            http://live.gnome.org/GnomeTweakTool
006048
Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/%{major_version}/gnome-tweak-tool-%{version}.tar.xz
006048
006048
Patch0:         0001-gtweak-tweakmodel.py-Fix-search.patch
006048
Patch1:         0001-tweak_typing.py-Make-sure-we-display-all-the-text-in.patch
006048
006048
Patch2:         0001-tweak_shell_extensions.py-Offer-to-restart-the-shell.patch
006048
Patch3:         0002-tweak_shell_extensions.py-Disable-widget-if-extensio.patch
006048
Patch4:         0003-Add-a-way-to-reload-tweaks-when-there-are-changes-af.patch
006048
Patch5:         0004-Add-tweaks-for-shell-extensions-installed-after-star.patch
006048
Patch6:         0005-tweak_shell_extensions.py-Load-extension-after-insta.patch
006048
Patch7:         0006-Prevent-SESSION_MODE-extensions-from-being-enabled-d.patch
aaa06e
Patch8:         0001-tweakmodel.py-Match-substrings-in-search-too.patch
aaa06e
Patch9:         0002-GSettingsFontButtonTweak-filter-out-fonts-that-gtk-3.patch
aaa06e
Patch10:        0003-tweak_font.py-Remove-document-font-tweak-since-nothi.patch
aaa06e
Patch11:        0004-tweak_typing.py-Blacklist-grp-and-grp_led-XKB-option.patch
aaa06e
Patch12:        0005-tweakview.py-Remove-and-re-add-all-tweaks-on-tweak-r.patch
aaa06e
Patch13:        0001-Add-a-tweak-to-ignore-systemd-s-default-lid-switch-a.patch
aaa06e
Patch14:        0001-Fix-autogen-and-configure-with-latest-gnome-common.patch
006048
006048
BuildArch:      noarch
006048
BuildRequires:  GConf2
006048
BuildRequires:  intltool
006048
BuildRequires:  pkgconfig(gsettings-desktop-schemas)
006048
BuildRequires:  pkgconfig(pygobject-3.0)
006048
BuildRequires:  desktop-file-utils
006048
Requires:       gnome-shell
006048
Requires:       nautilus
006048
Requires:       pygobject3
006048
006048
%description
006048
GNOME Tweak Tool is an application for changing the advanced settings
006048
of GNOME 3.
006048
006048
Features:
006048
* Install and switch gnome-shell themes
006048
* Switch gtk/icon/cursor themes
006048
* Switch window manager themes
006048
* Change:
006048
        * The user-interface and titlebar fonts
006048
        * Icons in menus and buttons
006048
        * Behavior on laptop lid close
006048
        * Shell font size
006048
        * File manager desktop icons
006048
        * Titlebar click action
006048
        * Shell clock to show date
006048
        * Font hinting and antialiasing 
006048
006048
%prep
006048
%setup -q
006048
%patch0 -p1
006048
%patch1 -p1
006048
%patch2 -p1
006048
%patch3 -p1
006048
%patch4 -p1
006048
%patch5 -p1
006048
%patch6 -p1
006048
%patch7 -p1
aaa06e
%patch8 -p1
aaa06e
%patch9 -p1
aaa06e
%patch10 -p1
aaa06e
%patch11 -p1
aaa06e
%patch12 -p1
aaa06e
%patch13 -p1
aaa06e
%patch14 -p1
006048
aaa06e
autoreconf -i -f
006048
006048
%build
006048
PYTHON=%{__python}
006048
export PYTHON
006048
%configure
006048
make %{?_smp_mflags}
006048
006048
006048
%install
006048
PYTHON=%{__python}
006048
export PYTHON
006048
make install DESTDIR=$RPM_BUILD_ROOT
006048
006048
sed -i '1s|^#!/usr/bin/env python|#!%{__python}|' $RPM_BUILD_ROOT%{_bindir}/%{name}
006048
006048
# Leave the desktop file validation, but don't return an error value ("Phanteon"
006048
# value not supported yet in "OnlyShowIn" key by validator)
006048
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop || true
006048
006048
%find_lang %{name}
006048
006048
006048
%post
006048
/bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null || :
006048
006048
006048
%postun
006048
if [ $1 -eq 0 ] ; then
006048
  /bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null
006048
  /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor/ &>/dev/null || :
006048
fi
006048
006048
006048
%posttrans
006048
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
006048
006048
006048
%files -f %{name}.lang
006048
%doc AUTHORS COPYING NEWS README
006048
%{_bindir}/%{name}
006048
%{python_sitelib}/gtweak/
006048
%{_datadir}/applications/%{name}.desktop
006048
%{_datadir}/%{name}/
006048
%{_datadir}/icons/hicolor/*/apps/%{name}.png
aaa06e
%{_libexecdir}/%{name}-lid-inhibitor
006048
006048
006048
%changelog
aaa06e
* Mon Feb  3 2014 Rui Matos <rmatos@redhat.com> - 3.8.1-7
aaa06e
- Resolves: rhbz#1001511 - Power Management: suspend when laptop lid close should be easily configurable
aaa06e
- Add an upstream patch to fix intltool and gettext brokenness
aaa06e
aaa06e
* Mon Jan  6 2014 Rui Matos <rmatos@redhat.com> - 3.8.1-6
aaa06e
- Resolves: rhbz#1036226 - Search part of words does not work in gnome-tweak-tool
aaa06e
- Resolves: rhbz#1037620 - Default/Document font set to italic shows normal font
aaa06e
- Resolves: rhbz#1038003 - Some shortcuts for changing layout does not work
aaa06e
- Resolves: rhbz#1038116 - "Use keyboard LED to show alternative layout" option does not light up selected LED
aaa06e
- Resolves: rhbz#1037831 - Extension installed via website is shown in gnome-tweak-tool in wrong order in the real time
aaa06e
aaa06e
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.1-5
aaa06e
- Mass rebuild 2013-12-27
aaa06e
006048
* Fri Nov  8 2013 Rui Matos <rmatos@redhat.com> - 3.8.1-4
006048
- Resolves: rhbz#1017208 - Restart button in gnome-tweak-tool does not restart gnome-shell
006048
- Resolves: rhbz#1016144 - User should not change state of Classic Mode extensions in gnome-tweak-tool
006048
006048
* Tue Nov  5 2013 Rui Matos <rmatos@redhat.com> - 3.8.1-3
006048
- Resolves: rhbz#998547 - Descriptions in drop-down lists don't fit in window
006048
- Resolves: rhbz#1014796 - Search does not work in gnome-tweak-tool
006048
006048
* Fri Nov  1 2013 Rui Matos <rmatos@redhat.com>
006048
- Resolves: rhbz#987021 - avoid shebang with /usr/bin/env
006048
006048
* Sat Sep 14 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.8.1-2
006048
- Drop gnome-tweak-tool-3.8.0-shell_themes.patch patch, since theme search is
006048
  fixed with GS user theme extension 3.8.4
006048
006048
* Tue Jul 23 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.8.1-1
006048
- Update to 3.8.1
006048
- Drop gnome-tweak-tool-3.8.0-pref.js.patch patch (merged upstream)
006048
006048
* Sun Jul 07 2013 Mohamed El Morabity <pikachu.2014@gmail.com> - 3.8.0-3
006048
- Add patch to make gnome-tweak-tool look shell themes only in ~/.themes
006048
006048
* Sat May 25 2013 Mohamed El Morabity <pikachu.2014@gmail.com> - 3.8.0-2
006048
- Add patch to allow pref.js for system extensions (thanks to Ralph Bean)
006048
006048
* Mon Apr 08 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.8.0-1
006048
- Update to 3.8.0
006048
006048
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.4-2
006048
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
006048
006048
* Wed Jan 16 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.7.4-1
006048
- Update to 3.7.4
006048
- Drop remove_lid_close_settings patch, fixed upstream
006048
- Spec cleanup
006048
006048
* Fri Nov  2 2012 Michel Salim <salimma@fedoraproject.org> - 3.6.1-2
006048
- Drop lid close configuration options that are now handled by systemd
006048
006048
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
006048
- Update to 3.6.1
006048
006048
* Wed Oct  3 2012 Matthias Clasen <mclasen@redhat.com> - 3.6.0-1
006048
- Update to 3.6.0
006048
006048
* Wed Aug 22 2012 Richard Hughes <hughsient@gmail.com> - 3.5.5-1
006048
- Update to 3.5.5
006048
006048
* Thu Aug  9 2012 Michel Salim <salimma@fedoraproject.org> - 3.5.4-1
006048
- Update to 3.5.4
006048
006048
* Sun Aug  5 2012 Michel Salim <salimma@fedoraproject.org> - 3.5.0-0.1.20120717git3869087
006048
- Update to 3.5.0 snapshot for GNOME 3.5.x compatibility
006048
006048
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0.1-3
006048
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
006048
006048
* Mon Jun  4 2012 Michel Salim <salimma@fedoraproject.org> - 3.4.0.1-2
006048
- Add R: on user theme extension (# 826129)
006048
006048
* Mon May 14 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0.1-1
006048
- Update to 3.4.0.1
006048
006048
* Mon May 14 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0-1
006048
- Update to 3.4.0
006048
006048
* Sat Jan 21 2012 Michel Salim <salimma@fedoraproject.org> - 3.3.4-1
006048
- Update to 3.3.4
006048
006048
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
006048
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
006048
006048
* Mon Nov 14 2011 Michel Salim <salimma@fedoraproject.org> - 3.2.1-1
006048
- Update to 3.2.1
006048
006048
* Wed Sep 28 2011 Ray <rstrode@redhat.com> - 3.2.0-1
006048
- Update to 3.2.0
006048
006048
* Thu Sep  1 2011 Michel Salim <salimma@fedoraproject.org> - 3.1.90-1
006048
- Update to 3.1.90
006048
006048
* Sun Aug 21 2011 Michel Salim <salimma@fedoraproject.org> - 3.1.0-1
006048
- Update to 3.1.0
006048
006048
* Tue Jul 19 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-2
006048
- Depend on nautilus (# 722541)
006048
006048
* Thu Jun 30 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-1
006048
- Update to 3.0.5
006048
- upstream news:
006048
  http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.5.news
006048
  * autostart fixes
006048
  * appearance improvements
006048
  * focus follow mouse mode
006048
  * finer-grained desktop item visibility
006048
  * streamlined shell restart offer when enabling extensions
006048
006048
* Mon Jun 13 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.4-1
006048
- Update to 3.0.4
006048
- Dropped redundant commented out lines in spec
006048
- Updated description
006048
- Dropped defattr since it is set by default in recent RPM
006048
- http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.4.news
006048
  * Enables support for system wide themes
006048
  * Supports management of shell extensions 
006048
006048
* Wed May  4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.3-1
006048
- Update to 3.0.3
006048
006048
* Mon Apr  4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.0-1
006048
- Update to 3.0.0
006048
006048
* Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-2
006048
- Enable icon theme selection
006048
006048
* Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-1
006048
- Update to 2.91.93
006048
006048
* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-3
006048
- Include license information
006048
006048
* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-2
006048
- Use %%configure macro
006048
- Validate desktop file
006048
006048
* Mon Mar 21 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-1
006048
- Initial package