%global pkg_name Test-Unit-Lite %global pkg_version 0.0701 %global rpm_pkg_version 0.07_01 %global rpm_pkg_release 1.n0i.5 Summary: Unit testing without external dependencies 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/modules/by-module/Test/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl %description This framework provides lighter version of Test::Unit framework. It implements some of the Test::Unit classes and methods needed to run test units. It tries to be compatible with public API of Test::Unit. It doesn't implement all classes and methods at 100%% and only those necessary to run tests are available. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README t/ %changelog * Thu Nov 01 2007 Marius Feraru - 0.07_01-1.n0i.5.0.0701 - version 0.0701 * Sat Oct 13 2007 Marius Feraru - 0.06_01-1.n0i.4.0.0601 - version 0.0601 * Sat Oct 06 2007 Marius Feraru - 0.05-1.n0i.3 - version 0.05 * Fri Sep 28 2007 Marius Feraru - 0.04_02-1.n0i.2.0.0402 - version 0.0402 * Sun Sep 23 2007 Marius Feraru - 0.04_01-1.n0i.1.0.0401 - spec file (re)created using N0i::CPAN::RPMizer/1.14.11 - version 0.0401