2005-09-07 21:50:45 +00:00
|
|
|
Name: perl-Class-Singleton
|
2014-11-10 22:27:47 +00:00
|
|
|
Version: 1.5
|
|
|
|
Release: 1%{?dist}
|
2007-10-15 20:06:39 +00:00
|
|
|
Summary: Implementation of a "Singleton" class
|
|
|
|
License: GPL+ or Artistic
|
2005-09-07 21:50:45 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Class-Singleton/
|
2014-11-10 22:27:47 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/S/SH/SHAY/Class-Singleton-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
2005-09-07 21:50:45 +00:00
|
|
|
BuildArch: noarch
|
2014-11-10 22:27:47 +00:00
|
|
|
# Module Build
|
|
|
|
BuildRequires: perl
|
2007-04-17 22:42:43 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2014-11-10 22:27:47 +00:00
|
|
|
# Module Runtime
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Test Suite
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(lib)
|
2007-10-15 20:06:39 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2014-11-10 22:27:47 +00:00
|
|
|
# Runtime
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2005-09-07 21:50:45 +00:00
|
|
|
|
|
|
|
%description
|
2007-10-15 20:06:39 +00:00
|
|
|
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
|
2005-09-07 21:50:45 +00:00
|
|
|
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
|
2014-11-10 22:27:47 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2005-09-07 21:50:45 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2014-11-10 22:27:47 +00:00
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
2005-09-07 21:50:45 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
2014-11-10 22:27:47 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT
|
2005-09-07 21:50:45 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
2007-10-15 20:06:39 +00:00
|
|
|
%doc Changes README
|
2014-11-10 22:27:47 +00:00
|
|
|
%{perl_vendorlib}/Class/
|
|
|
|
%{_mandir}/man3/Class::Singleton.3*
|
2005-09-07 21:50:45 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-11-10 22:27:47 +00:00
|
|
|
* Mon Nov 10 2014 Paul Howarth <paul@city-fan.org> - 1.5-1
|
|
|
|
- Update to 1.5
|
|
|
|
- Work around global destruction order issue (CPAN RT#23568/68526)
|
|
|
|
- This release by SHAY ⇒ update source URL
|
|
|
|
- Drop %%defattr, redundant since rpm 4.4
|
|
|
|
- Don't use macros for commands
|
|
|
|
- Don't need to remove empty directories from the buildroot
|
|
|
|
- Classify buildreqs by usage
|
|
|
|
- Make %%files list more explicit
|
|
|
|
|
2014-08-26 23:40:13 +00:00
|
|
|
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.4-18
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 02:01:20 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 18:43:55 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-17 21:13:15 +00:00
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.4-15
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 11:02:49 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 13:14:24 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-11 10:13:25 +00:00
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.4-12
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 12:57:49 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-17 11:26:31 +00:00
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4-10
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-08 19:21:50 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-15 17:13:12 +00:00
|
|
|
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-8
|
2014-11-10 22:27:47 +00:00
|
|
|
- Rebuild to fix problems with vendorarch/lib (#661697)
|
2010-12-15 17:13:12 +00:00
|
|
|
|
2010-04-30 10:27:46 +00:00
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-7
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-12-04 02:04:24 +00:00
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.4-6
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 04:32:03 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 13:13:00 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-02-28 13:13:17 +00:00
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-3
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
2008-01-25 00:47:24 +00:00
|
|
|
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.4-2
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2007-10-15 20:06:39 +00:00
|
|
|
* 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.
|
|
|
|
|
2007-04-17 22:42:43 +00:00
|
|
|
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.03-4
|
|
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
|
|
- BR ExtUtils::MakeMaker.
|
|
|
|
|
2006-09-17 18:09:49 +00:00
|
|
|
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.03-3
|
|
|
|
- Canonicalize Source0 URL.
|
|
|
|
- Fix find option order.
|
|
|
|
|
2005-09-08 16:29:29 +00:00
|
|
|
* Thu Sep 08 2005 Steven Pritchard <steve@kspei.com> 1.03-2
|
|
|
|
- Fix permissions on Singleton.pm.
|
|
|
|
|
2005-09-07 21:50:45 +00:00
|
|
|
* Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 1.03-1
|
|
|
|
- Specfile autogenerated.
|