Projects
Eulaceura:Factory
perl-Makefile-DOM
_service:obs_scm:perl-Makefile-DOM.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Makefile-DOM.spec of Package perl-Makefile-DOM
Name: perl-Makefile-DOM Version: 0.008 Release: 1 Summary: Simple DOM parser for Makefiles License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Makefile-DOM Source0: https://cpan.metacpan.org/authors/id/A/AG/AGENT/Makefile-DOM-%{version}.tar.gz # Adjust to List-Moreutils-0.418, bug #1437790, CPAN RT#120809 Patch0: Makefile-DOM-0.008-Do-not-use-_-in-a-List-Moreutils-any-code-argument.patch BuildArch: noarch # Build BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(CPAN) BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::MM_Unix) BuildRequires: perl(Fcntl) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(lib) BuildRequires: perl(strict) BuildRequires: perl(vars) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Clone) >= 0.18 BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(List::MoreUtils) >= 0.21 BuildRequires: perl(List::Util) BuildRequires: perl(overload) BuildRequires: perl(Params::Util) >= 0.22 BuildRequires: perl(Scalar::Util) BuildRequires: perl(Text::Balanced) # Tests only BuildRequires: perl(File::Temp) BuildRequires: perl(Filter::Util::Call) BuildRequires: perl(FindBin) BuildRequires: perl(IPC::Run3) BuildRequires: perl(threads::shared) BuildRequires: perl(Time::HiRes) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) Requires: perl(Clone) >= 0.18 Requires: perl(List::MoreUtils) >= 0.21 Requires: perl(Params::Util) >= 0.22 # Filter under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Clone|List::MoreUtil|Params::Util)\\) %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} %patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Apr 8 2024 zhangxingrong <zhangxingrong@uniontech.com> - 0.008-1 - Packages init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2