forked from pool/perl-App-Nopaste
Accepting request 221599 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/221599 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=7
This commit is contained in:
commit
58b06693a9
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a7d8b19662c96679a7844685d9833cd16a75c47683d8a68908b56a2cc2da211
|
||||
size 42911
|
3
App-Nopaste-0.96.tar.gz
Normal file
3
App-Nopaste-0.96.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5d8125f398ee8ce8356d23311e152653d8b6a650b49b14adce01c14a685e010b
|
||||
size 39469
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 9 13:31:34 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 0.96
|
||||
- added missing prereqs
|
||||
- bumped the minimum version needed for the (optional) prerequisite
|
||||
WWW::Pastebin::PastebinCom::Create, to avoid errors in previous
|
||||
versions (thanks, Zoffix!)
|
||||
- updated and fixed debian and ubuntu language mappings (haarg, PR#1)
|
||||
- packaging converted to Dist::Zilla; handling of optional features
|
||||
fixed (see RT#91053)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 15 15:24:28 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-App-Nopaste
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 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
|
||||
@ -17,54 +17,40 @@
|
||||
|
||||
|
||||
Name: perl-App-Nopaste
|
||||
Version: 0.92
|
||||
Version: 0.96
|
||||
Release: 0
|
||||
%define cpan_name App-Nopaste
|
||||
Summary: easy access to any pastebin
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/App-Nopaste/
|
||||
Source: http://www.cpan.org/authors/id/S/SA/SARTAK/%{cpan_name}-%{version}.tar.gz
|
||||
Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||
# MANUAL
|
||||
Source1: SusePaste.pm
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Browser::Open)
|
||||
BuildRequires: perl(Class::Load)
|
||||
BuildRequires: perl(Clipboard)
|
||||
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.090
|
||||
BuildRequires: perl(Getopt::Long::Descriptive)
|
||||
BuildRequires: perl(JSON)
|
||||
BuildRequires: perl(LWP::Protocol)
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
||||
BuildRequires: perl(Module::Pluggable)
|
||||
BuildRequires: perl(Module::Runtime)
|
||||
BuildRequires: perl(URI::Escape)
|
||||
BuildRequires: perl(WWW::Mechanize)
|
||||
BuildRequires: perl(WWW::Pastebin::PastebinCom::Create)
|
||||
#BuildRequires: perl(App::Nopaste)
|
||||
#BuildRequires: perl(App::Nopaste::Command)
|
||||
#BuildRequires: perl(App::Nopaste::Service)
|
||||
#BuildRequires: perl(CPANPLUS::Backend)
|
||||
#BuildRequires: perl(HTTP::Request::Common)
|
||||
#BuildRequires: perl(inc::Module::Install)
|
||||
#BuildRequires: perl(LWP::Protocol)
|
||||
#BuildRequires: perl(LWP::Simple)
|
||||
#BuildRequires: perl(Module::AutoInstall)
|
||||
#BuildRequires: perl(Module::Build)
|
||||
#BuildRequires: perl(Module::Install::AutoManifest)
|
||||
#BuildRequires: perl(Module::Install::Base)
|
||||
#BuildRequires: perl(Module::Install::GithubMeta)
|
||||
#BuildRequires: perl(Module::Install::ManifestSkip)
|
||||
#BuildRequires: perl(Parse::CPAN::Meta)
|
||||
#BuildRequires: perl(YAML::Tiny)
|
||||
Requires: perl(Browser::Open)
|
||||
BuildRequires: perl(version)
|
||||
Requires: perl(Class::Load)
|
||||
Requires: perl(Clipboard)
|
||||
Requires: perl(Getopt::Long::Descriptive) >= 0.090
|
||||
Requires: perl(Getopt::Long::Descriptive)
|
||||
Requires: perl(JSON)
|
||||
Requires: perl(Module::Pluggable)
|
||||
Requires: perl(Module::Runtime)
|
||||
Requires: perl(URI::Escape)
|
||||
Requires: perl(WWW::Mechanize)
|
||||
Requires: perl(WWW::Pastebin::PastebinCom::Create)
|
||||
Recommends: perl(Browser::Open)
|
||||
Recommends: perl(Clipboard)
|
||||
Recommends: perl(WWW::Pastebin::PastebinCom::Create) >= 1.003
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@ -115,19 +101,18 @@ one.
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
./Build test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes
|
||||
%doc Changes CONTRIBUTING LICENSE README README.md
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user