8
0
Files
perl-Module-Info/perl-Module-Info.spec

111 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Module-Info (Version 0.31)
#
# Copyright (c) 2009 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 License
Group: Development/Languages/Perl
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: Information about Perl modules
Version: 0.31
Release: 75
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 <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
%doc %{_mandir}/man?/B::Module::Info.3pm.gz
/var/adm/perl-modules/%{name}
%changelog
* Sun Jan 13 2008 coolo@suse.de
- fix file list
* 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
* 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