8
0
Stephan Kulow
2011-11-18 15:56:44 +00:00
committed by Git OBS Bridge
parent cb19d8cda9
commit be7075817e
3 changed files with 40 additions and 29 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1bb54b54939356ba48f3637671ccedf2e088fe92fb4cf3714c8d9bab9becb13b
size 6840

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Nov 18 15:56:40 UTC 2011 - coolo@suse.com
- use original tar.gz
-------------------------------------------------------------------
Fri Nov 18 15:54:42 UTC 2011 - coolo@suse.com
- updated to 0.60
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 10 10:57:22 UTC 2010 - coolo@novell.com Fri Dec 10 10:57:22 UTC 2010 - coolo@novell.com

View File

@@ -18,46 +18,50 @@
Name: perl-XML-SimpleObject-LibXML Name: perl-XML-SimpleObject-LibXML
Summary: Perl extension allowing a simple(r) object representation of an XML::LibXML DOM object
Version: 0.60 Version: 0.60
Release: 109 Release: 1
Group: Development/Libraries/Perl
License: Artistic License: Artistic
BuildRequires: perl perl-macros %define cpan_name XML-SimpleObject-LibXML
Url: http://www.cpan.org/modules/by-module/XML/ Summary: Perl extension allowing a simple(r) object representation of an XML::Lib[cut]
Source: %{name}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/XML-SimpleObject-LibXML/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/D/DB/DBRIAN/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires} %{perl_requires}
%description %description
This is a short and simple class allowing simple object access to a This is a short and simple class allowing simple object access to a parsed
parsed XML::LibXML tree, with methods for fetching children and XML::LibXML tree, with methods for fetching children and attributes in as
attributes in as clean a manner as possible. clean a manner as possible. My apologies for further polluting the XML::
space; this is a small and quick module, with easy and compact usage. Some
will rightfully question placing another interface over the DOM methods
provided by XML::LibXML, but my experience is that people appreciate the
total simplicity provided by this module, despite its limitations. These
limitations include a minor loss of speed compared to the DOM, loss of
control over node types, and protection (aka lack of knowledge) about the
DOM. I encourage those who want more control and understanding over the DOM
to study XML::LibXML; this module's source can be instructive, too.
%prep %prep
%setup -q %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %{__make} %{?_smp_mflags}
make test
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %files -f %{name}.files
rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,755)
%doc Changes README
%files
%defattr(-,root,root)
%doc README Changes MANIFEST
%doc %{_mandir}/man3/XML::SimpleObject::LibXML*.gz
%{perl_vendorarch}/auto/XML/SimpleObject/LibXML*
%{perl_vendorarch}/auto/XML
%{perl_vendorlib}/XML/SimpleObject/LibXML*
%{perl_vendorlib}/XML
%changelog %changelog