forked from pool/perl-XML-Writer-String
Compare commits
10 Commits
e3693937c7
...
b6ea4cf262
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
|
Tue Oct 19 15:36:40 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,48 +1,56 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-XML-Writer-String
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
Name: perl-XML-Writer-String
|
|
||||||
%define real_name XML-Writer-String
|
%define cpan_name XML-Writer-String
|
||||||
Summary: Capture output from XML::Writer
|
Name: perl-XML-Writer-String
|
||||||
Url: http://search.cpan.org/perldoc?XML::Writer::String
|
Version: 0.100.0
|
||||||
Group: Development/Libraries/Perl
|
Release: 0
|
||||||
License: Artistic License
|
# 0.1 -> normalize -> 0.100.0
|
||||||
Version: 0.1
|
%define cpan_version 0.1
|
||||||
Release: 1
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Vendor: openSUSE-Education
|
Summary: Capture output from XML::Writer
|
||||||
Source: %{real_name}-%{version}.tar.bz2
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Requires: perl-XML-Writer
|
Source0: https://cpan.metacpan.org/authors/id/S/SO/SOLIVER/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Requires: perl = %{perl_version}
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
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
|
%description
|
||||||
This module implements a bare-bones class specifically for the purpose of
|
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
|
capturing data from the XML::Writer module. XML::Writer expects an
|
||||||
object and writes XML data to the specified object (or STDOUT) via it's print()
|
IO::Handle object and writes XML data to the specified object (or STDOUT)
|
||||||
method. This module simulates such an object for the specific purpose of
|
via it's print() method. This module simulates such an object for the
|
||||||
providing the required print() method.
|
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>
|
|
||||||
|
|
||||||
|
It is recommended that $writer->end() is called prior to calling
|
||||||
|
$s->value() to check for well-formedness.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{real_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
for i in Changes README MANIFEST example/eg*; do
|
|
||||||
sed -i 's/
|
|
||||||
//' $i
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%build
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
perl Makefile.PL
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@@ -50,21 +58,9 @@ make test
|
|||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
%clean
|
%doc Changes example README
|
||||||
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
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user