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
|
|
|
#
|
2009-06-18 15:08:51 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:12 +00:00
|
|
|
#
|
2009-06-18 15:08:51 +00:00
|
|
|
# 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.
|
|
|
|
|
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
|
|
|
|
|
2009-06-18 15:08:51 +00:00
|
|
|
|
2007-07-27 00:06:00 +00:00
|
|
|
Name: perl-Module-Info
|
2008-01-13 13:55:52 +00:00
|
|
|
Url: http://search.cpan.org/~mbarbon/Module-Info/
|
2007-07-27 00:06:00 +00:00
|
|
|
License: Artistic License
|
|
|
|
Group: Development/Languages/Perl
|
|
|
|
Requires: perl = %{perl_version}
|
2008-01-13 13:55:52 +00:00
|
|
|
AutoReqProv: on
|
2007-07-27 00:06:00 +00:00
|
|
|
Summary: Information about Perl modules
|
|
|
|
Version: 0.31
|
2009-06-18 15:08:51 +00:00
|
|
|
Release: 75
|
2007-07-27 00:06:00 +00:00
|
|
|
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
|
2008-01-13 13:55:52 +00:00
|
|
|
%doc %{_mandir}/man?/B::Module::Info.3pm.gz
|
2007-01-15 23:31:12 +00:00
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-07-27 00:06:00 +00:00
|
|
|
%changelog
|
2009-06-18 15:08:51 +00:00
|
|
|
* Sun Jan 13 2008 coolo@suse.de
|
2008-01-13 13:55:52 +00:00
|
|
|
- fix file list
|
2009-06-18 15:08:51 +00:00
|
|
|
* Wed Jul 25 2007 cwh@suse.de
|
2007-07-27 00:06:00 +00:00
|
|
|
version 0.31
|
|
|
|
- Fixed tests in presence of version.pm 0.72 or newer
|
|
|
|
- Added -h option to module_info
|
2009-06-18 15:08:51 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:31:12 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 15:08:51 +00:00
|
|
|
* Fri Jan 13 2006 cwh@suse.de
|
2007-01-15 23:31:12 +00:00
|
|
|
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.
|
2009-06-18 15:08:51 +00:00
|
|
|
* Tue Nov 08 2005 dmueller@suse.de
|
2007-01-15 23:31:12 +00:00
|
|
|
- don't build as root
|
2009-06-18 15:08:51 +00:00
|
|
|
* Sun Jul 31 2005 cthiel@suse.de
|
2007-01-15 23:31:12 +00:00
|
|
|
- update to version 0.28
|
2009-06-18 15:08:51 +00:00
|
|
|
* Mon Sep 06 2004 cwh@suse.de
|
2007-01-15 23:31:12 +00:00
|
|
|
- upgrade from v0.24 to v0.26
|
2009-06-18 15:08:51 +00:00
|
|
|
* Thu Dec 04 2003 cwh@suse.de
|
2007-01-15 23:31:12 +00:00
|
|
|
- fixed filelist (vendorarch)
|
2009-06-18 15:08:51 +00:00
|
|
|
* Thu Dec 04 2003 cwh@suse.de
|
2007-01-15 23:31:12 +00:00
|
|
|
- initial revision
|