Sync from SUSE:SLFO:Main perl-XML-Writer-String revision 9263c9e80f50740fa3aad2017b3f842a

This commit is contained in:
Adrian Schröter 2024-05-03 19:13:18 +02:00
commit 7d91c6b7fe
4 changed files with 139 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
XML-Writer-String-0.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,31 @@
-------------------------------------------------------------------
Wed May 23 06:50:54 UTC 2012 - cfarrell@suse.com
- license update: Artistic-1.0 or GPL-1.0+
SPDX format (http://www.spdx.org/licenses)
-------------------------------------------------------------------
Wed Dec 1 13:36:23 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:32:30 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Sun Nov 28 11:38:04 UTC 2010 - coolo@novell.com
- remove .packlist file
-------------------------------------------------------------------
Tue Oct 19 15:36:40 UTC 2010 - coolo@novell.com
- add perl as explicit buildrequire
-------------------------------------------------------------------
Thu Mar 19 12:00:27 CET 2009 - lrupp@suse.de
- initial version 0.1

View File

@ -0,0 +1,82 @@
#
# spec file for package perl-XML-Writer-String
#
# Copyright (c) 2011 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-String
%define real_name XML-Writer-String
Summary: Capture output from XML::Writer
Url: http://search.cpan.org/perldoc?XML::Writer::String
Group: Development/Libraries/Perl
License: Artistic-1.0 or GPL-1.0+
Version: 0.1
Release: 1
Source: %{real_name}-%{version}.tar.gz
Requires: perl-XML-Writer
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description
This module implements a bare-bones class specifically for the purpose of
capturing data from the XML::Writer module. XML::Writer expects an IO::Handle
object and writes XML data to the specified object (or STDOUT) via it's print()
method. This module simulates such an object for the specific purpose of
providing the required print() method.
It is recommended that $writer->end() is called prior to calling $s->value() to
check for well-formedness.
Author:
-------
Simon Oliver <simon.oliver@umist.ac.uk>
%prep
%setup -n %{real_name}-%{version}
for i in Changes README MANIFEST example/eg*; do
sed -i 's/ //' $i
done
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc Changes README MANIFEST example
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/auto/XML
%dir %{perl_vendorarch}/auto/XML/Writer
%dir %{perl_vendorarch}/auto/XML/Writer/String
%dir %{perl_vendorlib}/XML
%dir %{perl_vendorlib}/XML/Writer
%{perl_vendorlib}/XML/Writer/*.pm
%changelog