%global pkg_name Scalar-Properties %global pkg_version 0.13 %global rpm_pkg_version 0.13 %global rpm_pkg_release 1.n0i.3 Summary: Run-time properties on scalar variables 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/D/DC/DCANTRELL/%{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) %description Scalar::Properties attempts to make Perl more object-oriented by taking an idea from Ruby: Everything you manipulate is an object, and the results of those manipulations are objects themselves. %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 TODO %changelog * Fri Oct 19 2007 Marius Feraru - 0.13-1.n0i.3 - version 0.13 * Tue May 22 2007 Marius Feraru - 0.12-2.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - rebuild on perl 5.8.8 * Thu Jul 28 2005 Marius Feraru 0.12-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7