2007-01-15 23:32:19 +00:00
|
|
|
#
|
2010-08-24 15:50:41 +00:00
|
|
|
# spec file for package perl-XML-Writer (Version 0.611)
|
2007-01-15 23:32:19 +00:00
|
|
|
#
|
2010-01-14 15:37:07 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:19 +00:00
|
|
|
#
|
2009-01-19 01:17:56 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:32:19 +00:00
|
|
|
# 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
|
2010-08-24 15:50:41 +00:00
|
|
|
Version: 0.611
|
2010-03-26 15:19:48 +00:00
|
|
|
Release: 1
|
2010-08-24 15:50:41 +00:00
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
2007-01-15 23:32:19 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2010-08-24 15:50:41 +00:00
|
|
|
License: MIT License (or similar)
|
|
|
|
Url: http://cpan.org/modules/by-module/XML/
|
|
|
|
Summary: A Perl Extension for Writing XML Documents
|
|
|
|
Source: XML-Writer-%{version}.tar.bz2
|
2007-01-15 23:32:19 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2010-08-24 15:50:41 +00:00
|
|
|
XML::Writer is a helper module for Perl programs that write XML
|
|
|
|
documents. The module handles all escaping for attribute values and
|
2007-01-15 23:32:19 +00:00
|
|
|
character data and constructs different types of markup, such as tags,
|
|
|
|
comments, and processing instructions.
|
|
|
|
|
2010-08-24 15:50:41 +00:00
|
|
|
|
|
|
|
|
2007-01-15 23:32:19 +00:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David Megginson <david@megginson.com>
|
|
|
|
|
|
|
|
%prep
|
2010-08-24 15:50:41 +00:00
|
|
|
%setup -n XML-Writer-%{version}
|
2007-01-15 23:32:19 +00:00
|
|
|
|
|
|
|
%build
|
2010-08-24 15:50:41 +00:00
|
|
|
perl Makefile.PL
|
|
|
|
make %{?_smp_mflags}
|
2009-01-19 01:17:56 +00:00
|
|
|
|
|
|
|
%check
|
2010-08-24 15:50:41 +00:00
|
|
|
make test
|
2007-01-15 23:32:19 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2010-08-24 15:50:41 +00:00
|
|
|
%perl_process_packlist
|
2007-01-15 23:32:19 +00:00
|
|
|
|
|
|
|
%clean
|
2010-08-24 15:50:41 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-15 23:32:19 +00:00
|
|
|
|
2010-08-24 15:50:41 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorlib}/XML
|
|
|
|
%{perl_vendorarch}/auto/XML
|
|
|
|
/var/adm/perl-modules/%{name}
|
2007-01-15 23:32:19 +00:00
|
|
|
|
2007-07-04 23:26:49 +00:00
|
|
|
%changelog
|