Mohamed El Morabity 9c8223
%global major_version %%(cut -d "." -f 1-2 <<<%{version})
Michel Alexandre Salim 532d39
Michel Alexandre Salim 84a733
Name:           gnome-tweak-tool
Mohamed El Morabity 06328e
Version:        3.9.91
Adam Williamson 93d580
Release:        1%{?dist}
Michel Alexandre Salim 816eb8
Summary:        A tool to customize advanced GNOME 3 options
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
License:        GPLv3
Michel Alexandre Salim 84a733
URL:            http://live.gnome.org/GnomeTweakTool
Mohamed El Morabity 9c8223
Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/%{major_version}/gnome-tweak-tool-%{version}.tar.xz
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
BuildArch:      noarch
Michel Alexandre Salim f45c07
BuildRequires:  intltool
Michel Alexandre Salim 84a733
BuildRequires:  pkgconfig(gsettings-desktop-schemas)
Kalev Lember 0c1293
BuildRequires:  pkgconfig(gtk+-3.0)
Michel Alexandre Salim bd2fca
BuildRequires:  pkgconfig(pygobject-3.0)
Michel Alexandre Salim 84a733
BuildRequires:  desktop-file-utils
Michel Alexandre Salim 84a733
Requires:       gnome-shell
Michel Alexandre Salim 4f7280
Requires:       gnome-shell-extension-user-theme
Michel Alexandre Salim 59c6cd
Requires:       nautilus
Michel Alexandre Salim 4f7280
Requires:       pygobject3
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
%description
Michel Alexandre Salim 84a733
GNOME Tweak Tool is an application for changing the advanced settings
Michel Alexandre Salim 84a733
of GNOME 3.
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
Features:
Michel Alexandre Salim 816eb8
* Install and switch gnome-shell themes
Rahul Sundaram 576cef
* Switch gtk/icon/cursor themes
Rahul Sundaram 576cef
* Switch window manager themes
Rahul Sundaram 576cef
* Change:
Rahul Sundaram 576cef
        * The user-interface and titlebar fonts
Rahul Sundaram 576cef
        * Icons in menus and buttons
Rahul Sundaram 576cef
        * Behavior on laptop lid close
Rahul Sundaram 576cef
        * Shell font size
Rahul Sundaram 576cef
        * File manager desktop icons
Rahul Sundaram 576cef
        * Titlebar click action
Rahul Sundaram 576cef
        * Shell clock to show date
Rahul Sundaram 576cef
        * Font hinting and antialiasing 
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
%prep
Mohamed El Morabity 9c8223
%setup -q
Michel Alexandre Salim f152cf
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
%build
Michel Alexandre Salim 84a733
%configure
Michel Alexandre Salim 84a733
make %{?_smp_mflags}
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
%install
Michel Alexandre Salim 84a733
make install DESTDIR=$RPM_BUILD_ROOT
Mohamed El Morabity 9c8223
Mohamed El Morabity 561217
%find_lang %{name}
Mohamed El Morabity 561217
Mohamed El Morabity 561217
Mohamed El Morabity 561217
%check
Mohamed El Morabity 9c8223
# Leave the desktop file validation, but don't return an error value ("Phanteon"
Mohamed El Morabity 561217
# value not supported yet by validator in "OnlyShowIn" key)
Mohamed El Morabity 9c8223
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop || true
Mohamed El Morabity 9c8223
Michel Alexandre Salim 84a733
Michel Alexandre Salim e5b395
%post
Mohamed El Morabity 9c8223
/bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null || :
Mohamed El Morabity 9c8223
Michel Alexandre Salim e5b395
Michel Alexandre Salim e5b395
%postun
Michel Alexandre Salim e5b395
if [ $1 -eq 0 ] ; then
Mohamed El Morabity 9c8223
  /bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null
Mohamed El Morabity 9c8223
  /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor/ &>/dev/null || :
