Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gcstar for openSUSE:Factory checked 
in at 2023-06-16 16:53:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcstar (Old)
 and      /work/SRC/openSUSE:Factory/.gcstar.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcstar"

Fri Jun 16 16:53:10 2023 rev:19 rq:1093065 version:1.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcstar/gcstar.changes    2021-05-18 
18:27:36.990657098 +0200
+++ /work/SRC/openSUSE:Factory/.gcstar.new.15902/gcstar.changes 2023-06-16 
16:54:01.713415440 +0200
@@ -1,0 +2,72 @@
+Wed Jun  7 20:49:20 UTC 2023 - Luciano Santos <luc1...@opensuse.org>
+
+- Update to version 1.8.0:
+  + Release based on Gtk3 as the default version.
+  + Many new features were introduce for the users.
+  + New collections: Postcards, Gadgets and MusicCourses.
+  + New plugins: Bdphile (Comics), Numista and Exonumia (Coins, FR
+    and EN), AnimatorEN (Films), Amazon (Gadgets), AmazonBR
+    (Books), UPCitemDB (Gagdets) and Alfred (MusicCources).
+  + Plugins evolutions: JeuxVideo (Games), DVDPost (Films), IMDB
+    (Films), BoardGameGeek (BoardGames), BDphile (Books), MobyGames
+    (Games), Amazon (Books, Films, Games), MangaSanctuary (Comics),
+    Numista, Noosfere, Discogs and Brikset.
+  + Plugins unavailable because of one thing, or another: Douban
+    (Films), TheLegacy (VideoGames), ComicBookDb (Comics),
+    ReservoirJeux (BoardGames) and FNAC (FR).
+  + Bugs fixed:
+    - Errors when GCstar is used in minimum configuration (no
+      optional dependencies).
+    - Change dependency for Liberation font.
+    - Small bugs fixes in models XML/GCM and XSD (revision 5).
+    - Update XSD link in GCM models.
+    - Missing name for "file size unit" field (problem in
+      import/export).
+    - Missing images in CSV imports.
+    - Support of double or multiple lists in CSV imports (actors
+      for example).
+    - Default min and max values for numbers.
+    - Bugs in image and text lists: sorting, columns, selections.
+    - Problem in titles with articles for some languages.
+    - Fix duration for extracted music.
+    - Inconsistencies in images list view.
+    - Remember windows size when GCstar closes.
+
+- Replace Kerenoc/GCstar gitlab.com repo Source tag with
+  GCstar/GCstar.
+- Update GPL-2.0-only License tag to GPL-2.0-or-later as stated in
+  the GitLab repository, as well as in and the source code comment
+  headers.
+- Update https://wiki.gcstar.org/en URL to https://www.gcstar.org/,
+  the GCstar's home page.
+- Switch typelib-1_0-GdkPixdata-2_0 and typelib-1_0-Gtk-3_0 to
+  their more maintainer friendly typelib(BindingName) [= Version]
+  symbol notation, being typelib(GdkPixdata) = 2.0 and typelib(Gtk)
+  = 3.0, respectively.
+- Switch %setup macro to the wonderfull %autosetup, leveraging its
+  automation capabilities.
+- Drop downstream gcstar-fix-desktop.patch patch. It's no longer
+  necessary, since the wanted modifications can be done with the
+  help of %suse_update_desktop_file macro.
+- Drop no longer needed BuildRequires on shared-mime-info. It was
+  needed for updating the MIME cache, functionality that has been
+  moved to the shared-mime-info package via RPM filetriggers.
+- Update package dependecies, according to the installer
+  instructions:
+  + Demote perl(DateTime::Format::Strptime) and perl(JSON) from
+    BuildRequires/Requires to Recommends. They're not mandatory,
+    but optional.
+  + Replace perl(GD) Recommends with perl(GD::Graph::area),
+    perl(GD::Graph::bars) and perl(GD::Graph::pie).
+  + Add explicit BuildRequires for the following Perl modules (they
+    were already being pulled): Cwd, Cwd, Cwd, Data::Dumper,
+    Digest::MD5, Encode, Encode::Locale, Exporter, File::Basename,
+    File::Copy, File::Find, File::Path, File::Path, File::Spec,
+    File::Temp, Glib::Object::Introspection, HTML::Entities,
+    HTTP::Cookies::Netscape, IO::File, IO::Handle, IO::Socket,
+    IO::Socket::INET, LWP, LWP::Simple, List::Util, Net::SMTP,
+    POSIX, POSIX, Storable, Text::Wrap, URI::Escape,
+    Unicode::Normalize, XML::Parser, filetest, threads and
+    threads::shared.
+
+-------------------------------------------------------------------

