]> git.pld-linux.org Git - packages/perl-MooseX-Getopt.git/commitdiff
- updated to 0.75 master auto/th/perl-MooseX-Getopt-0.75-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 1 Jun 2022 16:41:17 +0000 (18:41 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 1 Jun 2022 16:41:17 +0000 (18:41 +0200)
perl-MooseX-Getopt.spec

index 399ca2d296d34a0a641f1b588745d59caeb6025e..799da8fd283164472138872e7ef0234c4fdb0a16 100644 (file)
@@ -1,28 +1,43 @@
 #
 # Conditional build:
-%bcond_without tests           # do not perform "make test"
+%bcond_without tests   # unit tests
 #
 %define        pdir    MooseX
 %define        pnam    Getopt
 Summary:       MooseX::Getopt - A Moose role for processing command line options
-Summary(pl.UTF-8):     MooseX::Getopt - narzędzie Moose do przetwarzania opcji z linii komend
+Summary(pl.UTF-8):     MooseX::Getopt - narzędzie Moose do przetwarzania opcji z linii poleceń
 Name:          perl-MooseX-Getopt
-Version:       0.39
+Version:       0.75
 Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/MooseX/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: f4e6ffb5794335eb6222dd822357687a
-URL:           http://search.cpan.org/dist/MooseX-Getopt/
+# Source0-md5: 1b9112b9b8723bf2ec225a0fa09285f1
+URL:           https://metacpan.org/dist/MooseX-Getopt
+BuildRequires: perl-ExtUtils-MakeMaker
+BuildRequires: perl-Module-Build-Tiny >= 0.034
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
 %if %{with tests}
-BuildRequires: perl(Getopt::Long::Descriptive) >= 0.081
+BuildRequires: perl-Getopt-Long >= 2.37
+BuildRequires: perl-Getopt-Long-Descriptive >= 0.088
+BuildRequires: perl-Module-Metadata
+BuildRequires: perl-Module-Runtime
 BuildRequires: perl-Moose >= 0.56
-BuildRequires: perl-MooseX-Role-Parameterized
+BuildRequires: perl-MooseX-Role-Parameterized >= 1.01
+BuildRequires: perl-Path-Tiny >= 0.009
+BuildRequires: perl-Scalar-List-Utils
+BuildRequires: perl-Test-Deep
 BuildRequires: perl-Test-Exception >= 0.21
-BuildRequires: perl-Test-Requires
+BuildRequires: perl-Test-Fatal
+BuildRequires: perl-Test-Needs
+BuildRequires: perl-Test-Simple >= 0.88
+BuildRequires: perl-Test-Trap
+BuildRequires: perl-Test-Warnings >= 0.009
+BuildRequires: perl-Try-Tiny
+BuildRequires: perl-namespace-autoclean
 %endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,25 +46,9 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This is a role which provides an alternate constructor for creating
 objects using parameters passed in from the command line.
 
-This module attempts to DWIM as much as possible with the command line
-params by introspecting your class's attributes. It will use the name
-of your attribute as the command line option, and if there is a type
-constraint defined, it will configure Getopt::Long to handle the
-option accordingly.
-
-You can use the trait MooseX::Getopt::Meta::Attribute::Trait or the
-attribute metaclass MooseX::Getopt::Meta::Attribute to get non-default
-commandline option names and aliases.
-
-You can use the trait MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
-or the attribute metaclass MooseX::Getopt::Meta::Attribute::NoGetopt
-to have MooseX::Getopt ignore your attribute in the commandline
-options.
-
 %description -l pl.UTF-8
-Jest to narzędzie które dostarcza alternatywny konstruktor do
-tworzenia objektówkorzystających z parametrów przekazanych z linii
-poleceń.
+Jest to narzędzie udostępniające alternatywny konstruktor do tworzenia
+obiektów korzystających z parametrów przekazanych z linii poleceń.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -72,7 +71,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README
-%{perl_vendorlib}/MooseX/*.pm
+%doc Changes README
+%{perl_vendorlib}/MooseX/Getopt.pm
 %{perl_vendorlib}/MooseX/Getopt
-%{_mandir}/man3/*
+%{_mandir}/man3/MooseX::Getopt*.3pm*
This page took 0.137587 seconds and 4 git commands to generate.