03e2df7046
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-CPAN-Meta?expand=0&rev=1
68 lines
2.2 KiB
RPMSpec
68 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package perl-Test-CPAN-Meta (Version 0.17)
|
|
#
|
|
# Copyright (c) 2010 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-Test-CPAN-Meta
|
|
Version: 0.17
|
|
Release: 1
|
|
License: GPL+ or Artistic
|
|
%define cpan_name Test-CPAN-Meta
|
|
Summary: Validation of the META.yml file in a CPAN distribution.
|
|
Url: http://search.cpan.org/dist/Test-CPAN-Meta/
|
|
Group: Development/Libraries/Perl
|
|
#Source: http://www.cpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-%{version}.tar.gz
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 0.08
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
Requires: perl(Test::Pod) >= 1.00
|
|
Requires: perl(Test::Pod::Coverage) >= 0.08
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
%{perl_requires}
|
|
|
|
%description
|
|
This module was written to ensure that a META.yml file, provided with a
|
|
standard distribution uploaded to CPAN, meets the specifications that are
|
|
slowly being introduced to module uploads, via the use of package makers
|
|
and installers such as the ExtUtils::MakeMaker manpage, the Module::Build
|
|
manpage and the Module::Install manpage.
|
|
|
|
%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 Artistic Changes LICENSE README
|
|
|
|
%changelog
|