Michel Alexandre Salim e5b395
fi
Michel Alexandre Salim e5b395
Mohamed El Morabity 9c8223
Michel Alexandre Salim e5b395
%posttrans
Michel Alexandre Salim e5b395
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
Michel Alexandre Salim e5b395
Michel Alexandre Salim e5b395
Michel Alexandre Salim f45c07
%files -f %{name}.lang
Michel Alexandre Salim 84a733
%doc AUTHORS COPYING NEWS README
Michel Alexandre Salim 84a733
%{_bindir}/%{name}
Mohamed El Morabity 9c8223
%{python_sitelib}/gtweak/
Michel Alexandre Salim 84a733
%{_datadir}/applications/%{name}.desktop
Mohamed El Morabity 9c8223
%{_datadir}/%{name}/
Michel Alexandre Salim e5b395
%{_datadir}/icons/hicolor/*/apps/%{name}.png
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
%changelog
Mohamed El Morabity 06328e
* Wed Sep 04 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.9.91-1
Mohamed El Morabity 06328e
- Update to 3.9.91
Mohamed El Morabity 06328e
Kalev Lember d32eab
* Thu Aug 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90.1-1
Kalev Lember d32eab
- Update to 3.9.90.1
Kalev Lember d32eab
Adam Williamson 93d580
* Thu Aug 22 2013 Adam Williamson <awilliam@redhat.com> - 3.9.90-1
Adam Williamson 93d580
- bump to latest version
Adam Williamson 93d580
- drop shell_themes.patch as #703760 is marked FIXED
Adam Williamson 93d580
Dennis Gilmore 43117a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-2
Dennis Gilmore 43117a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Dennis Gilmore 43117a
Mohamed El Morabity f25acb
* Tue Jul 23 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.8.1-1
Mohamed El Morabity f25acb
- Update to 3.8.1
Mohamed El Morabity f25acb
- Drop gnome-tweak-tool-3.8.0-pref.js.patch patch (merged upstream)
Mohamed El Morabity f25acb
Mohamed El Morabity 711cc7
* Sun Jul 07 2013 Mohamed El Morabity <pikachu.2014@gmail.com> - 3.8.0-3
Mohamed El Morabity 711cc7
- Add patch to make gnome-tweak-tool look shell themes only in ~/.themes
Mohamed El Morabity 711cc7
Mohamed El Morabity 711cc7
* Sat May 25 2013 Mohamed El Morabity <pikachu.2014@gmail.com> - 3.8.0-2
Mohamed El Morabity 711cc7
- Add patch to allow pref.js for system extensions (thanks to Ralph Bean)
Mohamed El Morabity 711cc7
Mohamed El Morabity 1a7b2b
* Mon Apr 08 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.8.0-1
Mohamed El Morabity 1a7b2b
- Update to 3.8.0
Mohamed El Morabity 1a7b2b
Dennis Gilmore c33bd7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.4-2
Dennis Gilmore c33bd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Dennis Gilmore c33bd7
Mohamed El Morabity 9c8223
* Wed Jan 16 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.7.4-1
Mohamed El Morabity 9c8223
- Update to 3.7.4
Mohamed El Morabity 9c8223
- Drop remove_lid_close_settings patch, fixed upstream
Mohamed El Morabity 9c8223
- Spec cleanup
Mohamed El Morabity 9c8223
Michel Alexandre Salim 7721bd
* Fri Nov  2 2012 Michel Salim <salimma@fedoraproject.org> - 3.6.1-2
Michel Alexandre Salim 7721bd
- Drop lid close configuration options that are now handled by systemd
Michel Alexandre Salim 7721bd
Kalev Lember d269c3
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
Kalev Lember d269c3
- Update to 3.6.1
Kalev Lember d269c3
Matthias Clasen 98bed4
* Wed Oct  3 2012 Matthias Clasen <mclasen@redhat.com> - 3.6.0-1
Matthias Clasen 98bed4
- Update to 3.6.0
Matthias Clasen 98bed4
Richard Hughes 036be9
* Wed Aug 22 2012 Richard Hughes <hughsient@gmail.com> - 3.5.5-1
Richard Hughes 036be9
- Update to 3.5.5
Richard Hughes 036be9
Michel Alexandre Salim e5b395
* Thu Aug  9 2012 Michel Salim <salimma@fedoraproject.org> - 3.5.4-1
Michel Alexandre Salim 03696a
- Update to 3.5.4
Michel Alexandre Salim 03696a
Michel Alexandre Salim 532d39
* Sun Aug  5 2012 Michel Salim <salimma@fedoraproject.org> - 3.5.0-0.1.20120717git3869087
Michel Alexandre Salim 532d39
- Update to 3.5.0 snapshot for GNOME 3.5.x compatibility
Michel Alexandre Salim 532d39
Dennis Gilmore 3788dd
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0.1-3
Dennis Gilmore 3788dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore 3788dd
Michel Alexandre Salim 4f7280
* Mon Jun  4 2012 Michel Salim <salimma@fedoraproject.org> - 3.4.0.1-2
Michel Alexandre Salim 4f7280
- Add R: on user theme extension (# 826129)
Michel Alexandre Salim 4f7280
Richard Hughes 068219
* Mon May 14 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0.1-1
Richard Hughes 068219
- Update to 3.4.0.1
Richard Hughes 068219
Richard Hughes 6cfbab
* Mon May 14 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0-1
Richard Hughes 6cfbab
- Update to 3.4.0
Richard Hughes 6cfbab
Michel Alexandre Salim 24e70d
* Sat Jan 21 2012 Michel Salim <salimma@fedoraproject.org> - 3.3.4-1
Michel Alexandre Salim 24e70d
- Update to 3.3.4
Michel Alexandre Salim 24e70d
Dennis Gilmore b7fdcf
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
Dennis Gilmore b7fdcf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore b7fdcf
Michel Alexandre Salim 1c3c90
* Mon Nov 14 2011 Michel Salim <salimma@fedoraproject.org> - 3.2.1-1
Michel Alexandre Salim 1c3c90
- Update to 3.2.1
Michel Alexandre Salim 1c3c90
Ray Strode e76e2f
* Wed Sep 28 2011 Ray <rstrode@redhat.com> - 3.2.0-1
Ray Strode e76e2f
- Update to 3.2.0
Ray Strode e76e2f
Michel Alexandre Salim bd2fca
* Thu Sep  1 2011 Michel Salim <salimma@fedoraproject.org> - 3.1.90-1
Michel Alexandre Salim bd2fca
- Update to 3.1.90
Michel Alexandre Salim bd2fca
Michel Alexandre Salim f152cf
* Sun Aug 21 2011 Michel Salim <salimma@fedoraproject.org> - 3.1.0-1
Michel Alexandre Salim f152cf
- Update to 3.1.0
Michel Alexandre Salim f152cf
Michel Alexandre Salim 59c6cd
* Tue Jul 19 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-2
Michel Alexandre Salim 59c6cd
- Depend on nautilus (# 722541)
Michel Alexandre Salim 59c6cd
Michel Alexandre Salim 33ec29
* Thu Jun 30 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-1
Michel Alexandre Salim 33ec29
- Update to 3.0.5
Michel Alexandre Salim 33ec29
- upstream news:
Michel Alexandre Salim 33ec29
  http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.5.news
Michel Alexandre Salim 33ec29
  * autostart fixes
Michel Alexandre Salim 33ec29
  * appearance improvements
Michel Alexandre Salim 33ec29
  * focus follow mouse mode
Michel Alexandre Salim 33ec29
  * finer-grained desktop item visibility
Michel Alexandre Salim 33ec29
  * streamlined shell restart offer when enabling extensions
Michel Alexandre Salim 33ec29
Rahul Sundaram 576cef
* Mon Jun 13 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.4-1
Rahul Sundaram 576cef
- Update to 3.0.4
Rahul Sundaram 576cef
- Dropped redundant commented out lines in spec
Rahul Sundaram 576cef
- Updated description
Rahul Sundaram 576cef
- Dropped defattr since it is set by default in recent RPM
Rahul Sundaram 576cef
- http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.4.news
Rahul Sundaram 576cef
  * Enables support for system wide themes
Rahul Sundaram 576cef
  * Supports management of shell extensions 
Rahul Sundaram 576cef
Michel Alexandre Salim cf91c2
* Wed May  4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.3-1
Michel Alexandre Salim cf91c2
- Update to 3.0.3
Michel Alexandre Salim cf91c2
Michel Alexandre Salim b790d4
* Mon Apr  4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.0-1
Michel Alexandre Salim b790d4
- Update to 3.0.0
Michel Alexandre Salim b790d4
Michel Alexandre Salim efaef0
* Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-2
Michel Alexandre Salim efaef0
- Enable icon theme selection
Michel Alexandre Salim efaef0
Michel Alexandre Salim 816eb8
* Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-1
Michel Alexandre Salim 816eb8
- Update to 2.91.93
Michel Alexandre Salim 816eb8
Michel Alexandre Salim 84a733
* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-3
Michel Alexandre Salim 84a733
- Include license information
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-2
Michel Alexandre Salim 84a733
- Use %%configure macro
Michel Alexandre Salim 84a733
- Validate desktop file
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
* Mon Mar 21 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-1
Michel Alexandre Salim 84a733
- Initial package