]> git.pld-linux.org Git - packages/perl-XML-DOM.git/commitdiff
- initial release
authormigo <migo@pld-linux.org>
Mon, 6 Oct 2003 15:09:19 +0000 (15:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-XML-DOM.spec -> 1.13

perl-XML-DOM.spec [new file with mode: 0644]

diff --git a/perl-XML-DOM.spec b/perl-XML-DOM.spec
new file mode 100644 (file)
index 0000000..bee7f69
--- /dev/null
@@ -0,0 +1,64 @@
+
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    XML
+%define        pnam    DOM
+Summary:       Build DOM Level 1 compliant document structures
+Name:          perl-XML-DOM
+Version:       1.43
+Release:       1
+License:       Unknown
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: e4c3fdd46e7ada0f9db326b493058d4d
+BuildRequires: perl-devel >= 5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-XML-RegExp
+BuildRequires: perl-libxml >= 0.07
+BuildRequires: perl-libwww
+BuildRequires: perl-XML-Parser >= 2.30
+%endif
+Obsoletes:     perl-libxml-enno
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+#%define               _noautoreq      'perl(XML::DOM)' 'perl-(
+
+%description
+This is a Perl extension to XML::Parser. It adds a new 'Style' to
+XML::Parser, called 'Dom', that allows XML::Parser to build an Object
+Oriented datastructure with a DOM Level 1 compliant interface.
+However, there is a new DOM module, XML::GDOME which is under active
+development and significantly faster than XML::DOM, since it is based
+on the libgdome C library.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make}
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%dir %{perl_vendorlib}/XML/DOM
+%{perl_vendorlib}/XML/DOM.pm
+%{perl_vendorlib}/XML/DOM/*.pm
+%{perl_vendorlib}/XML/Handler/*
+%{_mandir}/man3/*
This page took 0.04913 seconds and 4 git commands to generate.