03b144d
Name:           perl-Acme-PlayCode
7a36259
Version:        0.12
7a36259
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)
7a36259
# META.yml states Module::Build >= 0.36, but it's just a noice made by
7a36259
# 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
7a36259
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
7a36259
* Tue May 25 2010 Petr Pisar <ppisar@redhat.com> - 0.12-1
7a36259
- Version bump
7a36259
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.