Compare commits

...

10 Commits

Author SHA256 Message Date
Stephan Kulow
4ccebcba3e Accepting request 305154 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/305154
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=12
2015-05-03 11:56:27 +00:00
Stephan Kulow
ea79791c32 Accepting request 305029 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/305029
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=11
2015-05-02 09:39:10 +00:00
Lars Vogdt
7752923fe5 ran spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=10
2014-01-26 15:25:35 +00:00
Stephan Kulow
7dd1df8f7a use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=9
2011-11-17 15:38:28 +00:00
Stephan Kulow
bcd5b088ee OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=7 2011-11-11 11:19:37 +00:00
Stephan Kulow
5a01061143 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=6
2010-12-03 14:41:54 +00:00
Stephan Kulow
98782fca7e siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=5
2010-12-01 13:49:06 +00:00
Stephan Kulow
87855988a1 - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=4
2010-11-29 18:57:04 +00:00
Stephan Kulow
27080a95c5 remove .packlist file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=3
2010-11-28 11:43:23 +00:00
Lars Vogdt
818ae7fe08 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=2 2008-05-07 12:37:24 +00:00
5 changed files with 124 additions and 48 deletions

View File

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

3
MARC-XML-1.0.3.tar.gz Normal file
View File

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

23
cpanspec.yml Normal file
View File

@@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,57 @@
-------------------------------------------------------------------
Sun May 3 08:34:55 UTC 2015 - coolo@suse.com
- updated to 1.0.3
see /usr/share/doc/packages/perl-MARC-XML/Changes
1.0.3 Thu Jan 23 05:02:52 UTC 2014
- fix t/external-entities.t to pass on Strawberry
1.0.2 Tue Jan 21 17:18:37 UTC 2014
- MARC::File::XML will now die upon parsing a record that
declares an external entity and tries to use it. This
prevents the potential unwanted disclosure of the contents
of files on the server by applications that embed this module.
If, for some reason, an application needs to process MARCXML
records that contain external entities, set_parser() can be
used to force the use of an XML::LibXML parser that is
configured to process external entities.
The issue was reported by John Lightsey.
1.0.1 Fri Feb 15 08:25:04 PST 2013
- RT#83284: return empty MARC::Record given empty <record/>
1.0 Sun Feb 10 21:32:32 PST 2013
- Use XML::LibXML rather than XML::SAX to parse MARCXML records.
This offers a significant speed improvement for record parsing;
in some tests, parsing time on a large file was reduced by 80%.
This also avoids problems caused by character encoding bugs in
XML::SAX::PurePerl.
- Add method to let client code give MARC::File::XML a shared
XML::LibXML parser object.
-------------------------------------------------------------------
Sat May 2 09:30:15 UTC 2015 - coolo@suse.com
- updated to 0.93
see /usr/share/doc/packages/perl-MARC-XML/Changes
-------------------------------------------------------------------
Wed Dec 1 13:33:32 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:30:29 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Sun Nov 28 11:37:53 UTC 2010 - coolo@novell.com
- remove .packlist file
-------------------------------------------------------------------
Mon Jul 23 09:01:50 CEST 2007 - lars@linux-schulserver.de

View File

@@ -1,64 +1,63 @@
#
# spec file for package perl-MARC-XML
#
# Copyright (c) 2015 SUSE LINUX 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.
# norootforbuild
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-MARC-XML
%define real_name MARC-XML
Summary: A subclass of MARC.pm to provide XML support
URL: http://search.cpan.org/perldoc?MARC::XML
Group: Development/Libraries/Perl
License: Artistic License
Version: 0.4
Release: 1
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
BuildRequires: perl-MARC >= 1.04
BuildRequires: perl-XML-Parser
Requires: perl = %{perl_version}
Requires: perl-MARC >= 1.04
Requires: perl-XML-Parser >= 2.27
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Name: perl-MARC-XML
Version: 1.0.3
Release: 0
%define cpan_name MARC-XML
Summary: MARC::XML Perl module
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/MARC-XML/
Source0: http://www.cpan.org/authors/id/G/GM/GMCHARLT/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(MARC::Charset) >= 0.98
BuildRequires: perl(MARC::Record) >= 2
BuildRequires: perl(XML::LibXML) >= 1.66
Requires: perl(MARC::Charset) >= 0.98
Requires: perl(MARC::Record) >= 2
Requires: perl(XML::LibXML) >= 1.66
%{perl_requires}
%description
MARC::XML is a subclass of MARC.pm which provides methods for round-trip
conversions between MARC and XML.
As a subclass of MARC.pm a MARC::XML object will by default have the full
functionality of a MARC.pm object.
See the MARC.pm documentation for details.
Author:
-------
Ed Summers <ehs@pobox.com>
MARC::XML Perl module
%prep
%setup -n %{real_name}-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%files
%defattr(-, root, root)
%doc Changes README MANIFEST
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/auto/MARC/XML
%{perl_vendorlib}/MARC/XML.pm
%{perl_vendorarch}/auto/MARC/XML/.packlist
/var/adm/perl-modules/%{name}
%changelog
%changelog