File perl-XML-Dumper.spec of Package perl-XML-Dumper
#
# spec file for package perl-XML-Dumper (Version 0.81)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-XML-Dumper
Version: 0.81
Release: 1
Requires: perl = %{perl_version} perl-XML-Parser
BuildRequires: perl-XML-Parser
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License; GPL v2 or later
Url: http://search.cpan.org/~mikewong/XML-Dumper-0.81/Dumper.pm
Summary: A Perl Module XML::Dumper - Perl module for dumping Perl objects from/to XML
Source: XML-Dumper-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
XML::Dumper dumps Perl data to XML format. XML::Dumper can also read
XML data that was previously dumped by the module and convert it back
to Perl. You can use the module read the XML from a file and write the
XML to a file. Perl objects are blessed back to their original
packaging; if the modules are installed on the system where the perl
objects are reconstituted from xml, they will behave as expected.
Intuitively, if the perl objects are converted and reconstituted in the
same environment, all should be well. And it is.
Authors:
--------
Mike Wong <mike_w3@pacbell.net>
Jonathan Eisenzopf <eisen@pobox.com>
%prep
%setup -n XML-Dumper-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS"
make
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README
%doc %{_mandir}/man?/*
/var/adm/perl-modules/%{name}
%{perl_vendorlib}/XML/Dumper.pm
%{perl_vendorlib}/XML/
%{perl_vendorarch}/auto/XML/Dumper
%{perl_vendorarch}/auto/XML/
%changelog
* Mon Feb 26 2007 pkirsch@suse.de
- initial package