Package init

This commit is contained in:
dogsheng 2019-12-25 16:02:12 +08:00
parent f68e63f1b7
commit 6769032f94

View File

@ -1,13 +1,13 @@
Name: perl-Getopt-Long Name: perl-Getopt-Long
Version: 2.50 Version: 2.50
Release: 418 Release: 419
Summary: Extended processing of command line options Summary: Extended processing of command line options
License: Artistic or GPLv2+ License: Artistic or GPLv2+
URL: https://metacpan.org/pod/Getopt::Long URL: https://metacpan.org/pod/Getopt::Long
Source0: https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: make perl-interpreter perl-generators perl(Config) BuildRequires: make perl perl-generators perl(Config)
BuildRequires: perl(constant) perl(Exporter) perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(constant) perl(Exporter) perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(lib) perl(overload) perl(strict) perl(Text::ParseWords) BuildRequires: perl(lib) perl(overload) perl(strict) perl(Text::ParseWords)
BuildRequires: perl(vars) perl(warnings) BuildRequires: perl(vars) perl(warnings)
@ -25,20 +25,7 @@ GetOptions(). This function implements the POSIX standard for command
line options, with GNU extensions, while still capable of handling line options, with GNU extensions, while still capable of handling
the traditional one-letter options. the traditional one-letter options.
%package devel %package_help
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 %prep
%autosetup -n Getopt-Long-%{version} -p1 %autosetup -n Getopt-Long-%{version} -p1
@ -63,15 +50,18 @@ make test
%postun %postun
%files %files
%doc CHANGES README %doc CHANGES README examples
%{perl_vendorlib}/* %{perl_vendorlib}/*
%files devel
%doc examples
%files help %files help
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.50-419
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete devel package
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 2.50-418 * Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 2.50-418
- Package init - Package init