1
0
Christian Wittmer 2010-10-13 22:58:37 +00:00 committed by Git OBS Bridge
parent d2a4ccb7c2
commit bb7f45ddbf
2 changed files with 28 additions and 17 deletions

View File

@ -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

View File

@ -17,52 +17,57 @@
# norootforbuild
Name: perl-Parse-RecDescent
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Perl RecDescent Module
%define cpan_name Parse-RecDescent
Summary: Generate Recursive-Descent Parsers
Version: 1.965001
Release: 1
License: Artistic
Release: 2
License: GPL+ or Artistic
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
Patch: %{cpan_name}-%{version}.diff
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(Text::Balanced)
Requires: perl(version)
%description
RecDescent incrementally generates top-down recursive-descent text
parsers from simple yacc-like grammar specifications.
Authors:
--------
Damian Conway <damian@csse.monash.edu.au>
%prep
%setup -q -n %{cpan_name}-%{version}
%patch
%build
find -type f | xargs chmod 644
perl Makefile.PL
%{__make} %{?_smp_mflags}
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
./Build build flags=%{?_smp_mflags}
%check
%{__make} test
./Build test
%install
%perl_make_install
%perl_process_packlist
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root)
%defattr(-,root,root,-)
%doc Changes README
%changelog