131 lines
4.4 KiB
RPMSpec
131 lines
4.4 KiB
RPMSpec
Name: perl-MouseX-Getopt
|
|
Summary: Mouse role for processing command line options
|
|
Version: 0.36
|
|
Release: 4%{?dist}
|
|
License: GPL+ or Artistic
|
|
URL: http://search.cpan.org/dist/MouseX-Getopt/
|
|
Source0: http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/MouseX-Getopt-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
# Module Build
|
|
BuildRequires: perl
|
|
BuildRequires: perl(File::Basename)
|
|
BuildRequires: perl(File::Copy)
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(Module::Build) >= 0.38
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(utf8)
|
|
BuildRequires: perl(warnings)
|
|
# Module Runtime
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(Getopt::Long) >= 2.37
|
|
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.081
|
|
BuildRequires: perl(Mouse) >= 0.64
|
|
BuildRequires: perl(Mouse::Meta::Attribute)
|
|
BuildRequires: perl(Mouse::Role)
|
|
BuildRequires: perl(Mouse::Util::TypeConstraints)
|
|
# Test Suite
|
|
BuildRequires: perl(Mouse::Meta::Class)
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(Test::Exception) >= 0.21
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
BuildRequires: perl(Test::Mouse)
|
|
BuildRequires: perl(Test::Warn) >= 0.21
|
|
# Optional Tests (have circular dependencies)
|
|
%if 0%{!?perl_bootstrap:1}
|
|
BuildRequires: perl(MouseX::ConfigFromFile)
|
|
BuildRequires: perl(MouseX::SimpleConfig) >= 0.07
|
|
%endif
|
|
# Runtime
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: perl(Mouse) >= 0.64
|
|
Requires: perl(Mouse::Meta::Attribute)
|
|
|
|
# Filter under-specified dependency
|
|
%global __requires_exclude ^perl\\(Mouse\\)$
|
|
|
|
%description
|
|
This is a Mouse role that provides an alternate constructor for creating
|
|
objects using parameters passed in from the command line.
|
|
|
|
%prep
|
|
%setup -q -n MouseX-Getopt-%{version}
|
|
|
|
%build
|
|
perl Build.PL --installdirs=vendor
|
|
./Build
|
|
|
|
%install
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%files
|
|
# Note: malformed LICENSE file in 0.35 .. 0.36 not shipped
|
|
# https://github.com/gfx/mousex-getopt/issues/2
|
|
%doc Changes README.md
|
|
%{perl_vendorlib}/MouseX/
|
|
%{_mandir}/man3/MouseX::Getopt.3*
|
|
%{_mandir}/man3/MouseX::Getopt::Basic.3*
|
|
%{_mandir}/man3/MouseX::Getopt::Dashes.3*
|
|
%{_mandir}/man3/MouseX::Getopt::GLD.3*
|
|
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute.3*
|
|
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::NoGetopt.3*
|
|
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::Trait.3*
|
|
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::Trait::NoGetopt.3*
|
|
%{_mandir}/man3/MouseX::Getopt::OptionTypeMap.3*
|
|
%{_mandir}/man3/MouseX::Getopt::Strict.3*
|
|
|
|
%changelog
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.36-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-3
|
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
|
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-2
|
|
- Perl 5.22 rebuild
|
|
|
|
* Thu Apr 2 2015 Paul Howarth <paul@city-fan.org> - 0.36-1
|
|
- Update to 0.36
|
|
- Fix tests that follow GLD changes
|
|
(https://github.com/gfx/mousex-getopt/pull/6)
|
|
- This release by GFUJI → update source URL and directory case
|
|
|
|
* Thu Feb 5 2015 Paul Howarth <paul@city-fan.org> - 0.35-7
|
|
- Fix FTBFS with Geopt::Long::Descriptive ≥ 0.99 (#1189458)
|
|
https://github.com/gfx/mousex-getopt/issues/5
|
|
https://github.com/gfx/mousex-getopt/pull/6
|
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-6
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-5
|
|
- Perl 5.20 rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Fri Apr 25 2014 Paul Howarth <paul@city-fan.org> - 0.35-3
|
|
- Add buildreqs for optional tests now they're available
|
|
|
|
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 0.35-2
|
|
- Incorporate feedback from package review (#1088856)
|
|
- Don't ship bogus LICENSE file
|
|
(https://github.com/gfx/mousex-getopt/issues/2)
|
|
- Make upstream URL refer to current release
|
|
- Upstream wants Module::Build ≥ 0.38
|
|
- BR:/R: perl(Mouse::Meta::Attribute)
|
|
- BR: perl(Scalar::Util) for test suite
|
|
- R: perl(Mouse) ≥ 0.64
|
|
|
|
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 0.35-1
|
|
- Update to 0.35
|
|
- GLD 0.097 no longer defaults to no_ignore_case (CPAN RT#93593)
|
|
- This release by TOKUHIROM → update source URL and directory case
|
|
- Switch to Module::Build flow
|
|
- Release tests no longer included
|
|
|
|
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 0.34-1
|
|
- Initial RPM version
|