Compare commits

...

10 Commits

Author SHA256 Message Date
c7f1296ee6 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-YouTube-Download?expand=0&rev=12
2024-08-05 20:03:30 +00:00
30cb63f387 Accepting request 849655 from devel:languages:perl:autoupdate
- 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)

OBS-URL: https://build.opensuse.org/request/show/849655
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-YouTube-Download?expand=0&rev=11
2020-11-20 12:59:46 +00:00
8deedc989f Accepting request 836267 from devel:languages:perl:autoupdate
- 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)

OBS-URL: https://build.opensuse.org/request/show/836267
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-YouTube-Download?expand=0&rev=10
2020-09-23 15:36:02 +00:00
b2112ffb69 Accepting request 823898 from devel:languages:perl:autoupdate
- 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)

OBS-URL: https://build.opensuse.org/request/show/823898
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-YouTube-Download?expand=0&rev=9
2020-08-03 12:29:24 +00:00
e9bade5f5f Accepting request 737428 from devel:languages:perl:autoupdate
- 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)

OBS-URL: https://build.opensuse.org/request/show/737428
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-YouTube-Download?expand=0&rev=8
2019-10-15 10:38:19 +00:00
Stephan Kulow
bb68ce9a08 Accepting request 622015 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/622015
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-YouTube-Download?expand=0&rev=7
2018-07-16 06:44:43 +00:00
Stephan Kulow
a22314d79e Accepting request 404430 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/404430
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-YouTube-Download?expand=0&rev=6
2016-06-25 06:05:40 +00:00
Stephan Kulow
70d2cc2385 Accepting request 312602 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/312602
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-YouTube-Download?expand=0&rev=5
2015-06-19 05:14:32 +00:00
Stephan Kulow
c877ee2ba3 Accepting request 295999 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/295999
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-YouTube-Download?expand=0&rev=4
2015-04-13 20:38:29 +00:00
Stephan Kulow
af3a196c00 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-YouTube-Download?expand=0&rev=3 2011-11-11 11:24:21 +00:00
5 changed files with 196 additions and 52 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40ec2c76f4856f675c900ff2b75351870c894db2aedded8e582bbdba7e219e7b
size 31418

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:402d9da3926ced241340de20f61d929367b1cb071337cf17a72622c031f34b0e
size 64581

23
cpanspec.yml Normal file
View 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

View File

@@ -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

View File

@@ -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
%define test 1
%endif
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name WWW-YouTube-Download
Name: perl-WWW-YouTube-Download
Version: 0.27
Version: 0.650.0
Release: 0
Summary: Very simple YouTube video download interface
Source: http://search.cpan.org/CPAN/authors/id/X/XA/XAICRON/WWW-YouTube-Download-%{version}.tar.gz
URL: http://search.cpan.org/dist/WWW-YouTube-Download
Group: Development/Libraries/Perl
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
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
# 0.65 -> normalize -> 0.650.0
%define cpan_version 0.65
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: WWW::YouTube::Download - Very simple YouTube video download interface
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
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
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
%setup -q -n "WWW-YouTube-Download-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%__sed -i 's/\r$//' README
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?_smp_flags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%if 0%{?test}
%check
%__make test
%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}
%files -f %{name}.files
%doc Changes CONTRIBUTORS README.md
%license LICENSE
%changelog