forked from pool/perl-WWW-Shorten
Compare commits
11 Commits
8df01a68fb
...
95522a63b8
Author | SHA256 | Date | |
---|---|---|---|
95522a63b8 | |||
21b5648ae6 | |||
26545e6a3d | |||
|
4c0ced9c06 | ||
|
c7c579f615 | ||
c23e7ac62d | |||
a372240703 | |||
9e62c3d58f | |||
|
97a856df79 | ||
|
59d217d086 | ||
|
c2b7ac6878 |
@@ -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
3
WWW-Shorten-3.094.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e9a4e713d08c85b74b28157a367494da90f0dc524e680522ab26173e0167f888
|
||||
size 25651
|
2
cpanspec.yml
Normal file
2
cpanspec.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
no_testing: needs network
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user