package created by autospec [release 0.14-1mamba;Mon Feb 21 2011]
This commit is contained in:
parent
ec9eb7aa06
commit
ddcf1b8662
@ -1,2 +1,4 @@
|
||||
# perl-Class-Trigger
|
||||
|
||||
Class::Trigger is a mixin class to add / call triggers (or hooks) that get called at some points you specify.
|
||||
|
||||
|
53
perl-Class-Trigger.spec
Normal file
53
perl-Class-Trigger.spec
Normal file
@ -0,0 +1,53 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-Class-Trigger
|
||||
Version: 0.14
|
||||
Release: 1mamba
|
||||
Summary: Class::Trigger - Mixin to add / call inheritable triggers
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: gil <puntogil@libero.it>
|
||||
URL: http://www.cpan.org
|
||||
Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Class-Trigger-%{version}.tar.gz
|
||||
License: GPL, Artistic
|
||||
BuildRequires: perl(IO::Scalar)
|
||||
BuildRequires: perl(IO::WrapTie)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl-devel
|
||||
Requires: perl >= %perl_major_ver
|
||||
Requires: perl(IO::Scalar)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Class::Trigger is a mixin class to add / call triggers (or hooks) that get called at some points you specify.
|
||||
|
||||
%prep
|
||||
%setup -q -n Class-Trigger-%{version}
|
||||
|
||||
|
||||
%build
|
||||
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||
%make
|
||||
%make test
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall_perl
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w %{buildroot}/*
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{perl_vendorlib}/Class/*
|
||||
%{_mandir}/man3/*.3pm.gz
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
* Mon Feb 21 2011 gil <puntogil@libero.it> 0.14-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user