8e21fe3
Name:           perl-Class-Singleton
b98aa0b
Version:        1.4
8095d33
Release:        16%{?dist}
b98aa0b
Summary:        Implementation of a "Singleton" class
b98aa0b
License:        GPL+ or Artistic
8e21fe3
Group:          Development/Libraries
8e21fe3
URL:            http://search.cpan.org/dist/Class-Singleton/
a92f878
Source0:        http://www.cpan.org/authors/id/A/AB/ABW/Class-Singleton-%{version}.tar.gz
8e21fe3
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8e21fe3
BuildArch:      noarch
eef1efb
BuildRequires:  perl(ExtUtils::MakeMaker)
b98aa0b
BuildRequires:  perl(Test::More)
8e21fe3
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
8e21fe3
8e21fe3
%description
b98aa0b
This is the Class::Singleton module. A Singleton describes an object class
b98aa0b
that can have only one instance in any system. An example of a Singleton
b98aa0b
might be a print spooler or system registry. This module implements a
b98aa0b
Singleton class from which other classes can be derived. By itself, the
b98aa0b
Class::Singleton module does very little other than manage the
b98aa0b
instantiation of a single object. In deriving a class from
8e21fe3
Class::Singleton, your module will inherit the Singleton instantiation
8e21fe3
method and can implement whatever specific functionality is required.
8e21fe3
8e21fe3
%prep
8e21fe3
%setup -q -n Class-Singleton-%{version}
8e21fe3
8e21fe3
%build
8e21fe3
%{__perl} Makefile.PL INSTALLDIRS=vendor
8e21fe3
make %{?_smp_mflags}
8e21fe3
8e21fe3
%install
8e21fe3
rm -rf $RPM_BUILD_ROOT
8e21fe3
8e21fe3
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
8e21fe3
8e21fe3
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
a92f878
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
8e21fe3
eef1efb
%{_fixperms} $RPM_BUILD_ROOT/*
8e21fe3
8e21fe3
%check
8e21fe3
make test
8e21fe3
8e21fe3
%clean
8e21fe3
rm -rf $RPM_BUILD_ROOT
8e21fe3
8e21fe3
%files
8e21fe3
%defattr(-,root,root,-)
b98aa0b
%doc Changes README
8e21fe3
%{perl_vendorlib}/*
8e21fe3
%{_mandir}/man3/*
8e21fe3
8e21fe3
%changelog
8095d33
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-16
8095d33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8095d33
9f6acaa
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.4-15
9f6acaa
- Perl 5.18 rebuild
9f6acaa
0176ee5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-14
0176ee5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0176ee5
b1c0618
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-13
b1c0618
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b1c0618
0b61ba0
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.4-12
0b61ba0
- Perl 5.16 rebuild
0b61ba0
d86689d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11
d86689d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d86689d
8151968
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4-10
8151968
- Perl mass rebuild
8151968
6b5b453
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-9
6b5b453
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6b5b453
8976715
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-8
8976715
- 661697 rebuild for fixing problems with vendorach/lib
8976715
b49afd0
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-7
b49afd0
- Mass rebuild with perl-5.12.0
b49afd0
f7590c0
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.4-6
f7590c0
- rebuild against perl 5.10.1
f7590c0
1be4d34
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
1be4d34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1be4d34
e887059
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4
e887059
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e887059
b665c75
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-3
b665c75
- Rebuild for perl 5.10 (again)
b665c75
0aca8a9
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.4-2
0aca8a9
- rebuild for new perl
0aca8a9
b98aa0b
* Mon Oct 15 2007 Steven Pritchard <steve@kspei.com> 1.4-1
b98aa0b
- Update to 1.4.
b98aa0b
- Update License tag.
b98aa0b
- Drop our copy of the license text.
b98aa0b
- Improve Summary.
b98aa0b
- Make description match cpanspec output.
b98aa0b
- BR Test::More.
b98aa0b
eef1efb
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.03-4
eef1efb
- Use fixperms macro instead of our own chmod incantation.
eef1efb
- BR ExtUtils::MakeMaker.
eef1efb
a92f878
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.03-3
a92f878
- Canonicalize Source0 URL.
a92f878
- Fix find option order.
a92f878
6b508cf
* Thu Sep 08 2005 Steven Pritchard <steve@kspei.com> 1.03-2
6b508cf
- Fix permissions on Singleton.pm.
6b508cf
8e21fe3
* Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 1.03-1
8e21fe3
- Specfile autogenerated.