File perl-WWW-Pastebin-PastebinCom-Create.spec of Package perl-WWW-Pastebin-PastebinCom-Create

# spec file for package perl-WWW-Pastebin-PastebinCom-Create
# Copyright (c) 2015 SUSE LINUX 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

Name:           perl-WWW-Pastebin-PastebinCom-Create
Version:        1.003
Release:        0
%define cpan_name WWW-Pastebin-PastebinCom-Create
Summary:        Paste On Www.Pastebin.Com Without Api Keys
License:        Artistic-2.0
Group:          Development/Libraries/Perl
Source1:        cpanspec.yml
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Moo) >= 1.004001
BuildRequires:  perl(WWW::Mechanize) >= 1.73
Requires:       perl(Moo) >= 1.004001
Requires:       perl(WWW::Mechanize) >= 1.73

This module provides the means to paste on the manpage
pastebin, without the need for See the WARNING!!!
section above.

%setup -q -n %{cpan_name}-%{version}

%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}

# MANUAL no testing (accesses pastebin)
#./Build test

./Build install destdir=%{buildroot} create_packlist=0

%files -f %{name}.files
%doc Changes examples LICENSE README

openSUSE Build Service is sponsored by