forked from pool/perl-XML-Writer-String
Compare commits
10 Commits
e3693937c7
...
slfo-main
Author | SHA256 | Date | |
---|---|---|---|
b6ea4cf262 | |||
43218a3ff8 | |||
|
2affc65a63 | ||
|
eb108c948b | ||
|
f89571b984 | ||
|
2cea6e0233 | ||
|
cdb365e7df | ||
|
a5f3be0861 | ||
|
99bd7a437e | ||
|
910dcf967b |
BIN
XML-Writer-String-0.1.tar.bz2
(Stored with Git LFS)
BIN
XML-Writer-String-0.1.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
XML-Writer-String-0.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
XML-Writer-String-0.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 21:48:36 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@@ -1,48 +1,56 @@
|
||||
#
|
||||
# spec file for package perl-XML-Writer-String
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# 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.
|
||||
|
||||
# norootforbuild
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name XML-Writer-String
|
||||
Name: perl-XML-Writer-String
|
||||
%define real_name XML-Writer-String
|
||||
Version: 0.100.0
|
||||
Release: 0
|
||||
# 0.1 -> normalize -> 0.100.0
|
||||
%define cpan_version 0.1
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Capture output from XML::Writer
|
||||
Url: http://search.cpan.org/perldoc?XML::Writer::String
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic License
|
||||
Version: 0.1
|
||||
Release: 1
|
||||
Vendor: openSUSE-Education
|
||||
Source: %{real_name}-%{version}.tar.bz2
|
||||
Requires: perl-XML-Writer
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SO/SOLIVER/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(XML::Writer)
|
||||
Requires: perl(XML::Writer)
|
||||
Provides: perl(XML::Writer::String) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%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>
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -n %{real_name}-%{version}
|
||||
for i in Changes README MANIFEST example/eg*; do
|
||||
sed -i 's/
|
||||
//' $i
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
%build
|
||||
perl Makefile.PL
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -50,21 +58,9 @@ make test
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
|
||||
%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_vendorarch}/auto/XML/Writer/String/.packlist
|
||||
%{perl_vendorlib}/XML/Writer/*.pm
|
||||
%files -f %{name}.files
|
||||
%doc Changes example README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user