Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 13a79e5336bb41b80fc33be90ec49a20 > files > 2

perl-Class-Singleton-1.03-4mdv2008.0.src.rpm

%define module	Class-Singleton
%define name	perl-%{module}
%define version	1.03
%define	release	%mkrel 4

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	A Singleton class for Perl
License:	GPL or Artistic
Group:		Development/Perl
Source0:	%{module}-%{version}.tar.bz2
Url:		http://search.cpan.org/dist/%{module}
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	perl-devel

%description
This is the Class::Singleton module. A Singleton describes an object class that
can have only one instance in any system. This module implements a Singleton
class from which other classes can be derived.

%prep
%setup -q -n %{module}-%{version}
chmod 644 Singleton.pm

%build
%__perl Makefile.PL INSTALLDIRS=vendor
%make

%check
%make test

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean 
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/Class/*
%{_mandir}/*/*



%changelog
* Mon Aug 20 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.03-4mdv2008.0
+ Revision: 67715
- rebuild

* Sun May 06 2007 Olivier Thauvin <nanardon@mandriva.org> 1.03-3mdv2008.0
+ Revision: 23417
- rebuild


* Fri Jan 13 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.03-2mdk
- Rebuild.

* Wed Aug 25 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.03-1mdk
- Initial MDK release.