2007-01-15 23:32:19 +00:00
|
|
|
#
|
2008-02-29 22:45:31 +00:00
|
|
|
# spec file for package perl-XML-Writer (Version 0.604)
|
2007-01-15 23:32:19 +00:00
|
|
|
#
|
2008-02-29 22:45:31 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:19 +00:00
|
|
|
# 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
|
|
|
|
|
2008-02-29 22:45:31 +00:00
|
|
|
|
2007-01-15 23:32:19 +00:00
|
|
|
Name: perl-XML-Writer
|
2008-02-29 22:45:31 +00:00
|
|
|
Version: 0.604
|
2007-01-15 23:32:19 +00:00
|
|
|
Release: 1
|
|
|
|
Requires: perl = %{perl_version}
|
2008-02-29 22:45:31 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:32:19 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2008-02-29 22:45:31 +00:00
|
|
|
License: Artistic License; GPL v2 or later
|
|
|
|
Url: http://cpan.org/modules/by-module/XML/
|
2007-01-15 23:32:19 +00:00
|
|
|
Summary: A Perl Extension for Writing XML Documents
|
|
|
|
Source: XML-Writer-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
XML::Writer is a helper module for Perl programs that write XML
|
|
|
|
documents. The module handles all escaping for attribute values and
|
|
|
|
character data and constructs different types of markup, such as tags,
|
|
|
|
comments, and processing instructions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David Megginson <david@megginson.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n XML-Writer-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
[ "`perl --version | grep "This is perl" | cut -d' ' -f4`" != "v5.6.0" ] && make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorlib}/XML
|
|
|
|
%{perl_vendorarch}/auto/XML
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-07-04 23:26:49 +00:00
|
|
|
%changelog
|
2008-02-29 22:45:31 +00:00
|
|
|
* Thu Feb 28 2008 anicka@suse.cz
|
|
|
|
- update to 0.604
|
|
|
|
* Patch from Andreas Koenig for lc(undef) warning in 5.11
|
|
|
|
* Include example code.
|
|
|
|
* Tue Jul 03 2007 anicka@suse.cz
|
2007-07-04 23:26:49 +00:00
|
|
|
- update to 0.603
|
|
|
|
* Escape all necessary white space in attributes
|
2008-02-29 22:45:31 +00:00
|
|
|
* Wed Dec 13 2006 anicka@suse.cz
|
2007-01-15 23:32:19 +00:00
|
|
|
- update to 0.602
|
|
|
|
* Fix bugs in test case to avoid breaking with new Perls.
|
|
|
|
* Make test case work with older Perls, tested against 5.004
|
|
|
|
* Include pod syntax and coverage tests.
|
2008-02-29 22:45:31 +00:00
|
|
|
* Thu Sep 14 2006 anicka@suse.cz
|
2007-01-15 23:32:19 +00:00
|
|
|
- update to 0.601
|
|
|
|
* Don't modify list references passed as tag or attribute names
|
2008-02-29 22:45:31 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:32:19 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-02-29 22:45:31 +00:00
|
|
|
* Mon Aug 01 2005 cthiel@suse.de
|
2007-01-15 23:32:19 +00:00
|
|
|
- update to version 0.600
|
|
|
|
- build as user
|
2008-02-29 22:45:31 +00:00
|
|
|
* Thu Feb 17 2005 mjancar@suse.cz
|
2007-01-15 23:32:19 +00:00
|
|
|
- update to 0.530
|
2008-02-29 22:45:31 +00:00
|
|
|
* Fri Aug 06 2004 mjancar@suse.cz
|
2007-01-15 23:32:19 +00:00
|
|
|
- update to 0.510
|
2008-02-29 22:45:31 +00:00
|
|
|
* Tue Oct 14 2003 ro@suse.de
|
2007-01-15 23:32:19 +00:00
|
|
|
- build on all versions
|
2008-02-29 22:45:31 +00:00
|
|
|
* Tue Oct 14 2003 ro@suse.de
|
2007-01-15 23:32:19 +00:00
|
|
|
- removed 'make test' when version of perl is v5.6.0 due to bug
|
|
|
|
that causes segfault
|
2008-02-29 22:45:31 +00:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2007-01-15 23:32:19 +00:00
|
|
|
- require the perl version we build with
|
2008-02-29 22:45:31 +00:00
|
|
|
* Tue Jul 15 2003 mjancar@suse.cz
|
2007-01-15 23:32:19 +00:00
|
|
|
- adapt to perl-5.8.1
|
|
|
|
- use %%perl_process_packlist
|
2008-02-29 22:45:31 +00:00
|
|
|
* Mon Jun 16 2003 mjancar@suse.cz
|
2007-01-15 23:32:19 +00:00
|
|
|
- fix filelist
|
2008-02-29 22:45:31 +00:00
|
|
|
* Mon Jun 09 2003 mjancar@suse.cz
|
2007-01-15 23:32:19 +00:00
|
|
|
- don't package MANIFEST
|
2008-02-29 22:45:31 +00:00
|
|
|
* Mon May 19 2003 ro@suse.de
|
2007-01-15 23:32:19 +00:00
|
|
|
- remove perllocal.pod
|
2008-02-29 22:45:31 +00:00
|
|
|
* Tue Jul 02 2002 mls@suse.de
|
2007-01-15 23:32:19 +00:00
|
|
|
- remove race in .packlist generation
|
2008-02-29 22:45:31 +00:00
|
|
|
* Thu Aug 16 2001 rvasice@suse.cz
|
2007-01-15 23:32:19 +00:00
|
|
|
- initial package release (version 0.4)
|