9c82239
%global major_version %%(cut -d "." -f 1-2 <<<%{version})
532d390
84a733c
Name:           gnome-tweak-tool
e9a1f67
Version:        3.16.0
cb5ea4d
Release:        1%{?dist}
Michel Alexandre Salim 816eb89
Summary:        A tool to customize advanced GNOME 3 options
84a733c
84a733c
License:        GPLv3
84a733c
URL:            http://live.gnome.org/GnomeTweakTool
9c82239
Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/%{major_version}/gnome-tweak-tool-%{version}.tar.xz
84a733c
84a733c
BuildArch:      noarch
Michel Alexandre Salim f45c073
BuildRequires:  intltool
84a733c
BuildRequires:  pkgconfig(gsettings-desktop-schemas)
0c1293e
BuildRequires:  pkgconfig(gtk+-3.0)
bd2fcab
BuildRequires:  pkgconfig(pygobject-3.0)
84a733c
BuildRequires:  desktop-file-utils
84a733c
Requires:       gnome-shell
4f72801
Requires:       gnome-shell-extension-user-theme
4f72801
Requires:       pygobject3
84a733c
84a733c
%description
84a733c
GNOME Tweak Tool is an application for changing the advanced settings
84a733c
of GNOME 3.
84a733c
84a733c
Features:
Michel Alexandre Salim 816eb89
* Install and switch gnome-shell themes
576cefd
* Switch gtk/icon/cursor themes
576cefd
* Switch window manager themes
576cefd
* Change:
576cefd
        * The user-interface and titlebar fonts
576cefd
        * Icons in menus and buttons
576cefd
        * Behavior on laptop lid close
576cefd
        * Shell font size
576cefd
        * File manager desktop icons
576cefd
        * Titlebar click action
576cefd
        * Shell clock to show date
576cefd
        * Font hinting and antialiasing 
84a733c
84a733c
%prep
9c82239
%setup -q
84a733c
84a733c
%build
84a733c
%configure
84a733c
make %{?_smp_mflags}
84a733c
84a733c
84a733c
%install
84a733c
make install DESTDIR=$RPM_BUILD_ROOT
9c82239
5612179
%find_lang %{name}
5612179
5612179
5612179
%check
9c82239
# Leave the desktop file validation, but don't return an error value ("Phanteon"
5612179
# value not supported yet by validator in "OnlyShowIn" key)
9c82239
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop || true
9c82239
84a733c
e5b3956
%post
9c82239
/bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null || :
9c82239
e5b3956
e5b3956
%postun
e5b3956
if [ $1 -eq 0 ] ; then
9c82239
  /bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null
9c82239
  /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor/ &>/dev/null || :
