rpms/perl-Class-Singleton/devel perl-Class-Singleton.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Wed Sep 7 21:50:48 UTC 2005


Author: steve

Update of /cvs/extras/rpms/perl-Class-Singleton/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2595/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Class-Singleton.spec 
Log Message:
auto-import perl-Class-Singleton-1.03-1 on branch devel from perl-Class-Singleton-1.03-1.src.rpm


--- NEW FILE perl-Class-Singleton.spec ---
Name:           perl-Class-Singleton
Version:        1.03
Release:        1%{?dist}
Summary:        Class::Singleton Perl module
License:        Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Class-Singleton/
Source0:        http://www.cpan.org/modules/by-module/Class/Class-Singleton-1.03.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%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 Class-Singleton-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;

chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*

perldoc -t perlartistic > Artistic

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Wed Aug 31 2005 Steven Pritchard <steve at kspei.com> 1.03-1
- Specfile autogenerated.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-Singleton/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Sep 2005 21:49:58 -0000	1.1
+++ .cvsignore	7 Sep 2005 21:50:45 -0000	1.2
@@ -0,0 +1 @@
+Class-Singleton-1.03.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-Singleton/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Sep 2005 21:49:58 -0000	1.1
+++ sources	7 Sep 2005 21:50:45 -0000	1.2
@@ -0,0 +1 @@
+80202a57411cb3e939fec327a87564bf  Class-Singleton-1.03.tar.gz




More information about the fedora-extras-commits mailing list