Chris Weyl 0639467
Name:           perl-Class-Base
Chris Weyl 0639467
Version:        0.03
b398bc8
Release:        7%{?dist}
Chris Weyl 0639467
Summary:        Useful base class for deriving other modules
fd49748
License:        GPL+ or Artistic
Chris Weyl 0639467
Group:          Development/Libraries
Chris Weyl 0639467
URL:            http://search.cpan.org/dist/Class-Base/
Chris Weyl 0639467
Source0:        http://www.cpan.org/authors/id/A/AB/ABW/Class-Base-%{version}.tar.gz
Chris Weyl 0639467
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Chris Weyl 0639467
BuildArch:      noarch
Chris Weyl 0639467
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl 0639467
Chris Weyl 0639467
# core
Chris Weyl 0639467
BuildRequires: perl(ExtUtils::MakeMaker)
Chris Weyl 0639467
# cpan
Chris Weyl 0639467
Chris Weyl 0639467
Chris Weyl 0639467
%description
Chris Weyl 0639467
This module implements a simple base class from which other modules can be
Chris Weyl 0639467
derived, thereby inheriting a number of useful methods such as new(),
Chris Weyl 0639467
init(), params(), clone(), error() and debug().
Chris Weyl 0639467
Chris Weyl 0639467
%prep
Chris Weyl 0639467
%setup -q -n Class-Base-%{version}
Chris Weyl 0639467
Chris Weyl 0639467
chmod -c -x test.pl
Chris Weyl 0639467
Chris Weyl 0639467
%build
Chris Weyl 0639467
%{__perl} Makefile.PL INSTALLDIRS=vendor
Chris Weyl 0639467
make %{?_smp_mflags}
Chris Weyl 0639467
Chris Weyl 0639467
%install
Chris Weyl 0639467
rm -rf %{buildroot}
Chris Weyl 0639467
Chris Weyl 0639467
make pure_install PERL_INSTALL_ROOT=%{buildroot}
Chris Weyl 0639467
Chris Weyl 0639467
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
Chris Weyl 0639467
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
Chris Weyl 0639467
Chris Weyl 0639467
%{_fixperms} %{buildroot}/*
Chris Weyl 0639467
Chris Weyl 0639467
%check
Chris Weyl 0639467
make test
Chris Weyl 0639467
Chris Weyl 0639467
%clean
Chris Weyl 0639467
rm -rf %{buildroot}
Chris Weyl 0639467
Chris Weyl 0639467
%files
Chris Weyl 0639467
%defattr(-,root,root,-)
Chris Weyl 0639467
%doc Changes README TODO test.pl
Chris Weyl 0639467
%{perl_vendorlib}/*
Chris Weyl 0639467
%{_mandir}/man3/*
Chris Weyl 0639467
Chris Weyl 0639467
%changelog
b398bc8
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-7
b398bc8
- Mass rebuild with perl-5.12.0
b398bc8
eaac461
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-6
eaac461
- rebuild against perl 5.10.1
eaac461
2439845
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-5
2439845
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2439845
f7101f2
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-4
f7101f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f7101f2
fd49748
* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-3
fd49748
- rebuild for new perl
fd49748
Chris Weyl da82b26
* Wed May 16 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-2
Chris Weyl da82b26
- bump
Chris Weyl da82b26
Chris Weyl 0639467
* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
Chris Weyl 0639467
- Specfile autogenerated by cpanspec 1.71.