X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gnome-tweak-tool.spec;h=a30897f7f7f1d24545730e21858b3f79f2e156e9;hb=ab155fb;hp=13fdd17ebd9ca93df7c195c8c653529956e66504;hpb=1010e1700b02007e0b3500a6de6dce6b4cc9a4f4;p=packages%2Fgnome-tweaks.git diff --git a/gnome-tweak-tool.spec b/gnome-tweak-tool.spec index 13fdd17..a30897f 100644 --- a/gnome-tweak-tool.spec +++ b/gnome-tweak-tool.spec @@ -1,30 +1,35 @@ 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: 3.4.0.1 +Version: 3.16.1 Release: 1 License: GPL v3 Group: X11/Applications -Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.4/%{name}-%{version}.tar.xz -# Source0-md5: f1abe010c2b2235cb86718134c0219ce +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: gettext-devel >= 0.17 -BuildRequires: gsettings-desktop-schemas-devel >= 3.2.0 +BuildRequires: gettext-tools >= 0.17 +BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0 BuildRequires: intltool >= 0.40.0 BuildRequires: pkgconfig BuildRequires: python >= 1:2.6 -BuildRequires: python-pygobject3-devel >= 3.0.0 -BuildRequires: rpmbuild(macros) >= 1.219 +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.2.0 -Requires: gtk+3 >= 3.0.0 +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.0.0 +Requires: python-pygobject3 >= 3.2.1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -36,6 +41,7 @@ Narzędzie do dostosowywania zaawansowanych opcji GNOME 3. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %configure @@ -54,6 +60,12 @@ rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT +%post +%update_icon_cache hicolor + +%postun +%update_icon_cache hicolor + %files -f %{name}.lang %defattr(644,root,root,755) %doc NEWS README @@ -63,4 +75,6 @@ rm -rf $RPM_BUILD_ROOT %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