forked from pool/perl-App-Nopaste
add susepaste
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Nopaste?expand=0&rev=2
This commit is contained in:
parent
7364109cf8
commit
cffc466fec
15
SusePaste.pm
Normal file
15
SusePaste.pm
Normal file
@ -0,0 +1,15 @@
|
||||
package App::Nopaste::Service::SusePaste;
|
||||
use strict;
|
||||
use warnings;
|
||||
use base 'App::Nopaste::Service';
|
||||
|
||||
sub uri { "http://paste.opensuse.org" }
|
||||
|
||||
=head1 NAME
|
||||
|
||||
App::Nopaste::Service::SusePaste - http://paste.opensuse.org/
|
||||
|
||||
=cut
|
||||
|
||||
1;
|
||||
|
@ -6,6 +6,7 @@ Version: 0.22
|
||||
Release: 0
|
||||
Summary: Easy access to any pastebin
|
||||
Source: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/App-Nopaste-%{version}.tar.gz
|
||||
Source1: SusePaste.pm
|
||||
URL: http://search.cpan.org/dist/App-Nopaste
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
@ -68,6 +69,7 @@ one.
|
||||
%prep
|
||||
%setup -q -n "App-Nopaste-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%__install -m 0644 "%{SOURCE1}" lib/App/Nopaste/Service/
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
|
Loading…
Reference in New Issue
Block a user