From 51697ceae863a2c7c7481fec73ac7ac411e679c4 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:55:44 +0100 Subject: [PATCH] automatic update by autodist [release 0.624-1mamba;Wed Feb 19 2014] --- README.md | 2 + perl-XML-Writer.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 perl-XML-Writer.spec diff --git a/README.md b/README.md index a739af6..f91b7cc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-XML-Writer +XML::Writer is a simple Perl module for writing XML documents. + diff --git a/perl-XML-Writer.spec b/perl-XML-Writer.spec new file mode 100644 index 0000000..06aa000 --- /dev/null +++ b/perl-XML-Writer.spec @@ -0,0 +1,88 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-XML-Writer +Version: 0.624 +Release: 1mamba +Summary: perl :: XML-Writer - Simple Perl module for writing XML documents +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/XML/XML-Writer-%{version}.tar.gz +License: Artistic License +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Pod-Coverage +BuildRequires: perl-Test-Pod +BuildRequires: perl-Test-Pod-Coverage +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +XML::Writer is a simple Perl module for writing XML documents. + +%prep +%setup -q -n XML-Writer-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor + +%make +make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Wed Feb 19 2014 Automatic Build System 0.624-1mamba +- automatic update by autodist + +* Mon Jun 17 2013 Automatic Build System 0.623-1mamba +- automatic version update by autodist + +* Tue May 28 2013 Automatic Build System 0.622-1mamba +- automatic version update by autodist + +* Sun Apr 21 2013 Automatic Build System 0.621-1mamba +- automatic version update by autodist + +* Sun Nov 11 2012 Silvan Calarco 0.615-2mamba +- perl 5.16 mass rebuild + +* Fri Jan 27 2012 Automatic Build System 0.615-1mamba +- automatic version update by autodist + +* Wed Mar 16 2011 Automatic Build System 0.612-1mamba +- automatic update by autodist + +* Fri Jan 02 2009 Silvan Calarco 0.606-1mamba +- automatic update by autodist + +* Thu Nov 06 2008 Silvan Calarco 0.603-2mamba +- automatic rebuild by autodist + +* Wed Nov 07 2007 Aleph0 0.603-1mamba +- update to 0.603 + +* Thu Oct 07 2004 Silvan Calarco 0.4-2qilnx +- rebuilt and moved from devel-contrib to devel branch + +* Wed Sep 22 2004 Matteo Bernasconi 0.4-1qilnx +- first build