8
0

Compare commits

...

11 Commits

Author SHA256 Message Date
95522a63b8 Accepting request 879435 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/879435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-WWW-Shorten?expand=0&rev=12
2021-03-18 21:54:35 +00:00
21b5648ae6 Accepting request 879142 from devel:languages:perl:autoupdate
- updated to 3.094
   see /usr/share/doc/packages/perl-WWW-Shorten/Changes

OBS-URL: https://build.opensuse.org/request/show/879142
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-Shorten?expand=0&rev=21
2021-03-16 15:01:16 +00:00
26545e6a3d Accepting request 385089 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/385089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-WWW-Shorten?expand=0&rev=11
2016-04-22 14:24:04 +00:00
Stephan Kulow
4c0ced9c06 Accepting request 384009 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/384009
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-Shorten?expand=0&rev=19
2016-04-06 06:46:50 +00:00
Stephan Kulow
c7c579f615 Accepting request 376662 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/376662
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-Shorten?expand=0&rev=18
2016-03-23 10:08:58 +00:00
c23e7ac62d Accepting request 349217 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/349217
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-WWW-Shorten?expand=0&rev=10
2015-12-17 14:54:55 +00:00
a372240703 Accepting request 349122 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/349122
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-Shorten?expand=0&rev=16
2015-12-16 16:54:27 +00:00
9e62c3d58f Accepting request 296801 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/296801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-WWW-Shorten?expand=0&rev=9
2015-04-15 14:27:45 +00:00
Stephan Kulow
97a856df79 Accepting request 296798 from devel:languages:perl:autoupdate
update

OBS-URL: https://build.opensuse.org/request/show/296798
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-Shorten?expand=0&rev=14
2015-04-15 11:11:08 +00:00
Tomáš Chvátal
59d217d086 Accepting request 202262 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/202262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-WWW-Shorten?expand=0&rev=7
2013-10-06 12:56:23 +00:00
Stephan Kulow
c2b7ac6878 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-Shorten?expand=0&rev=12
2013-10-04 15:39:38 +00:00
5 changed files with 102 additions and 46 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62241a1f584f50edfa6d2cfd796f90f2c9054f9ff9f7e6f6e25315c5485e4bc2
size 27936

3
WWW-Shorten-3.094.tar.gz Normal file
View File

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

2
cpanspec.yml Normal file
View File

@@ -0,0 +1,2 @@
---
no_testing: needs network

View File

@@ -1,3 +1,71 @@
-------------------------------------------------------------------
Sat Mar 13 03:10:47 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 3.094
see /usr/share/doc/packages/perl-WWW-Shorten/Changes
-------------------------------------------------------------------
Mon Apr 4 10:39:13 UTC 2016 - coolo@suse.com
- updated to 3.093
see /usr/share/doc/packages/perl-WWW-Shorten/Changes
-------------------------------------------------------------------
Mon Mar 21 12:13:54 UTC 2016 - coolo@suse.com
- updated to 3.092
see /usr/share/doc/packages/perl-WWW-Shorten/Changes
-------------------------------------------------------------------
Wed Dec 16 10:16:16 UTC 2015 - coolo@suse.com
- updated to 3.08
see /usr/share/doc/packages/perl-WWW-Shorten/Changes
-------------------------------------------------------------------
Wed Apr 15 10:59:18 UTC 2015 - coolo@suse.com
- updated to 3.06
see /usr/share/doc/packages/perl-WWW-Shorten/Changes
-------------------------------------------------------------------
Fri Oct 4 09:14:21 UTC 2013 - coolo@suse.com
- updated to 3.04
Dave Cross <dave@dave.org.uk> (17):
* Finish removing all references to SnipURL.pm.
* Bump to version 2.05 for release.
* Removed support for shorl.pm (now in WWW::Shorten::Shorl distribution).
* Bumped version number. Removed shorl files from MANIFEST.
* Added Config::Auto to list of dependencies (it's used by the shorten
program). Bumped version for release.
* Default to using a service that we currently support.
* Added MYMETA.yml to MANIFEST.SKIP.
* Be far more intelligent about the code that allows the user to choose
which service to use.
* Bump version number for release.
* Better examples of using bin/shorten
* Added a WWW::Shorten::UserAgent object which dies if it receives an HTTP
error response.
* Added documentation.
* Added META.json to MANIFEST.
* Licensing clean-up.
* Removed prototypes (and the ampersands in the tests that circumvented
them)
* Bump version number for release.
* Moved Pod tests into xt. (Pod coverage currently fails on some files. See
https://rt.cpan.org/Ticket/Display.html?id=87634 for details.)
Dave Cross <dave@angel.mag-sol.com> (1):
* Removed support for NotLong and OneShortLink (separate distributions to
follow soon). Bumper to version 2.06.
Dave Cross <dave@dacross.(none)> (1):
* Removed version number so it's picked up from lib/WWW/Shorten.pm
yappo <yappo@shibuya.pl> (1):
* shorl.com was change the request method ( POST to GET )
-------------------------------------------------------------------
Mon May 28 13:40:37 UTC 2012 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-WWW-Shorten
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,68 +12,54 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-WWW-Shorten
Version: 3.03
Release: 0
%define cpan_name WWW-Shorten
Summary: Interface to URL shortening sites.
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/WWW-Shorten/
Source: http://www.cpan.org/authors/id/D/DA/DAVECROSS/%{cpan_name}-%{version}.tar.gz
Name: perl-WWW-Shorten
Version: 3.094
Release: 0
Summary: Interface to URL shortening sites
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Config::Auto)
BuildRequires: perl(LWP) >= 5.75
BuildRequires: perl(LWP::UserAgent) >= 2.023
BuildRequires: perl(Module::Build)
BuildRequires: perl(URI) >= 1.27
#BuildRequires: perl(WWW::Shorten)
#BuildRequires: perl(WWW::Shorten::_dead)
#BuildRequires: perl(WWW::Shorten::generic)
#BuildRequires: perl(WWW::Shorten::LinkToolbot)
#BuildRequires: perl(WWW::Shorten::MakeAShorterLink)
#BuildRequires: perl(WWW::Shorten::Metamark)
#BuildRequires: perl(WWW::Shorten::TinyClick)
#BuildRequires: perl(WWW::Shorten::Tinylink)
#BuildRequires: perl(WWW::Shorten::UserAgent)
Requires: perl(Config::Auto)
Requires: perl(LWP) >= 5.75
Requires: perl(LWP::UserAgent) >= 2.023
Requires: perl(URI) >= 1.27
BuildRequires: perl(Getopt::Long) >= 2.4
BuildRequires: perl(LWP::UserAgent) >= 5.835
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Try::Tiny) >= 0.24
Requires: perl(Getopt::Long) >= 2.4
Requires: perl(LWP::UserAgent) >= 5.835
Requires: perl(Try::Tiny) >= 0.24
%{perl_requires}
%description
The function 'makeashorterlink' will call the relevant web site passing it
your long URL and will return the shorter version.
The function 'makealongerlink' does the reverse. 'makealongerlink' will
accept as an argument either the full shortened URL or just the identifier.
If anything goes wrong, then either function will return 'undef'.
A Perl interface to various services that shorten URLs. These sites
maintain databases of long URLs, each of which has a unique identifier.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
# needs network ./Build test
# MANUAL no testing (needs network)
#make test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Artistic AUTHORS ChangeLog.SPOON Changes CREDITS LICENCE README TODO
%doc Changes README
%license LICENSE
%changelog