package created by autospec [release 0.81-1mamba;Mon Feb 21 2011]

This commit is contained in:
gil 2024-01-06 09:53:40 +01:00
parent ead1ebc165
commit 51485b0c53
2 changed files with 71 additions and 0 deletions

View File

@ -1,2 +1,10 @@
# perl-XML-Dumper # perl-XML-Dumper
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. 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.

63
perl-XML-Dumper.spec Normal file
View File

@ -0,0 +1,63 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-XML-Dumper
Version: 0.81
Release: 1mamba
Summary: XML::Dumper - Perl module for dumping Perl objects from/to XML
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/M/MI/MIKEWONG/XML-Dumper-%{version}.tar.gz
License: GPL, Artistic
BuildRequires: perl(XML::Parser)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl-devel
Requires: perl >= %perl_major_ver
Requires: perl(XML::Parser)
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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. 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.
%prep
%setup -q -n XML-Dumper-%{version}
iconv -f iso-8859-1 -t utf-8 < README > README_
mv -f "README_" "READMEe"
%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
%changelog
* Mon Feb 21 2011 gil <puntogil@libero.it> 0.81-1mamba
- package created by autospec