Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vido for openSUSE:Factory checked in 
at 2024-12-06 14:26:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vido (Old)
 and      /work/SRC/openSUSE:Factory/.vido.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vido"

Fri Dec  6 14:26:23 2024 rev:6 rq:1228628 version:2.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/vido/vido.changes        2022-03-01 
17:04:14.364344124 +0100
+++ /work/SRC/openSUSE:Factory/.vido.new.28523/vido.changes     2024-12-06 
14:26:35.809030537 +0100
@@ -1,0 +2,10 @@
+Tue Nov 19 06:55:49 UTC 2024 - Richard Rahl <[email protected]>
+
+- switch runtime dep from youtube-dl to yt-dlp
+- update spec file for Leap 16.0:
+  * remove %suse_update_desktop_file
+  * remove recommending lang package
+  * use autosetup
+  * remove HiDPI workaround
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ vido.spec ++++++
--- /var/tmp/diff_new_pack.zhnezP/_old  2024-12-06 14:26:36.361053706 +0100
+++ /var/tmp/diff_new_pack.zhnezP/_new  2024-12-06 14:26:36.361053706 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vido
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,28 +16,26 @@
 #
 
 
+%define         appid com.github.bernardodsanderson.vido
 Name:           vido
 Version:        2.3.0
 Release:        0
 Summary:        Online Video Downloader
 License:        GPL-3.0-or-later
-Group:          Productivity/Networking/Web/Utilities
 URL:            https://github.com/bernardodsanderson/vido
-Source:         
https://github.com/bernardodsanderson/vido/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source:         %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  gettext-runtime >= 0.19.7
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  libxml2-tools
 BuildRequires:  meson >= 0.40.0
 BuildRequires:  pkgconfig
-BuildRequires:  update-desktop-files
 BuildRequires:  vala
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(granite) >= 5.2.3
 BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(libhandy-1)
-Requires:       youtube-dl
-Recommends:     %{name}-lang
+Requires:       yt-dlp-youtube-dl
 
 %description
 This tool downloads online videos from various sources including
@@ -46,7 +44,7 @@
 %lang_package
 
 %prep
-%setup -q
+%autosetup
 
 %build
 %meson
@@ -54,31 +52,18 @@
 
 %install
 %meson_install
-%suse_update_desktop_file -r com.github.bernardodsanderson.vido GTK Network 
FileTransfer
-%find_lang com.github.bernardodsanderson.vido %{name}.lang
-%fdupes %{buildroot}/%{_datadir}
-
-# dirlist HiDPI icons (see: hicolor/index.theme)
-touch $PWD/dir.lst
-_dirlist=$PWD/dir.lst
-pushd %{buildroot}
-find ./ | while read _list; do
-    echo $_list | grep '[0-9]\@[0-9]' || continue
-    _path=$(echo $_list | sed 's/[^/]//')
-    if ! ls ${_path%/*}; then
-        grep -xqs "\%dir\ ${_path%/*}" $_dirlist || echo "%dir ${_path%/*}" >> 
$_dirlist
-    fi
-done
-popd
+%find_lang %{appid}
+%fdupes %{buildroot}
 
-%files -f dir.lst
+%files
 %license LICENSE
 %doc AUTHORS README.md
-%{_bindir}/com.github.bernardodsanderson.vido
-%{_datadir}/applications/com.github.bernardodsanderson.vido.desktop
-%{_datadir}/icons/hicolor/*/apps/com.github.bernardodsanderson.vido.??g
-%{_datadir}/metainfo/com.github.bernardodsanderson.vido.appdata.xml
-%{_datadir}/glib-2.0/schemas/com.github.bernardodsanderson.vido.gschema.xml
+%{_bindir}/%{appid}
+%{_datadir}/applications/%{appid}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{appid}.svg
+%{_datadir}/metainfo/%{appid}.appdata.xml
+%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml
+%dir 
%{_datadir}/icons/hicolor/{128x128@2,128x128@2/apps,16x16@2,16x16@2/apps,24x24@2,24x24@2/apps,32x32@2,32x32@2/apps,48x48@2,48x48@2/apps,64x64@2,64x64@2/apps}
 
-%files lang -f %{name}.lang
+%files lang -f %{appid}.lang
 

Reply via email to