]> git.pld-linux.org Git - packages/gnome-tweaks.git/blobdiff - gnome-tweak-tool.spec
Update to 3.16.1
[packages/gnome-tweaks.git] / gnome-tweak-tool.spec
index d9c6d028befb8b6acc86b626786c99658e598016..a30897f7f7f1d24545730e21858b3f79f2e156e9 100644 (file)
@@ -1,21 +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:       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
@@ -27,6 +41,7 @@ Narzędzie do dostosowywania zaawansowanych opcji GNOME 3.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure
@@ -40,10 +55,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
@@ -52,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
This page took 0.034222 seconds and 4 git commands to generate.