forked from pool/perl-App-Nopaste
readd susepaste
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Nopaste?expand=0&rev=20
This commit is contained in:
parent
a57a24ad7d
commit
de78aa9c8e
@ -25,6 +25,8 @@ 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
|
||||
# MANUAL
|
||||
Source1: SusePaste.pm
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
@ -83,8 +85,33 @@ one.
|
||||
It's also modular: you only need to put on CPAN a the
|
||||
App::Nopaste::Service::Foo manpage module and anyone can begin using it.
|
||||
|
||||
%package -n nopaste
|
||||
Summary: Easy access to any pastebin
|
||||
Group: Productivity/Networking/Web/Utilities
|
||||
Requires: %{name} = %{version}
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description -n nopaste
|
||||
Pastebins (also known as nopaste sites) let you post text, usually code,
|
||||
for public viewing. They're used a lot in IRC channels to show code that
|
||||
would normally be too long to give directly in the channel (hence the name
|
||||
nopaste).
|
||||
|
||||
Each pastebin is slightly different. When one pastebin goes down (I'm
|
||||
looking at you, <http://paste.husk.org>), then you have to find a new one.
|
||||
And if you usually use a script to publish text, then it's too much
|
||||
hassle.
|
||||
|
||||
This module aims to smooth out the differences between pastebins, and
|
||||
provides redundancy: if one site doesn't work, it just tries a different
|
||||
one.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%__install -m 0644 "%{SOURCE1}" lib/App/Nopaste/Service/
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user