Files
perl-Task-Module-Install-BI…/perl-Task-Module-Install-BINGOS.spec

99 lines
3.0 KiB
RPMSpec

#
# spec file for package perl-Task-Module-Install-BINGOS
#
# Copyright (c) 2011 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/
#
Name: perl-Task-Module-Install-BINGOS
Version: 1.02
Release: 1
License: GPL+ or Artistic
%define cpan_name Task-Module-Install-BINGOS
Summary: A Task to install all BINGOS' Module::Install extensions
Url: http://search.cpan.org/dist/Task-Module-Install-BINGOS/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/B/BI/BINGOS/Task-Module-Install-BINGOS-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildRequires: perl(Module::Install) >= 1
BuildRequires: perl(Module::Install::AssertOS) >= 0.1
BuildRequires: perl(Module::Install::AutoLicense) >= 0.08
BuildRequires: perl(Module::Install::AutomatedTester) >= 0.02
BuildRequires: perl(Module::Install::CheckLib) >= 0.08
BuildRequires: perl(Module::Install::GithubMeta) >= 0.1
BuildRequires: perl(Module::Install::NoAutomatedTesting) >= 0.06
BuildRequires: perl(Module::Install::ReadmeFromPod) >= 0.12
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(Module::Install) >= 1
Requires: perl(Module::Install::AssertOS) >= 0.1
Requires: perl(Module::Install::AutoLicense) >= 0.08
Requires: perl(Module::Install::AutomatedTester) >= 0.02
Requires: perl(Module::Install::CheckLib) >= 0.08
Requires: perl(Module::Install::GithubMeta) >= 0.1
Requires: perl(Module::Install::NoAutomatedTesting) >= 0.06
Requires: perl(Module::Install::ReadmeFromPod) >= 0.12
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
Task::Module::Install::BINGOS is a the Task manpage that installs all of my
(BINGOS) the Module::Install manpage extensions.
Why? Because I am lazy.
The following modules will be installed:
Module::Install
Module::Install::AssertOS
Module::Install::AutoLicense
Module::Install::AutomatedTester
Module::Install::CheckLib
Module::Install::GithubMeta
Module::Install::NoAutomatedTesting
Module::Install::ReadmeFromPod
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes LICENSE README
%changelog