%define pkg_name Class-Singleton %define pkg_version 1.4 %define rpm_pkg_version 1.4 %define rpm_pkg_release 1.n0i.9 Summary: Implementation of a "Singleton" class 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/A/AB/ABW/%{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) BuildRequires: perl(Test::More) %description This is the Class::Singleton module. A Singleton describes an object class that can have only one instance in any system. An example of a Singleton might be a print spooler or system registry. This module implements a Singleton class from which other classes can be derived. By itself, the Class::Singleton module does very little other than manage the instantiation of a single object. In deriving a class from Class::Singleton, your module will inherit the Singleton instantiation method and can implement whatever specific functionality is required. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %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 Sep 28 2007 Marius Feraru - 1.4-1.n0i.9 - version 1.4 * Tue May 22 2007 Marius Feraru - 1.03-4.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - mass rebuild * Sun Jul 24 2005 Marius Feraru 1.03-3.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.03-2.n0i.6 - automatic rebuild (perl 5.8.6) * Sat Dec 04 2004 Marius Feraru 0:1.03-2.n0i.5 - automatic rebuild (perl 5.8.6) * Fri Apr 30 2004 Marius Feraru 0:1.03-1.n0i.4 - automatic rebuild * Thu Apr 22 2004 Marius Feraru 0:1.03-1.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 - rebuild (perl 5.8.4) * Thu Jan 29 2004 Marius FERARU 0:1.03-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Wed Oct 01 2003 Marius FERARU 1.03-0.n0i - version 1.03 - spec file (re?)created using N0i::CPAN::RPMizer/2003092601