diff --git a/.cvsignore b/.cvsignore index e69de29..e466d2c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Carp-Clan-5.3.tar.gz diff --git a/perl-Carp-Clan.spec b/perl-Carp-Clan.spec new file mode 100644 index 0000000..fd05644 --- /dev/null +++ b/perl-Carp-Clan.spec @@ -0,0 +1,54 @@ +Name: perl-Carp-Clan +Version: 5.3 +Release: 1 +Summary: Report errors from perspective of caller of a "clan" of modules + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Carp-Clan/ +Source0: http://www.cpan.org/authors/id/S/ST/STBEY/Carp-Clan-5.3.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module reports errors from the perspective of the caller of a +"clan" of modules, similar to "Carp.pm" itself. But instead of giving +it a number of levels to skip on the calling stack, you give it a +pattern to characterize the package names of the "clan" of modules +which shall never be blamed for any error. + + +%prep +%setup -q -n Carp-Clan-%{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 Artistic.txt CHANGES.txt GNU_GPL.txt README.txt +%{perl_vendorlib}/Carp/ +%{_mandir}/man3/*.3* + + +%changelog +* Sat Apr 02 2005 Jose Pedro Oliveira - 5.3-1 +- First build. diff --git a/sources b/sources index e69de29..05e04a7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d0a0431921b2c786aac234dfb6fe02ca Carp-Clan-5.3.tar.gz