cc3b99
Name:           perl-Class-Singleton
cc3b99
Version:        1.5
cc3b99
Release:        9%{?dist}
cc3b99
Summary:        Implementation of a "Singleton" class
cc3b99
License:        GPL+ or Artistic
cc3b99
Group:          Development/Libraries
cc3b99
URL:            http://search.cpan.org/dist/Class-Singleton/
cc3b99
Source0:        http://www.cpan.org/authors/id/S/SH/SHAY/Class-Singleton-%{version}.tar.gz
cc3b99
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
cc3b99
BuildArch:      noarch
cc3b99
# Module Build
cc3b99
BuildRequires:  perl-interpreter
cc3b99
BuildRequires:  perl-generators
cc3b99
BuildRequires:  perl(ExtUtils::MakeMaker)
cc3b99
# Module Runtime
cc3b99
BuildRequires:  perl(strict)
cc3b99
BuildRequires:  perl(warnings)
cc3b99
# Test Suite
cc3b99
BuildRequires:  perl(base)
cc3b99
BuildRequires:  perl(lib)
cc3b99
BuildRequires:  perl(Test::More)
cc3b99
# Runtime
cc3b99
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
cc3b99
cc3b99
%description
cc3b99
This is the Class::Singleton module. A Singleton describes an object class
cc3b99
that can have only one instance in any system. An example of a Singleton
cc3b99
might be a print spooler or system registry. This module implements a
cc3b99
Singleton class from which other classes can be derived. By itself, the
cc3b99
Class::Singleton module does very little other than manage the
cc3b99
instantiation of a single object. In deriving a class from
cc3b99
Class::Singleton, your module will inherit the Singleton instantiation
cc3b99
method and can implement whatever specific functionality is required.
cc3b99
cc3b99
%prep
cc3b99
%setup -q -n Class-Singleton-%{version}
cc3b99
cc3b99
%build
cc3b99
perl Makefile.PL INSTALLDIRS=vendor
cc3b99
make %{?_smp_mflags}
cc3b99
cc3b99
%install
cc3b99
rm -rf $RPM_BUILD_ROOT
cc3b99
make pure_install DESTDIR=$RPM_BUILD_ROOT
cc3b99
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
cc3b99
%{_fixperms} $RPM_BUILD_ROOT
cc3b99
cc3b99
%check
cc3b99
make test
cc3b99
cc3b99
%clean
cc3b99
rm -rf $RPM_BUILD_ROOT
cc3b99
cc3b99
%files
cc3b99
%doc Changes README
cc3b99
%{perl_vendorlib}/Class/
cc3b99
%{_mandir}/man3/Class::Singleton.3*
cc3b99
cc3b99
%changelog
cc3b99
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-9
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cc3b99
cc3b99
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-8
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cc3b99
cc3b99
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-7
cc3b99
- Perl 5.26 rebuild
cc3b99
cc3b99
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-6
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cc3b99
cc3b99
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-5
cc3b99
- Perl 5.24 rebuild
cc3b99
cc3b99
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-4
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cc3b99
cc3b99
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-3
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cc3b99
cc3b99
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-2
cc3b99
- Perl 5.22 rebuild
cc3b99
cc3b99
* Mon Nov 10 2014 Paul Howarth <paul@city-fan.org> - 1.5-1
cc3b99
- Update to 1.5
cc3b99
  - Work around global destruction order issue (CPAN RT#23568/68526)
cc3b99
- This release by SHAY ⇒ update source URL
cc3b99
- Drop %%defattr, redundant since rpm 4.4
cc3b99
- Don't use macros for commands
cc3b99
- Don't need to remove empty directories from the buildroot
cc3b99
- Classify buildreqs by usage
cc3b99
- Make %%files list more explicit
cc3b99
cc3b99
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.4-18
cc3b99
- Perl 5.20 rebuild
cc3b99
cc3b99
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-17
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cc3b99
cc3b99
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-16
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cc3b99
cc3b99
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.4-15
cc3b99
- Perl 5.18 rebuild
cc3b99
cc3b99
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-14
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cc3b99
cc3b99
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-13
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cc3b99
cc3b99
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.4-12
cc3b99
- Perl 5.16 rebuild
cc3b99
cc3b99
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cc3b99
cc3b99
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4-10
cc3b99
- Perl mass rebuild
cc3b99
cc3b99
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-9
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cc3b99
cc3b99
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-8
cc3b99
- Rebuild to fix problems with vendorarch/lib (#661697)
cc3b99
cc3b99
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-7
cc3b99
- Mass rebuild with perl-5.12.0
cc3b99
cc3b99
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.4-6
cc3b99
- rebuild against perl 5.10.1
cc3b99
cc3b99
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cc3b99
cc3b99
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4
cc3b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cc3b99
cc3b99
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-3
cc3b99
- Rebuild for perl 5.10 (again)
cc3b99
cc3b99
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.4-2
cc3b99
- rebuild for new perl
cc3b99
cc3b99
* Mon Oct 15 2007 Steven Pritchard <steve@kspei.com> 1.4-1
cc3b99
- Update to 1.4.
cc3b99
- Update License tag.
cc3b99
- Drop our copy of the license text.
cc3b99
- Improve Summary.
cc3b99
- Make description match cpanspec output.
cc3b99
- BR Test::More.
cc3b99
cc3b99
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.03-4
cc3b99
- Use fixperms macro instead of our own chmod incantation.
cc3b99
- BR ExtUtils::MakeMaker.
cc3b99
cc3b99
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.03-3
cc3b99
- Canonicalize Source0 URL.
cc3b99
- Fix find option order.
cc3b99
cc3b99
* Thu Sep 08 2005 Steven Pritchard <steve@kspei.com> 1.03-2
cc3b99
- Fix permissions on Singleton.pm.
cc3b99
cc3b99
* Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 1.03-1
cc3b99
- Specfile autogenerated.