Author: ryanlerch Update of /cvs/pkgs/rpms/perl-Makefile-DOM/F-10 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16716/F-10 Modified Files: .cvsignore sources Added Files: import.log perl-Makefile-DOM.spec Log Message: Initial RPM --- NEW FILE import.log --- perl-Makefile-DOM-0_004-2_fc11:F-10:perl-Makefile-DOM-0.004-2.fc11.src.rpm:1256788300 --- NEW FILE perl-Makefile-DOM.spec --- Name: perl-Makefile-DOM Version: 0.004 Release: 2%{?dist} Summary: Simple DOM parser for Makefiles License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Makefile-DOM/ Source0: http://www.cpan.org/authors/id/A/AG/AGENT/Makefile-DOM-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.6.1 BuildRequires: perl(Clone) >= 0.18 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(List::MoreUtils) >= 0.21 BuildRequires: perl(Params::Util) >= 0.22 BuildRequires: perl(CPAN) BuildRequires: perl(ExtUtils::Embed) BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Simple) Requires: perl(Clone) >= 0.18 Requires: perl(List::MoreUtils) >= 0.21 Requires: perl(Params::Util) >= 0.22 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Provides: perl(Makefile::DOM) = %{version} %description This libary can serve as an advanced lexer for (GNU) makefiles. It parses makefiles as "documents" and the parsing is lossless. The results are data structures similar to DOM trees. The DOM trees hold every single bit of the information in the original input files, including white spaces, blank lines and makefile comments. That means it's possible to reproduce the original makefiles from the DOM trees. In addition, each node of the DOM trees is modifiable and so is the whole tree, just like the PPI module used for Perl source parsing and the HTML::TreeBuilder module used for parsing HTML source. %prep %setup -q -n Makefile-DOM-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Sep 08 2009 Ryan Lerch <rlerch@xxxxxxxxxx> 0.004-2 - Added BuildRequires and Provides lines to the specfile, as per the Fedora Perl Packaging Guidelines. * Mon Sep 07 2009 Ryan Lerch <rlerch@xxxxxxxxxx> 0.004-1 - Specfile autogenerated by cpanspec 1.78. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Makefile-DOM/F-10/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- .cvsignore 29 Oct 2009 00:05:59 -0000 1.1 +++ .cvsignore 29 Oct 2009 03:49:12 -0000 1.2 @@ -0,0 +1 @@ +Makefile-DOM-0.004.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Makefile-DOM/F-10/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- sources 29 Oct 2009 00:05:59 -0000 1.1 +++ sources 29 Oct 2009 03:49:13 -0000 1.2 @@ -0,0 +1 @@ +2860a83edc7396077716c63f30c12446 Makefile-DOM-0.004.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list