Blame SPECS/perl-Class-Singleton.spec

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