2007-01-16 00:30:25 +01:00
|
|
|
#
|
2009-07-27 22:30:18 +02:00
|
|
|
# spec file for package perl-Devel-Symdump (Version 2.08)
|
2007-01-16 00:30:25 +01:00
|
|
|
#
|
2010-01-11 18:59:45 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:30:25 +01:00
|
|
|
#
|
2009-06-18 17:02:03 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:30:25 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 17:02:03 +02:00
|
|
|
|
2007-01-16 00:30:25 +01:00
|
|
|
Name: perl-Devel-Symdump
|
2009-07-27 22:30:18 +02:00
|
|
|
%define mname %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
|
|
Summary: Dump symbol names or the symbol table
|
|
|
|
Version: 2.08
|
2010-01-11 18:59:45 +01:00
|
|
|
Release: 2
|
2009-07-27 22:30:18 +02:00
|
|
|
License: Artistic License ..
|
2007-01-16 00:30:25 +01:00
|
|
|
Group: Development/Libraries/Perl
|
2009-06-18 17:02:03 +02:00
|
|
|
Url: http://cpan.org/modules/by-module/Devel/
|
2009-07-27 22:30:18 +02:00
|
|
|
Source: %{mname}-%{version}.tar.gz
|
2007-01-16 00:30:25 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-07-27 22:30:18 +02:00
|
|
|
Conflicts: perlmod
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
2009-09-10 12:53:01 +02:00
|
|
|
#BuildRequires: perl(Test::Pod::Coverage)
|
2009-07-27 22:30:18 +02:00
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
Requires: perl(Carp)
|
2007-01-16 00:30:25 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
|
2009-07-27 22:30:18 +02:00
|
|
|
%{mname} module for perl
|
|
|
|
This little package serves to access the symbol table of perl.
|
|
|
|
Author: Andreas Koenig <andk@cpan.org>
|
|
|
|
Tom Christiansen <tchrist@perl.com>
|
|
|
|
Based on the old dumpvar.pl by Larry Wall.
|
2007-01-16 00:30:25 +01:00
|
|
|
|
2009-07-27 22:30:18 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{mname}-%{version}
|
2007-01-16 00:30:25 +01:00
|
|
|
|
|
|
|
%build
|
2009-07-27 22:30:18 +02:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
2010-01-12 11:33:29 +01:00
|
|
|
%{__make}
|
2009-07-27 22:30:18 +02:00
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2007-01-16 00:30:25 +01:00
|
|
|
|
|
|
|
%install
|
2009-07-27 22:30:18 +02:00
|
|
|
%perl_make_install
|
2007-01-16 00:30:25 +01:00
|
|
|
%perl_process_packlist
|
2009-07-27 22:30:18 +02:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:30:25 +01:00
|
|
|
|
|
|
|
%clean
|
2009-07-27 22:30:18 +02:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-16 00:30:25 +01:00
|
|
|
|
2009-07-27 22:30:18 +02:00
|
|
|
%files -f %{name}.files
|
|
|
|
# normally you only need to check for doc files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog SIGNATURE
|
2007-01-16 00:30:25 +01:00
|
|
|
|
2009-06-18 17:02:03 +02:00
|
|
|
%changelog
|