Update to 1.4. Update License tag. Drop our copy of the license text.
Improve Summary. Make description match cpanspec output. BR Test::More.
This commit is contained in:
parent
eef1efb9f8
commit
b98aa0bf60
@ -1 +1 @@
|
|||||||
Class-Singleton-1.03.tar.gz
|
Class-Singleton-1.4.tar.gz
|
||||||
|
@ -1,29 +1,29 @@
|
|||||||
Name: perl-Class-Singleton
|
Name: perl-Class-Singleton
|
||||||
Version: 1.03
|
Version: 1.4
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Class::Singleton Perl module
|
Summary: Implementation of a "Singleton" class
|
||||||
License: Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Class-Singleton/
|
URL: http://search.cpan.org/dist/Class-Singleton/
|
||||||
Source0: http://www.cpan.org/authors/id/A/AB/ABW/Class-Singleton-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/A/AB/ABW/Class-Singleton-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is the Class::Singleton module. A Singleton describes an object
|
This is the Class::Singleton module. A Singleton describes an object class
|
||||||
class that can have only one instance in any system. An example of a
|
that can have only one instance in any system. An example of a Singleton
|
||||||
Singleton might be a print spooler or system registry. This module
|
might be a print spooler or system registry. This module implements a
|
||||||
implements a Singleton class from which other classes can be derived.
|
Singleton class from which other classes can be derived. By itself, the
|
||||||
By itself, the Class::Singleton module does very little other than
|
Class::Singleton module does very little other than manage the
|
||||||
manage the instantiation of a single object. In deriving a class from
|
instantiation of a single object. In deriving a class from
|
||||||
Class::Singleton, your module will inherit the Singleton instantiation
|
Class::Singleton, your module will inherit the Singleton instantiation
|
||||||
method and can implement whatever specific functionality is required.
|
method and can implement whatever specific functionality is required.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Class-Singleton-%{version}
|
%setup -q -n Class-Singleton-%{version}
|
||||||
chmod a-x Singleton.pm
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
@ -39,8 +39,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
perldoc -t perlartistic > Artistic
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
@ -49,11 +47,19 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes README Artistic
|
%doc Changes README
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 15 2007 Steven Pritchard <steve@kspei.com> 1.4-1
|
||||||
|
- Update to 1.4.
|
||||||
|
- Update License tag.
|
||||||
|
- Drop our copy of the license text.
|
||||||
|
- Improve Summary.
|
||||||
|
- Make description match cpanspec output.
|
||||||
|
- BR Test::More.
|
||||||
|
|
||||||
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.03-4
|
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.03-4
|
||||||
- Use fixperms macro instead of our own chmod incantation.
|
- Use fixperms macro instead of our own chmod incantation.
|
||||||
- BR ExtUtils::MakeMaker.
|
- BR ExtUtils::MakeMaker.
|
||||||
|
Loading…
Reference in New Issue
Block a user