Группа :: Разработка/Прочее
Пакет: perl-Test-WWW-Mechanize-PSGI
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Pod/Coverage/TrustPod.pm) perl(Pod/Wordlist.pm) perl(Test/CPAN/Changes.pm) perl(Test/Pod/Coverage.pm) perl(Test/Spelling.pm) perl(Test/Synopsis.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Test-WWW-Mechanize-PSGI
Version: 0.38
Release: alt1
Summary: Test PSGI programs using WWW::Mechanize
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI/
Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/Test-WWW-Mechanize-PSGI-%{version}.tar.gz
BuildArch: noarch
BuildRequires: %{__perl}
BuildRequires: rpm-build-perl
BuildRequires: perl(Carp.pm)
BuildRequires: perl(CGI/Cookie.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(HTTP/Message/PSGI.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/WWW/Mechanize.pm)
BuildRequires: perl(Try/Tiny.pm)
BuildRequires: perl(base.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
Source44: import.info
%description
PSGI is a specification to decouple web server environments from web
application framework code. Test::WWW::Mechanize is a subclass of
WWW::Mechanize that incorporates features for web application testing. The
Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of
PSGI applications.
%prep
%setup -q -n Test-WWW-Mechanize-PSGI-%{version}
%build
%{__perl} Makefile.PL INSTALLMAN1DIR=%_man1dir INSTALLDIRS=vendor NO_PACKLIST=1
%{__make} %{?_smp_mflags}
%install
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
%{__make} test
%files
%doc Changes CONTRIBUTORS README.md
%doc LICENSE
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Pod/Coverage/TrustPod.pm) perl(Pod/Wordlist.pm) perl(Test/CPAN/Changes.pm) perl(Test/Pod/Coverage.pm) perl(Test/Spelling.pm) perl(Test/Synopsis.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Test-WWW-Mechanize-PSGI
Version: 0.38
Release: alt1
Summary: Test PSGI programs using WWW::Mechanize
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI/
Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/Test-WWW-Mechanize-PSGI-%{version}.tar.gz
BuildArch: noarch
BuildRequires: %{__perl}
BuildRequires: rpm-build-perl
BuildRequires: perl(Carp.pm)
BuildRequires: perl(CGI/Cookie.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(HTTP/Message/PSGI.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/WWW/Mechanize.pm)
BuildRequires: perl(Try/Tiny.pm)
BuildRequires: perl(base.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
Source44: import.info
%description
PSGI is a specification to decouple web server environments from web
application framework code. Test::WWW::Mechanize is a subclass of
WWW::Mechanize that incorporates features for web application testing. The
Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of
PSGI applications.
%prep
%setup -q -n Test-WWW-Mechanize-PSGI-%{version}
%build
%{__perl} Makefile.PL INSTALLMAN1DIR=%_man1dir INSTALLDIRS=vendor NO_PACKLIST=1
%{__make} %{?_smp_mflags}
%install
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
%{__make} test
%files
%doc Changes CONTRIBUTORS README.md
%doc LICENSE
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь