Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gprename for openSUSE:Factory checked in at 2022-09-26 18:48:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gprename (Old) and /work/SRC/openSUSE:Factory/.gprename.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gprename" Mon Sep 26 18:48:14 2022 rev:4 rq:1005988 version:5.0.20220807 Changes: -------- --- /work/SRC/openSUSE:Factory/gprename/gprename.changes 2014-03-31 20:43:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gprename.new.2275/gprename.changes 2022-09-26 18:48:16.840062968 +0200 @@ -1,0 +2,7 @@ +Mon Sep 26 05:26:20 UTC 2022 - Dmitriy Perlow <dap.darkn...@gmail.com> + +- Updated to upstream 20220807: no upstream changelog available. +- Gtk3. +- Updated desktop_icon.patch (mostly from Arch linux). + +------------------------------------------------------------------- Old: ---- gprename-20140325.tar.bz2 New: ---- gprename-20220807.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gprename.spec ++++++ --- /var/tmp/diff_new_pack.mG69EK/_old 2022-09-26 18:48:17.348063927 +0200 +++ /var/tmp/diff_new_pack.mG69EK/_new 2022-09-26 18:48:17.352063935 +0200 @@ -1,7 +1,7 @@ # # spec file for package gprename # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,15 @@ # -%define upstr_ver 20140325 +%define upstr_ver 20220807 Name: gprename Version: 5.0.%{upstr_ver} Release: 0 -Summary: A GTK2 batch renamer for files and directories +Summary: A GTK3 batch renamer for files and directories License: GPL-3.0+ Group: Productivity/File utilities -Url: http://gprename.sourceforge.net/ +Url: https://gprename.sourceforge.net Source0: http://kent.dl.sourceforge.net/project/gprename/gprename/%{upstr_ver}/gprename-%{upstr_ver}.tar.bz2 # PATCH-FIX-OPENSUSE to prevent @@ -41,22 +41,22 @@ BuildRequires: desktop-file-utils BuildRequires: update-desktop-files -Requires: perl-Gtk2 +Requires: perl-Gtk3 Requires: perl-gettext +Requires: perl-libintl-perl +Requires: perl-Pango Recommends: %{name}-lang -Recommends: nautilus-actions BuildArch: noarch -# SLE 11 requires it to build: -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -GPRename is a complete GTK2/perl batch renamer for files and directories. +GPRename is a complete GTK3/perl batch renamer for files and directories. %lang_package %prep %setup -q -n %{name}-%{upstr_ver} %patch1 +chmod -x *.TXT %build @@ -68,26 +68,9 @@ %suse_update_desktop_file -r %{name} 'Utility;System;FileManager;' %find_lang %{name} -%post -%if 0%{?suse_version} >= 1140 -%desktop_database_post -%else -update-desktop-database &> /dev/null || : -%endif - -%postun -%if 0%{?suse_version} >= 1140 -%desktop_database_postun -%else -update-desktop-database &> /dev/null || : -%endif - %files -%defattr(-,root,root) -# SLE complains: "directories are not even executable by their owner." -%if 0%{?suse_version} >= 1140 -%attr(644,root,root) %doc *.TXT -%endif +%license COPYING.TXT +%doc README.TXT %{_bindir}/%{name} %{_datadir}/applications/%{name}* %doc %{_mandir}/man*/%{name}* ++++++ desktop_icon.patch ++++++ --- /var/tmp/diff_new_pack.mG69EK/_old 2022-09-26 18:48:17.380063988 +0200 +++ /var/tmp/diff_new_pack.mG69EK/_new 2022-09-26 18:48:17.384063995 +0200 @@ -1,6 +1,6 @@ ---- Makefile.orig 2014-03-25 00:06:04.000000000 +0300 -+++ Makefile 2014-03-26 18:24:02.435966200 +0300 -@@ -26,7 +26,7 @@ +--- Makefile.orig 2022-02-26 22:42:47.000000000 +0100 ++++ Makefile 2022-03-15 12:40:58.057697494 +0100 +@@ -27,7 +27,7 @@ perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename > build/gprename perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename.desktop > build/gprename.desktop @@ -9,93 +9,35 @@ # Compile all .po files to .mo msgfmt -o build/locale/ca.mo locale/ca.po msgfmt -o build/locale/de.mo locale/de.po -@@ -45,8 +45,8 @@ +@@ -47,8 +47,8 @@ # Create directories install -d "$(DESTDIR)" install -d "$(DESTDIR)/bin" - install -d "/usr/share" - install -d "/usr/share/icons" + install -d "$(DESTDIR)/share" -+ install -d "$(DESTDIR)/share/pixmaps" ++ install -d "$(DESTDIR)/share/pixmaps/" install -d "$(DESTDIR)/share/applications" install -d "$(DESTDIR)/share/man" install -d "$(DESTDIR)/share/man/man1" -@@ -67,7 +67,7 @@ +@@ -69,7 +69,7 @@ + # Copy all files in the filesystem install -m 755 build/gprename "$(DESTDIR)/bin/" - install -m 644 gprename-nautilus-actions.xml "$(DESTDIR)/share/applications/" - install -m 644 icon/gprename.png "/usr/share/icons/" + install -m 644 icon/gprename.png "$(DESTDIR)/share/pixmaps/" install -m 644 man/gprename.1 "$(DESTDIR)/share/man/man1/" install -m 644 build/locale/ca.mo "$(DESTDIR)/share/locale/ca/LC_MESSAGES/gprename.mo" install -m 644 build/locale/de.mo "$(DESTDIR)/share/locale/de/LC_MESSAGES/gprename.mo" -@@ -82,8 +82,7 @@ +@@ -85,8 +85,8 @@ install -m 644 build/locale/ru.mo "$(DESTDIR)/share/locale/ru/LC_MESSAGES/gprename.mo" install -m 644 build/locale/sv.mo "$(DESTDIR)/share/locale/sv/LC_MESSAGES/gprename.mo" install -m 644 build/locale/zh_CN.mo "$(DESTDIR)/share/locale/zh_CN/LC_MESSAGES/gprename.mo" - desktop-file-install bin/gprename.desktop - update-desktop-database -+ desktop-file-install bin/gprename.desktop --dir="$(DESTDIR)/share/applications/" ++ install -m 644 bin/gprename.desktop "$(DESTDIR)/share/applications/gprename.desktop" ++# update-desktop-database @echo "Installation completed." uninstall: clean ---- bin/gprename.orig 2014-03-26 01:47:15.000000000 +0300 -+++ bin/gprename 2014-03-26 18:37:12.156966200 +0300 -@@ -61,7 +61,7 @@ - - # set the locale - setlocale(LC_ALL, ''); --bindtextdomain( 'gprename', '/usr/local/share/locale'); -+bindtextdomain( 'gprename', '/usr/share/locale'); - textdomain( 'gprename' ); - - # Change the font to courier new for the Tree and the SimpleList -@@ -127,7 +127,7 @@ - $window->add_accel_group( $accel_group ); - - # Set the window icon --my $icon = '/usr/share/icons/gprename.png'; -+my $icon = '/usr/share/pixmaps/gprename.png'; - my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file( $icon ); - $window->set_icon( $pixbuf ); - -@@ -1440,7 +1440,7 @@ - $buffer->create_tag( 'big', size => 15 * PANGO_SCALE ); - $buffer->create_tag( 'italic', style => 'italic' ); - my $iter = $buffer->get_start_iter; -- my $icon = '/usr/local/share/pixmaps/gprename/gprename.png'; -+ my $icon = '/usr/share/pixmaps/gprename.png'; - my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file( $icon ); - - $buffer->insert_pixbuf ($iter, $pixbuf); - ---- build/gprename.orig 2014-03-26 01:47:15.000000000 +0300 -+++ build/gprename 2014-03-26 18:37:12.156966200 +0300 -@@ -61,7 +61,7 @@ - - # set the locale - setlocale(LC_ALL, ''); --bindtextdomain( 'gprename', '/usr/local/share/locale'); -+bindtextdomain( 'gprename', '/usr/share/locale'); - textdomain( 'gprename' ); - - # Change the font to courier new for the Tree and the SimpleList -@@ -127,7 +127,7 @@ - $window->add_accel_group( $accel_group ); - - # Set the window icon --my $icon = '/usr/share/icons/gprename.png'; -+my $icon = '/usr/share/pixmaps/gprename.png'; - my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file( $icon ); - $window->set_icon( $pixbuf ); - -@@ -1440,7 +1440,7 @@ - $buffer->create_tag( 'big', size => 15 * PANGO_SCALE ); - $buffer->create_tag( 'italic', style => 'italic' ); - my $iter = $buffer->get_start_iter; -- my $icon = '/usr/local/share/pixmaps/gprename/gprename.png'; -+ my $icon = '/usr/share/pixmaps/gprename.png'; - my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file( $icon ); - - $buffer->insert_pixbuf ($iter, $pixbuf); ++++++ gprename-20140325.tar.bz2 -> gprename-20220807.tar.bz2 ++++++ ++++ 3824 lines of diff (skipped)