Old:
----
  GCstar-v1.7.3.tar.bz2
  gcstar-fix-desktop.patch

New:
----
  gcstar-1.8.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gcstar.spec ++++++
--- /var/tmp/diff_new_pack.mtxJbU/_old  2023-06-16 16:54:02.445419793 +0200
+++ /var/tmp/diff_new_pack.mtxJbU/_new  2023-06-16 16:54:02.449419817 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gcstar
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,50 +17,125 @@
 
 
 Name:           gcstar
-Version:        1.7.3
+Version:        1.8.0
 Release:        0
 Summary:        Application to manage collections
-License:        GPL-2.0-only
-URL:            https://wiki.gcstar.org/en
-Source0:        
https://gitlab.com/Kerenoc/GCstar/-/archive/v%{version}/GCstar-v%{version}.tar.bz2
-# PATCH-FIX-OPENSUSE gcstar-fix-desktop.patch vu...@opensuse.org -- Fix 
desktop file for openSUSE
-Patch0:         gcstar-fix-desktop.patch
+License:        GPL-2.0-or-later
+URL:            https://www.gcstar.org/
+Source0:        
https://gitlab.com/Kerenoc/GCstar/-/archive/v%{version}/GCstar-v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
 BuildRequires:  fdupes
 BuildRequires:  perl
-BuildRequires:  perl(DateTime::Format::Strptime)
+BuildRequires:  update-desktop-files
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Digest::MD5)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(Encode::Locale)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Copy)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Glib::Object::Introspection)
 BuildRequires:  perl(Gtk3)
 BuildRequires:  perl(Gtk3::SimpleList)
-BuildRequires:  perl(JSON)
+BuildRequires:  perl(HTML::Entities)
+BuildRequires:  perl(HTTP::Cookies::Netscape)
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IO::Socket)
+BuildRequires:  perl(IO::Socket::INET)
+BuildRequires:  perl(LWP)
 BuildRequires:  perl(LWP::Protocol::https)
+BuildRequires:  perl(LWP::Simple)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(Net::SMTP)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(Text::Wrap)
+BuildRequires:  perl(URI::Escape)
+BuildRequires:  perl(Unicode::Normalize)
+BuildRequires:  perl(XML::Parser)
 BuildRequires:  perl(XML::Simple)
-BuildRequires:  typelib-1_0-GdkPixdata-2_0
-BuildRequires:  typelib-1_0-Gtk-3_0
-# We need the %%mime_database_* macros
-BuildRequires:  shared-mime-info
-BuildRequires:  update-desktop-files
-Requires:       perl
-Requires:       perl(DateTime::Format::Strptime)
+BuildRequires:  perl(filetest)
+BuildRequires:  perl(threads)
+BuildRequires:  perl(threads::shared)
+BuildRequires:  typelib(GdkPixdata) = 2.0
+BuildRequires:  typelib(Gtk) = 3.0
+BuildArch:      noarch
+
+# Mandatory dependencies
+Requires:       perl(Cwd)
+Requires:       perl(Cwd)
+Requires:       perl(Cwd)
+Requires:       perl(Data::Dumper)
+Requires:       perl(Digest::MD5)
+Requires:       perl(Encode)
+Requires:       perl(Encode::Locale)
+Requires:       perl(Exporter)
+Requires:       perl(File::Basename)
+Requires:       perl(File::Copy)
+Requires:       perl(File::Find)
+Requires:       perl(File::Path)
+Requires:       perl(File::Path)
+Requires:       perl(File::Spec)
+Requires:       perl(File::Temp)
+Requires:       perl(Glib::Object::Introspection)
 Requires:       perl(Gtk3)
 Requires:       perl(Gtk3::SimpleList)
-Requires:       perl(JSON)
+Requires:       perl(HTML::Entities)
+Requires:       perl(HTTP::Cookies::Netscape)
+Requires:       perl(IO::File)
+Requires:       perl(IO::Handle)
+Requires:       perl(IO::Socket)
+Requires:       perl(IO::Socket::INET)
+Requires:       perl(LWP)
 Requires:       perl(LWP::Protocol::https)
+Requires:       perl(LWP::Simple)
+Requires:       perl(List::Util)
+Requires:       perl(Net::SMTP)
+Requires:       perl(POSIX)
+Requires:       perl(POSIX)
+Requires:       perl(Storable)
+Requires:       perl(Text::Wrap)
+Requires:       perl(URI::Escape)
+Requires:       perl(Unicode::Normalize)
+Requires:       perl(XML::Parser)
 Requires:       perl(XML::Simple)
