perl-Class-Inspector/perl-Class-Inspector.spec

71 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-Class-Inspector (Version 1.16)
#
# Copyright (c) 2006 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, GNU General Public License (GPL) - all versions
Group: Development/Languages/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.16
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
arn'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.
Authors:
--------
Adam Kennedy <cpan@ali.as>
%prep
%setup -n %{perl_name}-%{version}
%build
perl Makefile.PL
make
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 -n perl-Class-Inspector
* Wed Oct 18 2006 - pth@suse.de
- Initial package creation.