Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
perl-App-Nopaste
perl-App-Nopaste.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-App-Nopaste.spec of Package perl-App-Nopaste
# # spec file for package perl-App-Nopaste # # Copyright (c) 2017 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 http://bugs.opensuse.org/ # Name: perl-App-Nopaste Version: 1.011 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/ Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz Source1: SusePaste.pm Source2: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Browser::Open) BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120620 BuildRequires: perl(Class::Load) BuildRequires: perl(Getopt::Long::Descriptive) BuildRequires: perl(JSON::MaybeXS) BuildRequires: perl(LWP::Protocol) BuildRequires: perl(Module::Metadata) BuildRequires: perl(Module::Pluggable) BuildRequires: perl(Module::Runtime) BuildRequires: perl(Path::Tiny) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(URI::Escape) BuildRequires: perl(WWW::Mechanize) BuildRequires: perl(namespace::clean) >= 0.19 BuildRequires: perl(parent) Requires: perl(Browser::Open) Requires: perl(Class::Load) Requires: perl(Getopt::Long::Descriptive) Requires: perl(JSON::MaybeXS) Requires: perl(Module::Pluggable) Requires: perl(Module::Runtime) Requires: perl(Path::Tiny) Requires: perl(URI::Escape) Requires: perl(WWW::Mechanize) Requires: perl(namespace::clean) >= 0.19 Requires: perl(parent) Recommends: perl(Browser::Open) Recommends: perl(Clipboard) Recommends: perl(WWW::Pastebin::PastebinCom::Create) >= 1.003 %{perl_requires} %description 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. It's also modular: you only need to put on CPAN a App::Nopaste::Service::Foo module and anyone can begin using it. %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 # MANUAL BEGIN %__install -m 0644 "%{SOURCE1}" lib/App/Nopaste/Service/ # MANUAL END %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes CONTRIBUTING README %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor