2007-01-15 23:31:12 +00:00
|
|
|
#
|
2011-04-05 11:33:37 +00:00
|
|
|
# spec file for package perl-Module-Info (Version 0.32)
|
2007-01-15 23:31:12 +00:00
|
|
|
#
|
2011-04-05 11:33:37 +00:00
|
|
|
# Copyright (c) 2010 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
|
|
|
#
|
|
|
|
|
2007-07-27 00:06:00 +00:00
|
|
|
Name: perl-Module-Info
|
2011-04-01 08:25:49 +00:00
|
|
|
Version: 0.32
|
|
|
|
Release: 1
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
%define cpan_name Module-Info
|
2007-07-27 00:06:00 +00:00
|
|
|
Summary: Information about Perl modules
|
2010-03-08 17:19:25 +00:00
|
|
|
Url: http://search.cpan.org/dist/Module-Info/
|
2011-04-01 08:25:49 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
#Source: http://www.cpan.org/authors/id/M/MB/MBARBON/Module-Info-%{version}.tar.gz
|
|
|
|
Source: %{cpan_name}-%{version}.tar.gz
|
2011-04-05 11:33:37 +00:00
|
|
|
Patch0: fix_provides.diff
|
2011-04-01 08:25:49 +00:00
|
|
|
BuildArch: noarch
|
2007-07-27 00:06:00 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-03-08 17:19:25 +00:00
|
|
|
BuildRequires: perl
|
2011-04-01 08:25:49 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
2010-03-08 17:19:25 +00:00
|
|
|
BuildRequires: perl-macros
|
2011-04-01 08:25:49 +00:00
|
|
|
BuildRequires: perl(File::Spec) >= 0.8
|
|
|
|
Requires: perl(File::Spec) >= 0.8
|
|
|
|
%{perl_requires}
|
2007-01-15 23:31:12 +00:00
|
|
|
|
|
|
|
%description
|
2011-04-01 08:25:49 +00:00
|
|
|
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.
|
2007-01-15 23:31:12 +00:00
|
|
|
|
|
|
|
%prep
|
2011-04-01 08:25:49 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2011-04-05 11:33:37 +00:00
|
|
|
%patch0 -p1
|
2007-01-15 23:31:12 +00:00
|
|
|
|
|
|
|
%build
|
2011-04-01 08:25:49 +00:00
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
./Build build flags=%{?_smp_mflags}
|
2010-03-08 17:19:25 +00:00
|
|
|
|
|
|
|
%check
|
2011-04-01 08:25:49 +00:00
|
|
|
./Build test
|
2007-01-15 23:31:12 +00:00
|
|
|
|
|
|
|
%install
|
2011-04-01 08:25:49 +00:00
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
2010-03-08 17:19:25 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:31:12 +00:00
|
|
|
|
|
|
|
%clean
|
2011-04-01 08:25:49 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2007-01-15 23:31:12 +00:00
|
|
|
|
2010-03-08 17:19:25 +00:00
|
|
|
%files -f %{name}.files
|
2011-04-01 08:25:49 +00:00
|
|
|
%defattr(644,root,root,755)
|
2010-03-08 17:19:25 +00:00
|
|
|
%doc Changes
|
2007-01-15 23:31:12 +00:00
|
|
|
|
2007-07-27 00:06:00 +00:00
|
|
|
%changelog
|