Files
perl-XML-Generator/perl-XML-Generator.spec
Dirk Stoecker 2fa5fd3034 Accepting request 1080809 from devel:languages:perl:autoupdate
- updated to 1.11
   see /usr/share/doc/packages/perl-XML-Generator/Changes
  1.11 -- 
      [Significant Updates since 1.09]
      Allow the xml tag attributes to be specified during construction
      when conformance is not 'strict' by Wesley Schwengle (waterkip)
      Release 1.10 for production
      - 0ff9e8b Update for production release
      - 85396bc Update Copyright year
      - 30c95bf v1.10
  1.10 -- 
      [Significant Updates since 1.09]
      Allow the xml tag attributes to be specified during construction
      when conformance is not 'strict'
      - efc7d9d Update for release
      - 83b1699 Remove VERSION number from git repo
      - a49e891 Add new xml option to constructor
      - 4171530 v1.09

OBS-URL: https://build.opensuse.org/request/show/1080809
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Generator?expand=0&rev=8
2023-04-20 12:46:29 +00:00

65 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-XML-Generator
#
# Copyright (c) 2023 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name XML-Generator
Name: perl-XML-Generator
Version: 1.11
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl extension for generating XML
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
Recommends: perl(XML::DOM) >= 1.46
%{perl_requires}
%description
In general, once you have an XML::Generator object, you then simply call
methods on that object named for each XML tag you wish to generate.
XML::Generator can also arrange for undefined subroutines in the caller's
package to generate the corresponding XML, by exporting an 'AUTOLOAD'
subroutine to your package. Just supply an ':import' argument to your 'use
XML::Generator;' call. If you already have an 'AUTOLOAD' defined then
XML::Generator can be configured to cooperate with it. See "STACKABLE
AUTOLOADs".
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog