Sophie

Sophie

distrib > Arklinux > devel > i586 > media > main-src > by-pkgid > 018088a903980ca6cf983859df061cff > files > 2

perl-File-Slurp-9999.13-1ark.src.rpm

%define module File-Slurp

Name: perl-%{module}
Version: 9999.13
Release: 1ark
Summary: Perl module for reading/writing of complete files
URL: http://search.cpan.org/dist/%module
Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/D/DR/DROLSKY/%{module}-%version.tar.gz
License: Perl (Artistic or GPL)
Group: Development/Languages
BuildRoot: %{_tmppath}/%{name}-root
BuildArch: noarch

%track
prog %name = {
	url = http://search.cpan.org/dist/%module
	regex = "%module-(__VER__)"
	version = %version
}

%description
Perl module for reading/writing of complete files

%prep
%setup -q -n %{module}-%version

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %?_smp_mflags
make %?_smp_mflags test

%install
rm -rf $RPM_BUILD_ROOT
make %?_smp_mflags install INSTALLDIRS=vendor DESTDIR="$RPM_BUILD_ROOT"

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

%clean
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}

%changelog
* Mon Feb 07 2011 Bernhard Rosenkraenzer <bero@arklinux.org> 9999.13-1ark
- initial RPM, needed for frozen-bubble 2.2