b2c7b4dd6c
Copy from devel:languages:perl/perl-Class-Inspector based on submit request 29571 from user mlschroe OBS-URL: https://build.opensuse.org/request/show/29571 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Inspector?expand=0&rev=13
69 lines
2.1 KiB
RPMSpec
69 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package perl-Class-Inspector (Version 1.24)
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
|
|
Name: perl-Class-Inspector
|
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
Summary: Get Information About a Loaded Class
|
|
Version: 1.24
|
|
Release: 8
|
|
License: Artistic ; GPLv2+
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/~adamk/Class-Inspector
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(File::Spec) >= 0.80
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
BuildRequires: perl(Pod::Escapes)
|
|
BuildRequires: perl(Test::Pod)
|
|
Requires: perl = %{perl_version}
|
|
|
|
%description
|
|
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
|
|
are not always very conveniet, 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.
|
|
|
|
%prep
|
|
%setup -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root)
|
|
%doc Changes LICENSE README
|
|
|
|
%changelog
|