1.1006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-cpanminus?expand=0&rev=1
This commit is contained in:
commit
85019c40f6
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-cpanminus-1.1006.tar.gz
Normal file
3
App-cpanminus-1.1006.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d538a274e2ae7a8f57b81faeef1073c74f69c96aa832b9737404b75c29f6d802
|
||||||
|
size 60126
|
5
perl-App-cpanminus.changes
Normal file
5
perl-App-cpanminus.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 27 22:39:15 CET 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- initial version (1.1006)
|
||||||
|
|
84
perl-App-cpanminus.spec
Normal file
84
perl-App-cpanminus.spec
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
# vim: set sw=4 ts=4 et nu:
|
||||||
|
|
||||||
|
Name: perl-App-cpanminus
|
||||||
|
Version: 1.1006
|
||||||
|
Release: 0
|
||||||
|
Summary: Get, unpack, build and install modules from CPAN
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/App-cpanminus-%{version}.tar.gz
|
||||||
|
URL: http://search.cpan.org/dist/App-cpanminus
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
License: Perl License
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
%{perl_requires}
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||||
|
BuildRequires: perl(Module::Build) >= 0.36
|
||||||
|
BuildRequires: perl(ExtUtils::Install) >= 1.46
|
||||||
|
Requires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||||
|
Requires: perl(Module::Build) >= 0.36
|
||||||
|
Requires: perl(ExtUtils::Install) >= 1.46
|
||||||
|
|
||||||
|
%description
|
||||||
|
cpanminus is a script to get, unpack, build and install modules from CPAN.
|
||||||
|
Why? It's dependency free, requires zero configuration, and stands alone.
|
||||||
|
When running, it requires only 10MB of RAM.
|
||||||
|
|
||||||
|
%package -n cpanm
|
||||||
|
Summary: Get, unpack, build and install modules from CPAN
|
||||||
|
Group: Development/Tools/Other
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
%if 0%{?suse_version} >= 1120
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description -n cpanm
|
||||||
|
cpanminus is a script to get, unpack, build and install modules from CPAN.
|
||||||
|
Why? It's dependency free, requires zero configuration, and stands alone.
|
||||||
|
When running, it requires only 10MB of RAM.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n "App-cpanminus-%{version}"
|
||||||
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||||||
|
%__sed -i 's|6.31|6.30|g' Makefile.PL
|
||||||
|
|
||||||
|
%__grep -rlE 'ExtUtils::MakeMaker.*6\.' . | while read f; do
|
||||||
|
%__perl -p -i -e 's|^(.+ExtUtils::MakeMaker.*?)(6\.\d\d)(.*)$|${1}6.30$3|' "$f"
|
||||||
|
done
|
||||||
|
|
||||||
|
%build
|
||||||
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||||
|
%__make %{?jobs:-j%{jobs}}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
|
||||||
|
mkdir .rpmdoc
|
||||||
|
for f in Changes README; do
|
||||||
|
%__ln_s -f ../%{name}/$f .rpmdoc/$f
|
||||||
|
done
|
||||||
|
|
||||||
|
%check
|
||||||
|
%__make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc Changes README
|
||||||
|
%dir %{perl_vendorlib}/App
|
||||||
|
%{perl_vendorlib}/App/cpanminus.pm
|
||||||
|
%dir %{perl_vendorarch}/auto/App
|
||||||
|
%{perl_vendorarch}/auto/App/cpanminus
|
||||||
|
%doc %{perl_man3dir}/App::cpanminus.%{perl_man3ext}%{ext_man}
|
||||||
|
|
||||||
|
%files -n cpanm
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc .rpmdoc/*
|
||||||
|
%{_bindir}/cpanm
|
||||||
|
%doc %{_mandir}/man1/cpanm.1%{ext_man}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user