%global pkg_name Socket-Class %global pkg_version 1.13 %global rpm_pkg_version 1.13 %global rpm_pkg_release 1.n0i.7 Summary: A class to communicate with sockets Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/C/CH/CHRMUE/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) %description Socket::Class provides a simple, fast and efficient way to communicate with sockets. It operates outside of the PerlIO layer and can be used as a replacement of IO::Socket. %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 * Fri Oct 19 2007 Marius Feraru - 1.13-1.n0i.7 - version 1.13 * Fri Oct 12 2007 Marius Feraru - 1.12-1.n0i.6 - version 1.12 * Fri Sep 21 2007 Marius Feraru - 1.1.1-1.n0i.5 - version 1.1.1 * Thu Sep 06 2007 Marius Feraru - 1.1.0-1.n0i.4 - version 1.1.0 * Tue Sep 04 2007 Marius Feraru - 1.0.7-1.n0i.3 - version 1.0.7 * Sat Aug 25 2007 Marius Feraru - 1.0.6-1.n0i.2 - version 1.0.6 * Fri Aug 24 2007 Marius Feraru - 1.0.5-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 1.0.5