2007-01-16 00:29:58 +01:00
|
|
|
#
|
2012-02-21 10:09:36 +01:00
|
|
|
# spec file for package perl-Class-Inspector
|
2007-01-16 00:29:58 +01:00
|
|
|
#
|
2017-08-14 15:14:17 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:29:58 +01:00
|
|
|
#
|
2009-01-21 17:52:15 +01: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:29:58 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-21 10:09:36 +01:00
|
|
|
|
2007-01-16 00:29:58 +01:00
|
|
|
Name: perl-Class-Inspector
|
2017-08-14 15:14:17 +02:00
|
|
|
Version: 1.32
|
2012-02-21 10:09:36 +01:00
|
|
|
Release: 0
|
2011-03-15 09:54:27 +01:00
|
|
|
%define cpan_name Class-Inspector
|
|
|
|
Summary: Get information about a class and its structure
|
2012-02-21 10:09:36 +01:00
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2010-01-12 14:18:39 +01:00
|
|
|
Group: Development/Libraries/Perl
|
2012-02-21 10:09:36 +01:00
|
|
|
Url: http://search.cpan.org/dist/Class-Inspector/
|
2017-08-14 15:14:17 +02:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
|
2016-11-25 08:32:52 +01:00
|
|
|
Source1: cpanspec.yml
|
2012-02-21 10:09:36 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-01-12 14:18:39 +01:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2016-11-28 11:14:59 +01:00
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
2011-03-15 09:54:27 +01:00
|
|
|
%{perl_requires}
|
2007-01-16 00:29:58 +01:00
|
|
|
|
|
|
|
%description
|
2011-03-15 09:54:27 +01:00
|
|
|
Class::Inspector allows you to get information about a loaded class. Most
|
|
|
|
or all of this information can be found in other ways, but they aren't
|
|
|
|
always very friendly, and usually involve a relatively high level of Perl
|
|
|
|
wizardry, or strange and unusual looking code. Class::Inspector attempts to
|
|
|
|
provide an easier, more friendly interface to this information.
|
2010-12-01 07:56:22 +01:00
|
|
|
|
2007-01-16 00:29:58 +01:00
|
|
|
%prep
|
2011-03-15 09:54:27 +01:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2010-01-14 11:11:04 +01:00
|
|
|
|
2007-01-16 00:29:58 +01:00
|
|
|
%build
|
2011-03-15 09:54:27 +01:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
2010-01-13 16:19:23 +01:00
|
|
|
%{__make} %{?_smp_mflags}
|
2010-01-14 11:11:04 +01:00
|
|
|
|
2007-11-20 14:58:59 +01:00
|
|
|
%check
|
2010-01-12 14:18:39 +01:00
|
|
|
%{__make} test
|
2007-01-16 00:29:58 +01:00
|
|
|
|
|
|
|
%install
|
2010-01-12 14:18:39 +01:00
|
|
|
%perl_make_install
|
2007-01-16 00:29:58 +01:00
|
|
|
%perl_process_packlist
|
2010-01-12 14:18:39 +01:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:29:58 +01:00
|
|
|
|
2010-01-12 14:18:39 +01:00
|
|
|
%files -f %{name}.files
|
2012-02-21 10:09:36 +01:00
|
|
|
%defattr(-,root,root,755)
|
2017-08-14 15:14:17 +02:00
|
|
|
%doc author.yml Changes README
|
|
|
|
%license LICENSE
|
2009-01-21 17:52:15 +01:00
|
|
|
|
2007-11-20 14:58:59 +01:00
|
|
|
%changelog
|