File perl-XML-Writer.spec of Package perl-XML-Writer

#
# spec file for package perl-XML-Writer (Version 0.604)
#
# 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-Writer
Version:        0.604
Release:        1
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License; GPL v2 or later
Url:            http://cpan.org/modules/by-module/XML/
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}

%changelog
* 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
- update to 0.603
  * Escape all necessary white space in attributes
* Wed Dec 13 2006 anicka@suse.cz
- 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.
* Thu Sep 14 2006 anicka@suse.cz
- update to 0.601
  * Don't modify list references passed as tag or attribute names
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 01 2005 cthiel@suse.de
- update to version 0.600
- build as user
* Thu Feb 17 2005 mjancar@suse.cz
- update to 0.530
* Fri Aug 06 2004 mjancar@suse.cz
- update to 0.510
* Tue Oct 14 2003 ro@suse.de
- build on all versions
* Tue Oct 14 2003 ro@suse.de
- removed 'make test' when version of perl is v5.6.0 due to bug
  that causes segfault
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Tue Jul 15 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Mon Jun 16 2003 mjancar@suse.cz
- fix filelist
* Mon Jun 09 2003 mjancar@suse.cz
- don't package MANIFEST
* Mon May 19 2003 ro@suse.de
- remove perllocal.pod
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Thu Aug 16 2001 rvasice@suse.cz
- initial package release (version 0.4)
openSUSE Build Service is sponsored by