Sophie

Sophie

distrib > Arklinux > devel > x86_64 > media > main-src > by-pkgid > 850d12318dab598d19dff708fbb6b3a6 > files > 2

perl-IPC-System-Simple-1.21-1ark.src.rpm

%define module IPC-System-Simple

Name: perl-%{module}
Version: 1.21
Release: 1ark
Summary: Perl module for Inter-Process Communication
URL: http://search.cpan.org/dist/%module
Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/P/PJ/PJF/%{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 Inter-Process Communication

%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}/IPC

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

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