Compare commits
10 Commits
8ba2e42ba9
...
c7f1296ee6
Author | SHA256 | Date | |
---|---|---|---|
c7f1296ee6 | |||
30cb63f387 | |||
8deedc989f | |||
b2112ffb69 | |||
e9bade5f5f | |||
|
bb68ce9a08 | ||
|
a22314d79e | ||
|
70d2cc2385 | ||
|
c877ee2ba3 | ||
|
af3a196c00 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:40ec2c76f4856f675c900ff2b75351870c894db2aedded8e582bbdba7e219e7b
|
|
||||||
size 31418
|
|
3
WWW-YouTube-Download-0.65.tar.gz
Normal file
3
WWW-YouTube-Download-0.65.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:402d9da3926ced241340de20f61d929367b1cb071337cf17a72622c031f34b0e
|
||||||
|
size 64581
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,114 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 20 11:38:54 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.65
|
||||||
|
see /usr/share/doc/packages/perl-WWW-YouTube-Download/Changes
|
||||||
|
|
||||||
|
0.65 2020-11-19 23:03:14Z
|
||||||
|
- Fix extracting the video title from a playlist (GH#64) (David Mortiboy)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 21 03:13:23 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.64
|
||||||
|
see /usr/share/doc/packages/perl-WWW-YouTube-Download/Changes
|
||||||
|
|
||||||
|
0.64 2020-09-20 15:12:09Z
|
||||||
|
- Get youtube-playlists working again. (GH#60, fixes GH#40) (isync)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 1 03:23:21 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.63
|
||||||
|
see /usr/share/doc/packages/perl-WWW-YouTube-Download/Changes
|
||||||
|
|
||||||
|
0.63 2020-06-23 21:13:51Z
|
||||||
|
- Find url in a new way (GH#56) (Roy Storey)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 11 09:06:21 UTC 2019 - <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.62
|
||||||
|
see /usr/share/doc/packages/perl-WWW-YouTube-Download/Changes
|
||||||
|
|
||||||
|
0.62 2019-10-10 12:59:04Z
|
||||||
|
- Remove Build.PL. Fixes #53 (GH#54) (Olaf Alders)
|
||||||
|
|
||||||
|
0.61 2019-10-09 01:48:27Z
|
||||||
|
- Document that youtube-playlists is currently broken (GH#52) (Olaf Alders)
|
||||||
|
- Add progress bar display with Term::ProgressBar. (GH#10 and GH#50) (Ryo
|
||||||
|
Okamoto and Mohammad S Anwar)
|
||||||
|
- Fix typo (GH#48) (Alexandr Ciornii)
|
||||||
|
- use JSON::MaybeXS instead of JSON (GH#43) (Dan Book)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 11 06:17:13 UTC 2018 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.60
|
||||||
|
see /usr/share/doc/packages/perl-WWW-YouTube-Download/Changes
|
||||||
|
|
||||||
|
0.60 2018-07-10T20:08:49Z
|
||||||
|
- Fix regexp warning with perl 5.28 GH#42 (gregor herrmann)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 24 06:47:23 UTC 2016 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.59
|
||||||
|
see /usr/share/doc/packages/perl-WWW-YouTube-Download/Changes
|
||||||
|
|
||||||
|
0.59 2016-06-23T16:07:09Z
|
||||||
|
- Fixed test failures (B. Estrade)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 18 18:35:21 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.58
|
||||||
|
see /usr/share/doc/packages/perl-WWW-YouTube-Download/Changes
|
||||||
|
|
||||||
|
0.58 2015-06-17T22:29:38Z
|
||||||
|
- Added a user-agent override switch (isync)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 13 19:09:55 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.57
|
||||||
|
see /usr/share/doc/packages/perl-WWW-YouTube-Download/Changes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 13 19:09:54 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.36
|
||||||
|
see /usr/share/doc/packages/perl-WWW-YouTube-Download/Changes
|
||||||
|
|
||||||
|
0.36 Mon Oct 31 02:45:48 2011
|
||||||
|
- fix default filename problem in youtube-download.pl
|
||||||
|
|
||||||
|
0.35 Tue Oct 18 00:28:58 2011
|
||||||
|
- fix typo in youtube-playlists.pl (rt:71721)
|
||||||
|
|
||||||
|
0.34 Sat Oct 15 16:14:57 2011
|
||||||
|
- workaround for win32
|
||||||
|
- fix suffix problem
|
||||||
|
|
||||||
|
0.33 Wed Oct 12 01:17:34 2011
|
||||||
|
- added youtube-download.pl and youtube-playlist.pl (request by st3vil++)
|
||||||
|
- fix doc
|
||||||
|
|
||||||
|
0.32 Tue Aug 23 01:52:20 2011
|
||||||
|
- added LICENSE file (no code change)
|
||||||
|
|
||||||
|
0.31 Tue Aug 23 00:25:02 2011
|
||||||
|
- added fmt 38 to .mp4 (mikolaj++)
|
||||||
|
|
||||||
|
0.30 Sun Aug 7 15:25:11 2011
|
||||||
|
- cleanup (mikolaj++)
|
||||||
|
|
||||||
|
0.29 Fri Aug 5 01:29:27 2011
|
||||||
|
- fixed a problem that did not works, becouse changed YouTube's design. (katsuhito konishi++)
|
||||||
|
|
||||||
|
0.28 Thu Aug 4 00:03:58 2011
|
||||||
|
- fixed a problem that did not works, becouse changed YouTube's design. (mikolaj++)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 29 19:29:58 CET 2011 - pascal.bleser@opensuse.org
|
Sun May 29 19:29:58 CET 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,66 +1,76 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
|
# spec file for package perl-WWW-YouTube-Download
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1120
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
%define test 1
|
#
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
|
%define cpan_name WWW-YouTube-Download
|
||||||
Name: perl-WWW-YouTube-Download
|
Name: perl-WWW-YouTube-Download
|
||||||
Version: 0.27
|
Version: 0.650.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Very simple YouTube video download interface
|
# 0.65 -> normalize -> 0.650.0
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/X/XA/XAICRON/WWW-YouTube-Download-%{version}.tar.gz
|
%define cpan_version 0.65
|
||||||
URL: http://search.cpan.org/dist/WWW-YouTube-Download
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Summary: WWW::YouTube::Download - Very simple YouTube video download interface
|
||||||
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
%{perl_requires}
|
Source1: cpanspec.yml
|
||||||
BuildRequires: perl-macros
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
||||||
%if 0%{?test}
|
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
%endif
|
|
||||||
BuildRequires: perl(URI::Escape)
|
|
||||||
BuildRequires: perl(HTML::Entities)
|
|
||||||
BuildRequires: perl(JSON)
|
|
||||||
BuildRequires: perl(LWP)
|
|
||||||
Requires: perl(URI::Escape)
|
|
||||||
Requires: perl(HTML::Entities)
|
|
||||||
Requires: perl(JSON)
|
|
||||||
Requires: perl(LWP)
|
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(HTML::Entities)
|
||||||
|
BuildRequires: perl(HTTP::Request)
|
||||||
|
BuildRequires: perl(JSON::MaybeXS)
|
||||||
|
BuildRequires: perl(LWP::UserAgent)
|
||||||
|
BuildRequires: perl(MIME::Type)
|
||||||
|
BuildRequires: perl(Mock::Quick)
|
||||||
|
BuildRequires: perl(URI)
|
||||||
|
Requires: perl(HTML::Entities)
|
||||||
|
Requires: perl(HTTP::Request)
|
||||||
|
Requires: perl(JSON::MaybeXS)
|
||||||
|
Requires: perl(LWP::UserAgent)
|
||||||
|
Requires: perl(MIME::Type)
|
||||||
|
Requires: perl(URI)
|
||||||
|
Provides: perl(WWW::YouTube::Download) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
WWW::YouTube::Download is to download videos from YouTube.
|
WWW::YouTube::Download is a library to download videos from YouTube. It
|
||||||
|
relies entirely on scraping a video's webpage and does not use YT's
|
||||||
|
/get_video_info URL space.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "WWW-YouTube-Download-%{version}"
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
%__sed -i 's/\r$//' README
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?_smp_flags}
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%if 0%{?test}
|
%files -f %{name}.files
|
||||||
%check
|
%doc Changes CONTRIBUTORS README.md
|
||||||
%__make test
|
%license LICENSE
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README Changes
|
|
||||||
%dir %{perl_vendorlib}/WWW
|
|
||||||
%dir %{perl_vendorlib}/WWW/YouTube
|
|
||||||
%{perl_vendorlib}/WWW/YouTube/Download.pm
|
|
||||||
%doc %{perl_man3dir}/WWW::YouTube::Download.%{perl_man3ext}%{ext_man}
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Reference in New Issue
Block a user