Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-Devel-StackTrace
perl-Devel-StackTrace.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Devel-StackTrace.spec of Package perl-Devel-StackTrace
%define real_name Devel-StackTrace %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib) %define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib) %define maketest 0 Name: perl-%{real_name} Summary: Stack trace and stack trace frame objects Version: 1.22 Release: 1 License: GPL/Artistic Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Devel-StackTrace Source: %{real_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl(Test::More) >= 0.46 BuildRequires: perl-Test-Pod-Coverage BuildRequires: perl(File::Spec) BuildRequires: perl(Scalar::Util) Requires: perl(File::Spec) Requires: perl(Scalar::Util) %description The Devel::StackTrace module contains two classes, Devel::StackTrace and Devel::StackTraceFrame. The goal of this object is to encapsulate the information that can found through using the caller() function, as well as providing a simple interface to this data. The Devel::StackTrace object contains a set of Devel::StackTraceFrame objects, one for each level of the stack. The frames contain all the data available from "caller()". This code was created to support my Exception::Class::Base class (part of Exception::Class) but may be useful in other contexts. Authors: Dave Rolsky, <autarch@urth.org> %prep %setup -q -n %{real_name}-%{version} chmod -R u+w %{_builddir}/%{real_name}-%{version} %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL `%{__perl} -MExtUtils::MakeMaker -e ' print qq|PREFIX=%{buildroot}%{_prefix}| if \$ExtUtils::MakeMaker::VERSION =~ /5\.9[1-6]|6\.0[0-5]/ '` %{__make} %check %if %maketest %{__make} test %endif %install %if 0%{?suse_version} %perl_make_install %perl_process_packlist %else make DESTDIR=$RPM_BUILD_ROOT install_vendor find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {} find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null %endif find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" |xargs -i rm -f {} %files %defattr(-, root, root) %doc Changes MANIFEST README SIGNATURE %doc %{_mandir}/man?/* %{perl_vendorlib}/Devel/StackTrace.pm %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Sat Aug 29 2009 Holger Manthey <holger.manthey@bertelsmann.de> - Initial build.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor