Michel Alexandre Salim 03696a
#global commit_date 20120717
Michel Alexandre Salim 03696a
#global commit_hash 3869087
Michel Alexandre Salim 532d39
Michel Alexandre Salim 84a733
Name:           gnome-tweak-tool
Kalev Lember 40f9af
Version:        3.6.1
Michel Alexandre Salim 203bba
Release:        2%{?dist}
Michel Alexandre Salim 03696a
#Release:        0.1.%%{commit_date}git%%{commit_hash}%%{?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
Matthias Clasen 95aabd
Source0:        http://ftp.gnome.org/pub/gnome/sources/gnome-tweak-tool/3.6/gnome-tweak-tool-%{version}.tar.xz
Michel Alexandre Salim 532d39
# git archive --format=tar --prefix=%{name}-%{version}/ %{commit_hash} \
Michel Alexandre Salim 532d39
# | xz > %{name}-%{version}-%{commit_hash}.tar.xz
Michel Alexandre Salim 03696a
#Source0:        %{name}-%{version}-%{commit_hash}.tar.xz
Michel Alexandre Salim 203bba
Patch0:         gnome-tweak-tool-3.6.1-remove_lid_close_settings.patch
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
BuildArch:      noarch
Michel Alexandre Salim 84a733
BuildRequires:  GConf2
Michel Alexandre Salim f45c07
BuildRequires:  intltool
Michel Alexandre Salim 84a733
BuildRequires:  pkgconfig(gsettings-desktop-schemas)
Michel Alexandre Salim 84a733
BuildRequires:  pkgconfig(pygobject-2.0)
Michel Alexandre Salim bd2fca
BuildRequires:  pkgconfig(pygobject-3.0)
Michel Alexandre Salim 84a733
BuildRequires:  desktop-file-utils
Michel Alexandre Salim 532d39
BuildRequires:  gnome-common
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
Michel Alexandre Salim f152cf
%setup -q -n %{name}-%{version}
Michel Alexandre Salim 203bba
%patch0 -p1 -b .remove_lid_close_settings
Michel Alexandre Salim f152cf
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
%build
Michel Alexandre Salim 03696a
# NOCONFIGURE=1 ./autogen.sh
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
rm -rf $RPM_BUILD_ROOT
Michel Alexandre Salim 84a733
make install DESTDIR=$RPM_BUILD_ROOT
Michel Alexandre Salim 84a733
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
Michel Alexandre Salim f45c07
%find_lang %{name}
Michel Alexandre Salim 84a733
Michel Alexandre Salim 84a733
Michel Alexandre Salim e5b395
%post
Michel Alexandre Salim e5b395
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
Michel Alexandre Salim e5b395
Michel Alexandre Salim e5b395
%postun
Michel Alexandre Salim e5b395
if [ $1 -eq 0 ] ; then
Michel Alexandre Salim e5b395
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Michel Alexandre Salim e5b395
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
Michel Alexandre Salim e5b395
fi
Michel Alexandre Salim e5b395
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}
Michel Alexandre Salim 84a733
%{python_sitelib}/gtweak
Michel Alexandre Salim 84a733
%{_datadir}/applications/%{name}.desktop
Michel Alexandre Salim 84a733
%{_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
Michel Alexandre Salim 203bba
* Fri Nov  2 2012 Michel Salim <salimma@fedoraproject.org> - 3.6.1-2
Michel Alexandre Salim 203bba
- Drop lid close configuration options that are now handled by systemd
Michel Alexandre Salim 203bba
Kalev Lember 40f9af
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
Kalev Lember 40f9af
- Update to 3.6.1
Kalev Lember 40f9af
Matthias Clasen 95aabd
* Wed Oct  3 2012 Matthias Clasen <mclasen@redhat.com> - 3.6.0-1
Matthias Clasen 95aabd
- Update to 3.6.0
Matthias Clasen 95aabd
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