+Requires:       perl(filetest)
+Requires:       perl(threads)
+Requires:       perl(threads::shared)
+
+# Optional dependencies (It's probably a good idea to figure out what can be
+#                        split this between Recommends and Suggests)
+Recommends:     liberation-fonts
 Recommends:     perl(Archive::Tar)
 Recommends:     perl(Archive::Zip)
 Recommends:     perl(Compress::Zlib)
 Recommends:     perl(Date::Calc)
+Recommends:     perl(DateTime::Format::Strptime)
 Recommends:     perl(Digest::MD5)
 Recommends:     perl(GD)
-Recommends:     perl(GD::Graph)
+Recommends:     perl(GD::Graph::area)
+Recommends:     perl(GD::Graph::bars)
+Recommends:     perl(GD::Graph::pie)
 Recommends:     perl(GD::Text)
 Recommends:     perl(Image::ExifTool)
+Recommends:     perl(JSON)
+Recommends:     perl(Locale::Codes)
 Recommends:     perl(MIME::Base64)
 Recommends:     perl(MP3::Info)
 Recommends:     perl(MP3::Tag)
 Recommends:     perl(Net::FreeDB)
 Recommends:     perl(Ogg::Vorbis::Header::PurePerl)
 Recommends:     perl(Time::Piece)
-BuildArch:      noarch
 
 %description
 GCstar is a free open source application for managing collections of
@@ -69,34 +144,44 @@
 data, such as the location or who you've lent it to. You may also
 search and filter your collection by many criteria.
 
+Documentation can be found at https://gcstar.gitlab.io/gcstar_docs/en/
+
 %prep
-%setup -q -n GCstar-v%{version}
-%patch0 -p0
+%autosetup -n GCstar-v%{version}
 
 %build
+# Nothing to build here.
 
 %install
 pushd %{name}
 ./install --prefix=%{buildroot}%{_prefix}/
 rm -rf %{buildroot}%{_datadir}/{mime,applications}
+%define _hicolordir %{_datadir}/icons/hicolor
+
 for icon in share/gcstar/icons/gcstar_*.png; do
-  size=`echo $icon | sed 's,.*gcstar_,,;s,\.png,,'`
+  size=$(echo $icon | grep -oE '[0-9]+x[0-9]+')
   # Only install sizes that exist in hicolor
-  if test -d %{_datadir}/icons/hicolor/$size/apps; then
-    install -D -m644 $icon 
%{buildroot}%{_datadir}/icons/hicolor/$size/apps/gcstar.png
+  if test -d %{_datadir}/icons/hicolor/${size}/apps; then
+    installdir=%{buildroot}%{_hicolordir}/${size}/apps
+    install -D -m644 ${icon} ${installdir}/gcstar.png
   fi
-  if test -d %{_datadir}/icons/hicolor/$size/mimetypes; then
-    install -D -m644 $icon 
%{buildroot}%{_datadir}/icons/hicolor/$size/mimetypes/application-x-gcstar.png
+  if test -d %{_datadir}/icons/hicolor/${size}/mimetypes; then
+    installdir="%{buildroot}%{_hicolordir}/${size}/mimetypes"
+    install -D -m644 ${icon} ${installdir}/application-x-gcstar.png
   fi
 done
-install -D -m644 share/gcstar/icons/gcstar_scalable.svg 
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/gcstar.svg
-install -D -m644 share/gcstar/icons/gcstar_scalable.svg 
%{buildroot}%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-gcstar.svg
-mkdir -p %{buildroot}%{_datadir}/mime/packages
-install -m 644 share/applications/gcstar.xml 
%{buildroot}%{_datadir}/mime/packages
+
+install -D -m644 share/gcstar/icons/gcstar_scalable.svg \
+  %{buildroot}%{_hicolodir}/scalable/apps/gcstar.svg
+install -D -m644 share/gcstar/icons/gcstar_scalable.svg \
+  %{buildroot}%{_hicolordir}/scalable/mimetypes/application-x-gcstar.svg
+install -D -m644 share/applications/gcstar.xml \
+  -t %{buildroot}%{_datadir}/mime/packages/
+popd
+
 mkdir -p %{buildroot}%{_datadir}/applications
-%suse_update_desktop_file -i gcstar Database
+%suse_update_desktop_file -N GCstar -i gcstar Database GTK
 %fdupes %{buildroot}%{_datadir}
-popd
 
 %files
 %{_bindir}/gcstar

Reply via email to