8
0

- initial package 0.91

* created by cpanspec 1.78.03

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Generator-PerlData?expand=0&rev=1
This commit is contained in:
Stephan Kulow
2011-01-17 18:21:37 +00:00
committed by Git OBS Bridge
commit 6483487a13
5 changed files with 105 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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0be9267aca92618798e99d833a0990d69329ffa571ca53bf8034e97f79891a43
size 13179

View File

@@ -0,0 +1,6 @@
-------------------------------------------------------------------
Mon Jan 17 18:21:29 UTC 2011 - coolo@novell.com
- initial package 0.91
* created by cpanspec 1.78.03

View File

@@ -0,0 +1,72 @@
#
# spec file for package perl-XML-Generator-PerlData (Version 0.91)
#
# Copyright (c) 2010 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/
#
Name: perl-XML-Generator-PerlData
Version: 0.91
Release: 1
License: CHECK(GPL+ or Artistic)
%define cpan_name XML-Generator-PerlData
Summary: Perl extension for generating SAX2 events from nested Perl data structures.
Url: http://search.cpan.org/dist/XML-Generator-PerlData/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/K/KH/KHAMPTON/XML-Generator-PerlData-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl(XML::SAX::Base) >= 1.02
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(XML::SAX::Base) >= 1.02
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
XML::Generator::PerlData provides a simple way to generate SAX2 events from
nested Perl data structures, while providing finer-grained control over the
resulting document streams.
Processing comes in two flavors: *Simple Style* and *Stream Style*:
In a nutshell, 'simple style' is best used for those cases where you have a
a single Perl data structure that you want to convert to XML as quickly and
painlessly as possible. 'Stream style' is more useful for cases where you
are receiving chunks of data (like from a DBI handle) and you want to
process those chunks as they appear. See *PROCESSING METHODS* for more info
about how each style works.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes TODO
%changelog