Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
perl-WWW-Shorten
perl-WWW-Shorten.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-WWW-Shorten.spec of Package perl-WWW-Shorten
# # spec file for package perl-WWW-Shorten # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://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 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 %{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'. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check # needs network ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Artistic AUTHORS ChangeLog.SPOON Changes CREDITS LICENCE README TODO %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor