perl-MooseX-Getopt/perl-MooseX-Getopt.spec

112 lines
3.4 KiB
RPMSpec
Raw Normal View History

2007-05-04 15:13:38 +00:00
Name: perl-MooseX-Getopt
Version: 0.20
Release: 1%{?dist}
2007-05-04 15:13:38 +00:00
Summary: Moose role for processing command line options
License: GPL+ or Artistic
2007-05-04 15:13:38 +00:00
Group: Development/Libraries
URL: http://search.cpan.org/dist/MooseX-Getopt/
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/MooseX-Getopt-%{version}.tar.gz
2007-05-04 15:13:38 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Getopt::Long::Descriptive)
# 2.35 is what we have in F-8 perl -- tests all pass
BuildRequires: perl(Getopt::Long) >= 2.37
2009-04-26 03:47:29 +00:00
BuildRequires: perl(Moose) >= 0.56
2007-05-04 15:13:38 +00:00
# tests...
BuildRequires: perl(Test::More) >= 0.62
2007-05-04 15:13:38 +00:00
BuildRequires: perl(Test::Exception) >= 0.21
BuildRequires: perl(Scalar::Util)
# optional tests
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
### auto-added reqs!
Requires: perl(Getopt::Long) >= 2.37
Requires: perl(Getopt::Long::Descriptive)
Requires: perl(Moose) >= 0.56
2007-05-04 15:13:38 +00:00
%description
This is a Moose role which provides an alternate constructor for creating
2007-05-04 15:13:38 +00:00
objects using parameters passed in from the command line.
%prep
%setup -q -n MooseX-Getopt-%{version}
perl -pi -e 's/2.37/2.35/' Makefile.PL
2007-05-04 15:13:38 +00:00
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
2007-05-04 15:13:38 +00:00
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
2007-05-04 15:13:38 +00:00
%{_fixperms} %{buildroot}/*
%check
make test
2007-05-04 15:13:38 +00:00
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc ChangeLog README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Aug 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.20-1
- auto-update to 0.20 (by cpan-spec-update 0.01)
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42)
- altered br on perl(Getopt::Long) (2.35 => 2.37)
- added a new req on perl(Getopt::Long) (version 2.37)
- added a new req on perl(Getopt::Long::Descriptive) (version 0)
- added a new req on perl(Moose) (version 0.56)
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-04-26 03:47:29 +00:00
* Sat Apr 25 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.18-1
- update to 0.18
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-09-09 06:01:32 +00:00
* Mon Sep 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.15-1
- update to 0.15
* Thu Jul 10 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.13-2
- tweak Getopt::Long dep to 2.35; passes tests just fine with 2.35, and that's
what we have in F-8 perl
* Sat Jun 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.13-1
- update to 0.13
- switch to Module::Install invocations, rather than Module::Build
2008-03-05 15:04:28 +00:00
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-2
- rebuild for new perl
* Fri Aug 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.05-1
- update to 0.05
- license tag: GPL -> GPL+
2007-05-04 15:29:07 +00:00
* Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-2
- bump
2007-05-04 15:13:38 +00:00
* Thu May 03 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
- update to 0.03
* Fri Apr 20 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
- Specfile autogenerated by cpanspec 1.69.1.