da4b774
Name:           perl-Class-Trigger
2589f4b
Version:        0.10
435d035
Release:        2%{?dist}
da4b774
Summary:        Mixin to add / call inheritable triggers
da4b774
Group:          Development/Libraries
fa9aee7
License:        GPL+ or Artistic
da4b774
URL:            http://search.cpan.org/dist/Class-Trigger/
da4b774
Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Class-Trigger-%{version}.tar.gz
da4b774
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
da4b774
da4b774
BuildArch:      noarch
da4b774
BuildRequires:  perl(IO::Scalar), perl(Class::Data::Inheritable)
da4b774
Requires:  perl(IO::Scalar)
da4b774
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
da4b774
da4b774
%description
da4b774
%{summary}.
da4b774
da4b774
%prep
da4b774
%setup -q -n Class-Trigger-%{version}
da4b774
da4b774
%build
da4b774
%{__perl} Makefile.PL INSTALLDIRS=vendor
da4b774
make %{_smp_mflags}
da4b774
da4b774
%install
da4b774
rm -rf $RPM_BUILD_ROOT
da4b774
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
da4b774
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
da4b774
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
da4b774
chmod -R u+w $RPM_BUILD_ROOT/*
da4b774
da4b774
%check
da4b774
make test
da4b774
da4b774
%clean
da4b774
rm -rf $RPM_BUILD_ROOT
da4b774
da4b774
%files
da4b774
%defattr(-,root,root,-)
da4b774
%doc Changes README
da4b774
%{perl_vendorlib}/Class
da4b774
%{_mandir}/man3/*.3*
da4b774
da4b774
da4b774
%changelog
435d035
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-2
435d035
- bump for fc6
435d035
2589f4b
* Tue Jan 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-1
2589f4b
- bump to 0.10
2589f4b
da4b774
* Wed Aug 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.09-3
da4b774
- fix missing BR: perl(Class::Data::Inheritable)
da4b774
- use %{_smp_mflags}
da4b774
da4b774
* Fri Jul  8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.09-2
da4b774
- cleanups
da4b774
da4b774
* Wed Jul  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.09-1
da4b774
- Initial package for Fedora Extras