forked from pool/perl-Parse-RecDescent
noarch pkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Parse-RecDescent?expand=0&rev=14
This commit is contained in:
parent
d2a4ccb7c2
commit
bb7f45ddbf
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 13 22:56:35 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- noarch pkg
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 16 15:08:46 CEST 2010 - anicka@suse.cz
|
Fri Jul 16 15:08:46 CEST 2010 - anicka@suse.cz
|
||||||
|
|
||||||
|
@ -17,52 +17,57 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Parse-RecDescent
|
Name: perl-Parse-RecDescent
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name Parse-RecDescent
|
||||||
Summary: Perl RecDescent Module
|
Summary: Generate Recursive-Descent Parsers
|
||||||
Version: 1.965001
|
Version: 1.965001
|
||||||
Release: 1
|
Release: 2
|
||||||
License: Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://cpan.org/modules/by-module/Parse/
|
Url: http://search.cpan.org/dist/Parse-RecDescent/
|
||||||
|
#Source: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Patch: %{cpan_name}-%{version}.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Text::Balanced)
|
||||||
|
BuildRequires: perl(version)
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
|
Requires: perl(Text::Balanced)
|
||||||
|
Requires: perl(version)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
RecDescent incrementally generates top-down recursive-descent text
|
RecDescent incrementally generates top-down recursive-descent text
|
||||||
parsers from simple yacc-like grammar specifications.
|
parsers from simple yacc-like grammar specifications.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Damian Conway <damian@csse.monash.edu.au>
|
Damian Conway <damian@csse.monash.edu.au>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
find -type f | xargs chmod 644
|
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
||||||
perl Makefile.PL
|
./Build build flags=%{?_smp_mflags}
|
||||||
%{__make} %{?_smp_mflags}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
%perl_process_packlist
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user