Группа :: Разработка/Perl
Пакет: perl-Test-Kwalitee
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Development/Perl
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(CPAN/Meta/Requirements.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Test-Kwalitee
Version: 1.27
Release: alt1.1_3
Summary: Test the Kwalitee of a distribution before you release it
License: GPL+ or Artistic
URL: http://metacpan.org/module/Test::Kwalitee
Source0: http://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Kwalitee-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Module
BuildRequires: perl(Cwd.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(Module/CPANTS/Analyse.pm)
BuildRequires: perl(parent.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/Builder.pm)
BuildRequires: perl(warnings.pm)
# Test Suite
BuildRequires: perl(CPAN/Meta.pm)
BuildRequires: perl(CPAN/Meta/Check.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(File/Temp.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(Test/Deep.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Tester.pm)
BuildRequires: perl(Test/Warnings.pm)
Source44: import.info
# Dependencies
%description
Kwalitee is an automatically-measurable gauge of how good your software
is. That's very different from quality, which a computer really can't
measure in a general sense (if you can, you've solved a hard problem in
computer science).
%prep
%setup -q -n Test-Kwalitee-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%make_build
%install
make install DESTDIR=%{buildroot}
# %{_fixperms} -c %{buildroot}
%check
make test
%files
%doc --no-dereference LICENSE
%doc Changes CONTRIBUTING README
%{_bindir}/kwalitee-metrics
%{perl_vendor_privlib}/Test/
%{_mandir}/man1/kwalitee-metrics.1*
%changelog
…
Полный changelog можно просмотреть здесь
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(CPAN/Meta/Requirements.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Test-Kwalitee
Version: 1.27
Release: alt1.1_3
Summary: Test the Kwalitee of a distribution before you release it
License: GPL+ or Artistic
URL: http://metacpan.org/module/Test::Kwalitee
Source0: http://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Kwalitee-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Module
BuildRequires: perl(Cwd.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(Module/CPANTS/Analyse.pm)
BuildRequires: perl(parent.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/Builder.pm)
BuildRequires: perl(warnings.pm)
# Test Suite
BuildRequires: perl(CPAN/Meta.pm)
BuildRequires: perl(CPAN/Meta/Check.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(File/Temp.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(Test/Deep.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Tester.pm)
BuildRequires: perl(Test/Warnings.pm)
Source44: import.info
# Dependencies
%description
Kwalitee is an automatically-measurable gauge of how good your software
is. That's very different from quality, which a computer really can't
measure in a general sense (if you can, you've solved a hard problem in
computer science).
%prep
%setup -q -n Test-Kwalitee-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%make_build
%install
make install DESTDIR=%{buildroot}
# %{_fixperms} -c %{buildroot}
%check
make test
%files
%doc --no-dereference LICENSE
%doc Changes CONTRIBUTING README
%{_bindir}/kwalitee-metrics
%{perl_vendor_privlib}/Test/
%{_mandir}/man1/kwalitee-metrics.1*
%changelog
…
Полный changelog можно просмотреть здесь