forked from pool/perl-App-Nopaste
0.22
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Nopaste?expand=0&rev=1
This commit is contained in:
commit
7364109cf8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
App-Nopaste-0.22.tar.gz
Normal file
3
App-Nopaste-0.22.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dd7cb9667160d292c4bbf95a59b008fe0c7718afd4045c1e5dbc4df44e87f2e6
|
||||||
|
size 33684
|
5
perl-App-Nopaste.changes
Normal file
5
perl-App-Nopaste.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 31 21:27:35 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- initial package (0.22)
|
||||||
|
|
108
perl-App-Nopaste.spec
Normal file
108
perl-App-Nopaste.spec
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
# vim: set sw=4 ts=4 et nu:
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: perl-App-Nopaste
|
||||||
|
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
|
||||||
|
URL: http://search.cpan.org/dist/App-Nopaste
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
License: Perl License
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||||
|
BuildRequires: perl(MooseX::Getopt) >= 0.17
|
||||||
|
BuildRequires: perl(Module::Pluggable)
|
||||||
|
BuildRequires: perl(WWW::Mechanize)
|
||||||
|
BuildRequires: perl(Moose) >= 0.74
|
||||||
|
Requires: perl(MooseX::Getopt) >= 0.17
|
||||||
|
Requires: perl(Module::Pluggable)
|
||||||
|
Requires: perl(WWW::Mechanize)
|
||||||
|
Requires: perl(Moose) >= 0.74
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
%package -n nopaste
|
||||||
|
Summary: Easy access to any pastebin
|
||||||
|
License: Perl License
|
||||||
|
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 "App-Nopaste-%{version}"
|
||||||
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||||||
|
|
||||||
|
%build
|
||||||
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||||
|
%__make %{?jobs:-j%{jobs}}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
|
||||||
|
find "%{buildroot}%{perl_vendorlib}" -type f -name '*.pm' -exec %__chmod 0644 {} \;
|
||||||
|
|
||||||
|
%perl_process_packlist
|
||||||
|
|
||||||
|
%check
|
||||||
|
%__make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc Changes
|
||||||
|
%dir %{perl_vendorlib}/App
|
||||||
|
%{perl_vendorlib}/App/Nopaste.pm
|
||||||
|
%dir %{perl_vendorlib}/App/Nopaste
|
||||||
|
%{perl_vendorlib}/App/Nopaste/*.pm
|
||||||
|
%dir %{perl_vendorlib}/App/Nopaste/Service
|
||||||
|
%{perl_vendorlib}/App/Nopaste/Service/*.pm
|
||||||
|
%dir %{perl_vendorarch}/auto/App
|
||||||
|
%{perl_vendorarch}/auto/App/Nopaste
|
||||||
|
%doc %{perl_man3dir}/App::Nopaste.%{perl_man3ext}%{ext_man}
|
||||||
|
%doc %{perl_man3dir}/App::Nopaste::*.%{perl_man3ext}%{ext_man}
|
||||||
|
/var/adm/perl-modules/%{name}
|
||||||
|
|
||||||
|
%files -n nopaste
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/nopaste
|
||||||
|
%doc %{_mandir}/man1/nopaste.1%{ext_man}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user