2007-01-15 23:31:12 +00:00
|
|
|
#
|
2007-07-27 00:06:00 +00:00
|
|
|
# spec file for package perl-Module-Info (Version 0.31)
|
2007-01-15 23:31:12 +00:00
|
|
|
#
|
2007-07-27 00:06:00 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:12 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
2007-07-27 00:06:00 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:31:12 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2007-07-27 00:06:00 +00:00
|
|
|
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.31
|
|
|
|
Release: 1
|
|
|
|
Source: Module-Info-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:31:12 +00:00
|
|
|
|
|
|
|
%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 <mbarbon@users.sourceforge.net>
|
|
|
|
|
|
|
|
%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}
|
|
|
|
|
2007-07-27 00:06:00 +00:00
|
|
|
%changelog
|
|
|
|
* Wed Jul 25 2007 - cwh@suse.de
|
|
|
|
version 0.31
|
|
|
|
- Fixed tests in presence of version.pm 0.72 or newer
|
|
|
|
- Added -h option to module_info
|
2007-01-15 23:31:12 +00:00
|
|
|
* 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
|