# # spec file for package perl-Module-Info (Version 0.30) # # 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-Module-Info URL: http://search.cpan.org/~mbarbon/Module-Info/ License: Artistic License Group: Development/Languages/Perl Requires: perl = %{perl_version} Autoreqprov: on Summary: Information about Perl modules Version: 0.30 Release: 1 Source: Module-Info-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Module::Info gives you information about Perl modules without actually loading the module. It actually isn't specific to modules and should work on any perl code. Authors: -------- Mattia Barbon %prep %setup -n Module-Info-%{version} # --------------------------------------------------------------------------- %build perl Makefile.PL make # --------------------------------------------------------------------------- %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc MANIFEST /usr/bin/module_info /usr/bin/pfunc %dir %{perl_vendorlib}/B %dir %{perl_vendorlib}/B/Module %dir %{perl_vendorlib}/Module %dir %{perl_vendorarch}/auto/Module %dir %{perl_vendorarch}/auto/Module/Info %{perl_vendorlib}/B/Module/Info.pm %{perl_vendorlib}/B/BUtils.pm %{perl_vendorlib}/Module/Info.pm %{perl_vendorarch}/auto/Module/Info/.packlist %doc %{_mandir}/man?/module_info.1.gz %doc %{_mandir}/man?/pfunc.1.gz %doc %{_mandir}/man?/B::BUtils.3pm.gz %doc %{_mandir}/man?/Module::Info.3pm.gz /var/adm/perl-modules/%{name} %changelog -n perl-Module-Info * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 13 2006 - cwh@suse.de version 0.30 - Renamed the forked B::Utils to B::BUtils to avoid clashes until it is merged into the mainline. version 0.29 - Fixed version() for complex expressions. - Corrected some POD errors in module_info. version 0.28_50 - Added support for version.pm (based upon a patch by John Peacock). - Fixed the safe() attribute to be per-object instead of global. * Tue Nov 08 2005 - dmueller@suse.de - don't build as root * Sun Jul 31 2005 - cthiel@suse.de - update to version 0.28 * Mon Sep 06 2004 - cwh@suse.de - upgrade from v0.24 to v0.26 * Thu Dec 04 2003 - cwh@suse.de - fixed filelist (vendorarch) * Thu Dec 04 2003 - cwh@suse.de - initial revision