Package init
This commit is contained in:
commit
f68e63f1b7
BIN
Getopt-Long-2.50.tar.gz
Normal file
BIN
Getopt-Long-2.50.tar.gz
Normal file
Binary file not shown.
77
perl-Getopt-Long.spec
Normal file
77
perl-Getopt-Long.spec
Normal file
@ -0,0 +1,77 @@
|
||||
Name: perl-Getopt-Long
|
||||
Version: 2.50
|
||||
Release: 418
|
||||
Summary: Extended processing of command line options
|
||||
License: Artistic or GPLv2+
|
||||
URL: https://metacpan.org/pod/Getopt::Long
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: make perl-interpreter perl-generators perl(Config)
|
||||
BuildRequires: perl(constant) perl(Exporter) perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(lib) perl(overload) perl(strict) perl(Text::ParseWords)
|
||||
BuildRequires: perl(vars) perl(warnings)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(overload)
|
||||
Requires: perl(Text::ParseWords)
|
||||
Requires: perl(Pod::Usage) >= 1.14
|
||||
Provides: perl(newgetopt.pl) = %{version}
|
||||
|
||||
|
||||
%description
|
||||
Module Getopt::Long implements an extended getopt function called
|
||||
GetOptions(). This function implements the POSIX standard for command
|
||||
line options, with GNU extensions, while still capable of handling
|
||||
the traditional one-letter options.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Files for %{name} development
|
||||
|
||||
%package help
|
||||
Summary: Documents for autogen
|
||||
Buildarch: noarch
|
||||
Requires: man/info
|
||||
|
||||
%description help
|
||||
Man pages and other related documents.
|
||||
|
||||
%prep
|
||||
%autosetup -n Getopt-Long-%{version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{?buildroot}
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%pre
|
||||
|
||||
%preun
|
||||
|
||||
%post
|
||||
|
||||
%postun
|
||||
|
||||
%files
|
||||
%doc CHANGES README
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files devel
|
||||
%doc examples
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 2.50-418
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user