95 lines
2.9 KiB
RPMSpec
95 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package perl-Class-Inspector (Version 1.23)
|
|
#
|
|
# Copyright (c) 2009 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-Class-Inspector
|
|
%define perl_name Class-Inspector
|
|
BuildRequires: perl-Pod-Escapes perl-Pod-Simple perl-Test-Pod
|
|
Url: http://search.cpan.org/~adamk/Class-Inspector
|
|
License: Artistic License; GPL v2 or later
|
|
Group: Development/Libraries/Perl
|
|
Requires: perl-Pod-Escapes perl-Pod-Simple perl-Test-Pod perl = %{perl_version}
|
|
AutoReqProv: on
|
|
Summary: Get Information About a Loaded Class
|
|
Version: 1.23
|
|
Release: 1
|
|
Source: Class-Inspector-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Adam Kennedy <cpan@ali.as>
|
|
|
|
%prep
|
|
%setup -n %{perl_name}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make
|
|
|
|
%check
|
|
make test
|
|
# ---------------------------------------------------------------------------
|
|
|
|
%install
|
|
make DESTDIR=%buildroot install_vendor
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
rm -rf %buildroot
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Changes LICENSE MANIFEST README
|
|
%dir %{perl_vendorlib}/Class
|
|
%{perl_vendorlib}/Class/Inspector.pm
|
|
%dir %{perl_vendorarch}/auto/Class
|
|
%dir %{perl_vendorarch}/auto/Class/Inspector
|
|
%{perl_vendorarch}/auto/Class/Inspector/.packlist
|
|
%doc %{_mandir}/man3/Class::Inspector.3pm.gz
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog
|
|
* Wed Jan 21 2009 pth@suse.de
|
|
- Update to 1.23.
|
|
Changes since 1.19:
|
|
- Updating to Module::Install 0.75
|
|
- Correcting the location of the author tests
|
|
- Adding experimental support for utf8 methods
|
|
(as per http://rt.cpan.org/Public/Bug/Display.html?id=28796)
|
|
- Adapt to changes to File::Spec
|
|
* Tue Nov 20 2007 pth@suse.de
|
|
- Update to 1.18:
|
|
- Updated to Module::Install 0.68
|
|
(This brings META.yml to the current version)
|
|
- Classes with leading numbers after the first :: are permitted
|
|
- Removing some old cruft from the tests
|
|
* Wed Oct 18 2006 pth@suse.de
|
|
- Initial package creation.
|