e5b3956
fi
e5b3956
9c82239
e5b3956
%posttrans
e5b3956
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
e5b3956
e5b3956
Michel Alexandre Salim f45c073
%files -f %{name}.lang
75aa293
%license COPYING
75aa293
%doc AUTHORS NEWS README
84a733c
%{_bindir}/%{name}
9c82239
%{python_sitelib}/gtweak/
8bb8050
%{_datadir}/appdata/%{name}.appdata.xml
84a733c
%{_datadir}/applications/%{name}.desktop
9c82239
%{_datadir}/%{name}/
e5b3956
%{_datadir}/icons/hicolor/*/apps/%{name}.png
84a733c
84a733c
84a733c
%changelog
e9a1f67
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
e9a1f67
- Update to 3.16.0
e9a1f67
502b965
* Tue Mar 17 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.92-1
502b965
- Update to 3.15.92
75aa293
- Use license macro for the COPYING file
502b965
Richard Hughes 247c461
* Tue Feb 17 2015 Richard Hughes <rhughes@redhat.com> - 3.15.90-1
Richard Hughes 247c461
- Update to 3.15.90
Richard Hughes 247c461
243a738
* Fri Nov 14 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
243a738
- Update to 3.14.2
243a738
4e68f50
* Tue Sep 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
4e68f50
- Update to 3.14.0
4e68f50
cb5ea4d
* Wed Sep 17 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.92-1
cb5ea4d
- Update to 3.13.92
cb5ea4d
6bde8d8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.0-2
6bde8d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6bde8d8
eb588bb
* Thu Mar 27 2014 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.12.0-1
eb588bb
- Update to 3.12.0
eb588bb
a77b181
* Wed Nov 20 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.10.1-2
a77b181
- Drop now useless dependency on Nautilus (RHBZ #1030449)
a77b181
Richard Hughes 142b4f7
* Wed Nov 13 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1-1
Richard Hughes 142b4f7
- Update to 3.10.1
Richard Hughes 142b4f7
37843af
* Sat Oct 19 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.10.0-2
37843af
- Fix extension update checks
37843af
- Fix RHBZ #1017801
37843af
8bb8050
* Wed Sep 25 2013 Mohamed El Morabity - 3.10.0-1
8bb8050
- Update to 3.10.0
8bb8050
353e829
* Thu Sep 19 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.9.92-1
353e829
- Update to 3.9.92
353e829
06328e6
* Wed Sep 04 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.9.91-1
06328e6
- Update to 3.9.91
06328e6
d32eab6
* Thu Aug 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90.1-1
d32eab6
- Update to 3.9.90.1
d32eab6
93d5803
* Thu Aug 22 2013 Adam Williamson <awilliam@redhat.com> - 3.9.90-1
93d5803
- bump to latest version
93d5803
- drop shell_themes.patch as #703760 is marked FIXED
93d5803
43117a3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-2
43117a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
43117a3
f25acbc
* Tue Jul 23 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.8.1-1
f25acbc
- Update to 3.8.1
f25acbc
- Drop gnome-tweak-tool-3.8.0-pref.js.patch patch (merged upstream)
f25acbc
711cc76
* Sun Jul 07 2013 Mohamed El Morabity <pikachu.2014@gmail.com> - 3.8.0-3
711cc76
- Add patch to make gnome-tweak-tool look shell themes only in ~/.themes
711cc76
711cc76
* Sat May 25 2013 Mohamed El Morabity <pikachu.2014@gmail.com> - 3.8.0-2
711cc76
- Add patch to allow pref.js for system extensions (thanks to Ralph Bean)
711cc76
1a7b2b2
* Mon Apr 08 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.8.0-1
1a7b2b2
- Update to 3.8.0
1a7b2b2
c33bd73
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.4-2
c33bd73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c33bd73
9c82239
* Wed Jan 16 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.7.4-1
9c82239
- Update to 3.7.4
9c82239
- Drop remove_lid_close_settings patch, fixed upstream
9c82239
- Spec cleanup
9c82239
7721bd1
* Fri Nov  2 2012 Michel Salim <salimma@fedoraproject.org> - 3.6.1-2
7721bd1
- Drop lid close configuration options that are now handled by systemd
7721bd1
d269c35
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
d269c35
- Update to 3.6.1
d269c35
98bed49
* Wed Oct  3 2012 Matthias Clasen <mclasen@redhat.com> - 3.6.0-1
98bed49
- Update to 3.6.0
98bed49
Richard Hughes 036be98
* Wed Aug 22 2012 Richard Hughes <hughsient@gmail.com> - 3.5.5-1
Richard Hughes 036be98
- Update to 3.5.5
Richard Hughes 036be98
e5b3956
* Thu Aug  9 2012 Michel Salim <salimma@fedoraproject.org> - 3.5.4-1
03696ab
- Update to 3.5.4
03696ab
532d390
* Sun Aug  5 2012 Michel Salim <salimma@fedoraproject.org> - 3.5.0-0.1.20120717git3869087
532d390
- Update to 3.5.0 snapshot for GNOME 3.5.x compatibility
532d390
3788dde
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0.1-3
3788dde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3788dde
4f72801
* Mon Jun  4 2012 Michel Salim <salimma@fedoraproject.org> - 3.4.0.1-2
4f72801
- Add R: on user theme extension (# 826129)
4f72801
Richard Hughes 0682197
* Mon May 14 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0.1-1
Richard Hughes 0682197
- Update to 3.4.0.1
Richard Hughes 0682197
Richard Hughes 6cfbab7
* Mon May 14 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0-1
Richard Hughes 6cfbab7
- Update to 3.4.0
Richard Hughes 6cfbab7
24e70d3
* Sat Jan 21 2012 Michel Salim <salimma@fedoraproject.org> - 3.3.4-1
24e70d3
- Update to 3.3.4
24e70d3
b7fdcfe
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
b7fdcfe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b7fdcfe
1c3c90c
* Mon Nov 14 2011 Michel Salim <salimma@fedoraproject.org> - 3.2.1-1
1c3c90c
- Update to 3.2.1
1c3c90c
e76e2f4
* Wed Sep 28 2011 Ray <rstrode@redhat.com> - 3.2.0-1
e76e2f4
- Update to 3.2.0
e76e2f4
bd2fcab
* Thu Sep  1 2011 Michel Salim <salimma@fedoraproject.org> - 3.1.90-1
bd2fcab
- Update to 3.1.90
bd2fcab
f152cf8
* Sun Aug 21 2011 Michel Salim <salimma@fedoraproject.org> - 3.1.0-1
f152cf8
- Update to 3.1.0
f152cf8
59c6cde
* Tue Jul 19 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-2
59c6cde
- Depend on nautilus (# 722541)
59c6cde
33ec299
* Thu Jun 30 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-1
33ec299
- Update to 3.0.5
33ec299
- upstream news:
33ec299
  http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.5.news
33ec299
  * autostart fixes
33ec299
  * appearance improvements
33ec299
  * focus follow mouse mode
33ec299
  * finer-grained desktop item visibility
33ec299
  * streamlined shell restart offer when enabling extensions
33ec299
576cefd
* Mon Jun 13 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.4-1
576cefd
- Update to 3.0.4
576cefd
- Dropped redundant commented out lines in spec
576cefd
- Updated description
576cefd
- Dropped defattr since it is set by default in recent RPM
576cefd
- http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.4.news
576cefd
  * Enables support for system wide themes
576cefd
  * Supports management of shell extensions 
576cefd
cf91c21
* Wed May  4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.3-1
cf91c21
- Update to 3.0.3
cf91c21
Michel Alexandre Salim b790d4f
* Mon Apr  4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.0-1
Michel Alexandre Salim b790d4f
- Update to 3.0.0
Michel Alexandre Salim b790d4f
Michel Alexandre Salim efaef06
* Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-2
Michel Alexandre Salim efaef06
- Enable icon theme selection
Michel Alexandre Salim efaef06
Michel Alexandre Salim 816eb89
* Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-1
Michel Alexandre Salim 816eb89
- Update to 2.91.93
Michel Alexandre Salim 816eb89
84a733c
* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-3
84a733c
- Include license information
84a733c
84a733c
* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-2
84a733c
- Use %%configure macro
84a733c
- Validate desktop file
84a733c
84a733c
* Mon Mar 21 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-1
84a733c
- Initial package