Blob Blame History Raw
Name:           perl-Acme-PlayCode
Version:        0.12
Release:        1%{?dist}
Summary:        Play code to win
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Acme-PlayCode/
Source0:        http://www.cpan.org/authors/id/F/FA/FAYLAND/Acme-PlayCode-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(List::MoreUtils)
# META.yml states Module::Build >= 0.36, but it's just a noice made by
# META.yml generator.
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Moose) >= 0.57
BuildRequires:  perl(MooseX::Object::Pluggable) >= 0.0008
BuildRequires:  perl(Path::Class) >= 0.16
BuildRequires:  perl(PPI) >= 1.201
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod)
BuildRequires:  dos2unix
Requires:       perl(MooseX::Object::Pluggable) >= 0.0008
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
It aims to change the code to be better (to be worse if you want).

%prep
%setup -q -n Acme-PlayCode-%{version}
dos2unix README
dos2unix Changes

%build
%{__perl} Build.PL installdirs=vendor
./Build

%install
rm -rf $RPM_BUILD_ROOT

./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*

%check
./Build test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri May 14 2010 Petr Pisar <ppisar@redhat.com> - 0.12-1
- Version bump

* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.11-6
- Mass rebuild with perl-5.12.0

* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.11-5
- rebuild against perl 5.10.1

* Wed Nov 18 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.11-4
- fix missing requirements which broke building of new packages

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Tue Apr 28 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.11-2
- add BR Test::Pod, move dos2unix into prep

* Mon Apr 27 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.11-1
- Specfile autogenerated by cpanspec 1.78.