You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.2 KiB
69 lines
2.2 KiB
Name: perl-Devel-Declare
|
|
Version: 0.006001
|
|
Release: 1%{?dist}
|
|
Summary: Adding keywords to perl, in perl
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Devel-Declare/
|
|
Source0: http://www.cpan.org/authors/id/F/FL/FLORA/Devel-Declare-%{version}.tar.gz
|
|
BuildRequires: perl(B::Compiling)
|
|
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.05
|
|
BuildRequires: perl(B::Hooks::OP::Check) >= 0.18
|
|
BuildRequires: perl(ExtUtils::Depends)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Sub::Name)
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
# necessary minimum versions not automatically detected
|
|
Requires: perl(B::Hooks::EndOfScope) >= 0.05
|
|
Requires: perl(B::Hooks::OP::Check) >= 0.18
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
Devel::Declare can install subroutines called declarators which locally
|
|
take over Perl's parser, allowing the creation of new syntax.
|
|
|
|
%prep
|
|
%setup -q -n Devel-Declare-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes README
|
|
%{perl_vendorarch}/auto/*
|
|
%{perl_vendorarch}/Devel*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sun Feb 27 2011 Iain Arnell <iarnell@gmail.com> 0.006001-1
|
|
- update to latest upstream version
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.006000-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.006000-3
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Sat Jul 17 2010 Iain Arnell <iarnell@gmail.com> 0.006000-2
|
|
- cleanup spec for moderm rpmbuild
|
|
- BR perl(B::Compiling)
|
|
|
|
* Sat Jul 03 2010 Iain Arnell <iarnell@gmail.com> 0.006000-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|