automatic version update by autodist [release 0.005-1mamba;Thu Aug 18 2011]

This commit is contained in:
Automatic Build System 2024-01-06 09:18:47 +01:00
parent cc4d087de8
commit 5a2fa80f2f
2 changed files with 82 additions and 0 deletions

View File

@ -1,2 +1,12 @@
# perl-Makefile-DOM
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.

72
perl-Makefile-DOM.spec Normal file
View File

@ -0,0 +1,72 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Makefile-DOM
Version: 0.005
Release: 1mamba
Summary: Makefile::DOM - Simple DOM parser for Makefiles
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/A/AG/AGENT/Makefile-DOM-%{version}.tar.gz
License: GPL, Artistic
BuildRequires: perl(Clone)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Params::Util)
BuildRequires: perl(CPAN)
BuildRequires: perl(ExtUtils::Embed)
BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Simple)
BuildRequires: perl-devel
Requires: perl >= %perl_major_ver
Requires: perl(Clone)
Requires: perl(List::MoreUtils)
Requires: perl(Params::Util)
Provides: perl(Makefile::DOM) = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{perl_vendorlib}/*
%{_mandir}/man3/*.3pm.gz
%doc Changes README TODO
%changelog
* Thu Aug 18 2011 Automatic Build System <autodist@mambasoft.it> 0.005-1mamba
- automatic version update by autodist
* Mon Feb 21 2011 gil <puntogil@libero.it> 0.004-1mamba
- package created by autospec