File perl-Class-Inspector.spec of Package perl-Class-Inspector

#
# spec file for package perl-Class-Inspector (Version 1.18)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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.18
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
* 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.
openSUSE Build Service is sponsored by