perl-Carp-Clan/perl-Carp-Clan.spec
OBS User autobuild 2ffa298a1d Accepting request 29658 from devel:languages:perl
Copy from devel:languages:perl/perl-Carp-Clan based on submit request 29658 from user anicka

OBS-URL: https://build.opensuse.org/request/show/29658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Carp-Clan?expand=0&rev=8
2010-01-18 14:18:09 +00:00

76 lines
2.2 KiB
RPMSpec

#
# spec file for package perl-Carp-Clan (Version 6.04)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Carp-Clan
BuildRequires: perl-Test-Exception
Version: 6.04
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic ; GPLv2+
Url: http://cpan.org/modules/by-module/Carp/
Summary: Report Errors from the Perspective of the Caller of a "Clan" of Modules
Source: Carp-Clan-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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 that
should never be blamed for errors. It makes these modules stick
together like a "clan" and any error that occurs will be blamed on the
"outsider" script or modules not belonging to this "clan".
Authors:
--------
Steffen Beyer <sb@engelschall.com>
%prep
%setup -q -n Carp-Clan-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
for i in `ls *.txt`; do mv $i `basename $i .txt`; done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc license/Artistic.txt Changes license/GNU_GPL.txt README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Carp
%{perl_vendorarch}/auto/Carp
/var/adm/perl-modules/%{name}
%changelog