03b144d
Name:           perl-Acme-PlayCode
e681af0
Version:        0.12
e681af0
Release:        1%{?dist}
03b144d
Summary:        Play code to win
03b144d
License:        GPL+ or Artistic
03b144d
Group:          Development/Libraries
03b144d
URL:            http://search.cpan.org/dist/Acme-PlayCode/
03b144d
Source0:        http://www.cpan.org/authors/id/F/FA/FAYLAND/Acme-PlayCode-%{version}.tar.gz
03b144d
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
03b144d
BuildArch:      noarch
03b144d
BuildRequires:  perl(List::MoreUtils)
e681af0
# META.yml states Module::Build >= 0.36, but it's just a noice made by
e681af0
# META.yml generator.
03b144d
BuildRequires:  perl(Module::Build)
03b144d
BuildRequires:  perl(Moose) >= 0.57
03b144d
BuildRequires:  perl(MooseX::Object::Pluggable) >= 0.0008
03b144d
BuildRequires:  perl(Path::Class) >= 0.16
03b144d
BuildRequires:  perl(PPI) >= 1.201
03b144d
BuildRequires:  perl(Test::More)
03b144d
BuildRequires:  perl(Test::Pod)
03b144d
BuildRequires:  dos2unix
f075055
Requires:       perl(MooseX::Object::Pluggable) >= 0.0008
03b144d
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
03b144d
03b144d
%description
03b144d
It aims to change the code to be better (to be worse if you want).
03b144d
03b144d
%prep
03b144d
%setup -q -n Acme-PlayCode-%{version}
03b144d
dos2unix README
03b144d
dos2unix Changes
03b144d
03b144d
%build
03b144d
%{__perl} Build.PL installdirs=vendor
03b144d
./Build
03b144d
03b144d
%install
03b144d
rm -rf $RPM_BUILD_ROOT
03b144d
03b144d
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
03b144d
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
03b144d
%{_fixperms} $RPM_BUILD_ROOT/*
03b144d
03b144d
%check
03b144d
./Build test
03b144d
03b144d
%clean
03b144d
rm -rf $RPM_BUILD_ROOT
03b144d
03b144d
%files
03b144d
%defattr(-,root,root,-)
03b144d
%doc Changes README
03b144d
%{perl_vendorlib}/*
03b144d
%{_mandir}/man3/*
03b144d
03b144d
%changelog
e681af0
* Fri May 14 2010 Petr Pisar <ppisar@redhat.com> - 0.12-1
e681af0
- Version bump
e681af0
ecc966f
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.11-6
ecc966f
- Mass rebuild with perl-5.12.0
ecc966f
d04a6cc
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.11-5
d04a6cc
- rebuild against perl 5.10.1
d04a6cc
f075055
* Wed Nov 18 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.11-4
f075055
- fix missing requirements which broke building of new packages
f075055
57e6c8a
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
57e6c8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
57e6c8a
03b144d
* Tue Apr 28 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.11-2
03b144d
- add BR Test::Pod, move dos2unix into prep
03b144d
03b144d
* Mon Apr 27 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.11-1
03b144d
- Specfile autogenerated by cpanspec 1.78.