Группа :: Разработка/Прочее
Пакет: perl-Regexp-Grammars
Главная Изменения Спек Патчи 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(Data/Show.pm) perl(IO/Prompter.pm) perl(Smart/Comments.pm) perl(charnames.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Regexp-Grammars
Version: 1.058
Release: alt1
Summary: Add grammatical parsing features to perl regular expressions
License: GPL+ or Artistic
URL: https://metacpan.org/release/Regexp-Grammars
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Regexp-Grammars-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(B/Hooks/Parser.pm)
BuildRequires: perl(List/Util.pm)
BuildRequires: perl(Moose.pm)
BuildRequires: perl(Moose/Util/TypeConstraints.pm)
%filter_from_provides /perl.Regexp.pm./d
Source44: import.info
%add_findprov_skiplist %{_docdir}
%description
This module adds a small number of new regular expressions constructs that
can be used to implement complete recursive-descent parsing.
These constructs use the grammar patterns that were added to perl's
regular expressions in perl 5.10.
%prep
%setup -q -n Regexp-Grammars-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
# %{_fixperms} %{buildroot}
%check
./Build test
%files
%doc Changes README demo/
%{perl_vendor_privlib}/Regexp/
%changelog
…
Полный changelog можно просмотреть здесь
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Data/Show.pm) perl(IO/Prompter.pm) perl(Smart/Comments.pm) perl(charnames.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Regexp-Grammars
Version: 1.058
Release: alt1
Summary: Add grammatical parsing features to perl regular expressions
License: GPL+ or Artistic
URL: https://metacpan.org/release/Regexp-Grammars
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Regexp-Grammars-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(B/Hooks/Parser.pm)
BuildRequires: perl(List/Util.pm)
BuildRequires: perl(Moose.pm)
BuildRequires: perl(Moose/Util/TypeConstraints.pm)
%filter_from_provides /perl.Regexp.pm./d
Source44: import.info
%add_findprov_skiplist %{_docdir}
%description
This module adds a small number of new regular expressions constructs that
can be used to implement complete recursive-descent parsing.
These constructs use the grammar patterns that were added to perl's
regular expressions in perl 5.10.
%prep
%setup -q -n Regexp-Grammars-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
# %{_fixperms} %{buildroot}
%check
./Build test
%files
%doc Changes README demo/
%{perl_vendor_privlib}/Regexp/
%changelog
…
Полный changelog можно просмотреть здесь