You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.5 KiB
56 lines
1.5 KiB
20 years ago
|
Name: perl-Class-Trigger
|
||
|
Version: 0.09
|
||
|
Release: 3%{?dist}
|
||
|
Summary: Mixin to add / call inheritable triggers
|
||
|
Group: Development/Libraries
|
||
|
License: GPL or Artistic
|
||
|
URL: http://search.cpan.org/dist/Class-Trigger/
|
||
|
Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Class-Trigger-%{version}.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: perl(IO::Scalar), perl(Class::Data::Inheritable)
|
||
|
Requires: perl(IO::Scalar)
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||
|
|
||
|
%description
|
||
|
%{summary}.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n Class-Trigger-%{version}
|
||
|
|
||
|
%build
|
||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||
|
make %{_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc Changes README
|
||
|
%{perl_vendorlib}/Class
|
||
|
%{_mandir}/man3/*.3*
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Wed Aug 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.09-3
|
||
|
- fix missing BR: perl(Class::Data::Inheritable)
|
||
|
- use %{_smp_mflags}
|
||
|
|
||
|
* Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.09-2
|
||
|
- cleanups
|
||
|
|
||
|
* Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.09-1
|
||
|
- Initial package for Fedora Extras
|