Summary: A tool to customize advanced GNOME 3 options
Summary(pl.UTF-8): Narzędzie do dostosowywania zaawansowanych opcji GNOME 3
Name: gnome-tweak-tool
-Version: 2.91.92
+Version: 3.16.1
Release: 1
-License: GPL
+License: GPL v3
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/2.91/%{name}-%{version}.tar.bz2
-# Source0-md5: cdd1cd3f2f3d2c161c4c86f234d100c6
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.16/%{name}-%{version}.tar.xz
+# Source0-md5: 6b6513c019391b14c43e364caa2dafcb
Patch0: pyc.patch
+Patch1: %{name}-import-gobject.patch
URL: http://live.gnome.org/GnomeTweakTool
BuildRequires: GConf2-devel
-BuildRequires: gsettings-desktop-schemas-devel >= 2.91.90
+BuildRequires: gettext-tools >= 0.17
+BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0
+BuildRequires: intltool >= 0.40.0
BuildRequires: pkgconfig
-BuildRequires: python-pygobject-devel >= 2.28.0
-Requires: gsettings-desktop-schemas >= 2.91.90
-Requires: gtk+3 >= 3.0.0
-Requires: python-pygobject >= 2.28.0
+BuildRequires: python >= 1:2.6
+BuildRequires: python-pygobject3-devel >= 3.2.1
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires(post,postun): gtk-update-icon-cache
+Requires: GConf2-libs
+Requires: gnome-desktop >= 3.8.0
+Requires: gnome-shell >= 3.8.0
+Requires: gobject-introspection
+Requires: gsettings-desktop-schemas >= 3.4.0
+Requires: gtk+3 >= 3.12.0
+Requires: hicolor-icon-theme
+Requires: python >= 1:2.6
+Requires: python-pygobject3 >= 3.2.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%configure
%py_postclean
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc NEWS README
%attr(755,root,root) %{_bindir}/gnome-tweak-tool
%dir %{py_sitescriptdir}/gtweak/tweaks
%{py_sitescriptdir}/gtweak/tweaks/*.py[co]
%{_datadir}/gnome-tweak-tool
+%{_datadir}/appdata/gnome-tweak-tool.appdata.xml
%{_desktopdir}/gnome-tweak-tool.desktop
+%{_iconsdir}/hicolor/*/*/*.png