# # spec file for package perl-Module-Info (Version 0.31) # # 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/ # # norootforbuild Name: perl-Module-Info Url: http://search.cpan.org/~mbarbon/Module-Info/ License: Artistic Group: Development/Languages/Perl Requires: perl = %{perl_version} AutoReqProv: on Summary: Information about Perl modules Version: 0.31 Release: 76 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 %{?_smp_mflags} # --------------------------------------------------------------------------- %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 %doc %{_mandir}/man?/B::Module::Info.3pm.gz /var/adm/perl-modules/%{name} %changelog