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

#
# spec file for package perl-XML-Writer (Version 0.606)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-XML-Writer
Version:        0.606
Release:        1
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        X11/MIT
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

%check
make test

%install
%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
* Tue Jan 20 2009 anicka@suse.cz
- update to 0.606
  * Use MIT license, formalising David Megginson's original
  ("No warranty. Commercial and non-commercial use freely
  permitted.").
* Thu Jan 15 2009 anicka@suse.cz
- run tests properly (bnc#466014)
* 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