forked from pool/perl-WWW-Pastebin-PastebinCom-Create
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-Pastebin-PastebinCom-Create?expand=0&rev=1
59 lines
1.7 KiB
RPMSpec
59 lines
1.7 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
|
|
Name: perl-WWW-Pastebin-PastebinCom-Create
|
|
Version: 0.003
|
|
Release: 0
|
|
Summary: Paste to pastebin.com from Perl
|
|
Source: http://search.cpan.org/CPAN/authors/id/Z/ZO/ZOFFIX/WWW-Pastebin-PastebinCom-Create-%{version}.tar.gz
|
|
URL: http://search.cpan.org/dist/WWW-Pastebin-PastebinCom-Create
|
|
Group: Development/Libraries/Perl
|
|
License: Perl License
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
Requires: perl = %{perl_version}
|
|
BuildRequires: perl
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Module::Build) >= 0.35
|
|
BuildRequires: perl(URI) >= 1.35
|
|
BuildRequires: perl(LWP::UserAgent) >= 2.036
|
|
BuildRequires: perl(overload) >= 1.04
|
|
BuildRequires: perl(Carp) >= 1.04
|
|
Requires: perl(URI) >= 1.35
|
|
Requires: perl(LWP::UserAgent) >= 2.036
|
|
Requires: perl(overload) >= 1.04
|
|
Requires: perl(Carp) >= 1.04
|
|
|
|
%description
|
|
The module provides means of pasting large texts into the
|
|
http://pastebin.com pastebin site.
|
|
|
|
%prep
|
|
%setup -q -n "WWW-Pastebin-PastebinCom-Create-%{version}"
|
|
|
|
%build
|
|
%__perl ./Build.PL
|
|
./Build
|
|
|
|
%install
|
|
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
|
%perl_process_packlist
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Changes README
|
|
%dir %{perl_vendorlib}/WWW
|
|
%dir %{perl_vendorlib}/WWW/Pastebin
|
|
%dir %{perl_vendorlib}/WWW/Pastebin/PastebinCom
|
|
%{perl_vendorlib}/WWW/Pastebin/PastebinCom/Create.pm
|
|
%dir %{perl_vendorarch}/auto/WWW
|
|
%dir %{perl_vendorarch}/auto/WWW/Pastebin
|
|
%dir %{perl_vendorarch}/auto/WWW/Pastebin/PastebinCom
|
|
%{perl_vendorarch}/auto/WWW/Pastebin/PastebinCom/Create
|
|
%doc %{perl_man3dir}/WWW::Pastebin::PastebinCom::Create.%{perl_man3ext}%{ext_man}
|
|
|