%global pkg_name IPC-PubSub %global pkg_version 0.27 %global rpm_pkg_version 0.27 %global rpm_pkg_release 1.n0i.2 Summary: Interprocess Publish/Subscribe channels Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic 2.0 URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/A/AU/AUDREYT/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) %if %{!?_without_test:1}0 BuildRequires: perl(Class::Accessor::Fast) BuildRequires: perl(DBM::Deep) BuildRequires: perl(Data::UUID) BuildRequires: perl(Time::HiRes) %endif %description This module provides a simple API for publishing messages to *channels* and for subscribing to them. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Sun Oct 21 2007 Marius Feraru - 0.27-1.n0i.2 - version 0.27 * Sat Jun 09 2007 Marius Feraru - 0.26-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 - version 0.26