rpms/perl-Makefile-DOM/devel import.log, NONE, 1.1 perl-Makefile-DOM.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

ryan lerch ryanlerch at fedoraproject.org
Thu Oct 29 03:21:37 UTC 2009


Author: ryanlerch

Update of /cvs/pkgs/rpms/perl-Makefile-DOM/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8984/devel

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:HEAD:perl-Makefile-DOM-0.004-2.fc11.src.rpm:1256786632


--- 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 at redhat.com> 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 at redhat.com> 0.004-1
- Specfile autogenerated by cpanspec 1.78.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Makefile-DOM/devel/.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:21:35 -0000	1.2
@@ -0,0 +1 @@
+Makefile-DOM-0.004.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Makefile-DOM/devel/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:21:36 -0000	1.2
@@ -0,0 +1 @@
+2860a83edc7396077716c63f30c12446  Makefile-DOM-0.004.tar.gz




More information about the Fedora-perl-devel-list mailing list