Accepting request 1228628 from X11:Pantheon:Apps
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1228628 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vido?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 06:55:49 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 20 16:05:39 UTC 2022 - Alexei Podvalsky <avvissu@yandex.by>
|
||||
|
||||
|
||||
@@ -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 @@ archive.org and others.
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%meson
|
||||
@@ -54,32 +52,19 @@ archive.org and others.
|
||||
|
||||
%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}
|
||||
%find_lang %{appid}
|
||||
%fdupes %{buildroot}
|
||||
|
||||
# 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
|
||||
|
||||
%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
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user