Compare commits
10 Commits
ff909e99ec
...
4ccebcba3e
Author | SHA256 | Date | |
---|---|---|---|
|
4ccebcba3e | ||
|
ea79791c32 | ||
|
7752923fe5 | ||
|
7dd1df8f7a | ||
|
bcd5b088ee | ||
|
5a01061143 | ||
|
98782fca7e | ||
|
87855988a1 | ||
|
27080a95c5 | ||
|
818ae7fe08 |
@@ -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
3
MARC-XML-1.0.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0f5f2a99a9850f30812cb06807b43b3e27999d92e4ca64903b2a8b8587df6c5f
|
||||||
|
size 18204
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal 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
|
@@ -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
|
Mon Jul 23 09:01:50 CEST 2007 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@@ -1,64 +1,63 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-MARC-XML
|
# 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
|
Name: perl-MARC-XML
|
||||||
Summary: A subclass of MARC.pm to provide XML support
|
Version: 1.0.3
|
||||||
URL: http://search.cpan.org/perldoc?MARC::XML
|
Release: 0
|
||||||
Group: Development/Libraries/Perl
|
%define cpan_name MARC-XML
|
||||||
License: Artistic License
|
Summary: MARC::XML Perl module
|
||||||
Version: 0.4
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Release: 1
|
Group: Development/Libraries/Perl
|
||||||
Vendor: openSUSE-Education
|
Url: http://search.cpan.org/dist/MARC-XML/
|
||||||
Source: %{real_name}-%{version}.tar.bz2
|
Source0: http://www.cpan.org/authors/id/G/GM/GMCHARLT/%{cpan_name}-%{version}.tar.gz
|
||||||
BuildRequires: perl-MARC >= 1.04
|
Source1: cpanspec.yml
|
||||||
BuildRequires: perl-XML-Parser
|
BuildArch: noarch
|
||||||
Requires: perl = %{perl_version}
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: perl-MARC >= 1.04
|
BuildRequires: perl
|
||||||
Requires: perl-XML-Parser >= 2.27
|
BuildRequires: perl-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
%description
|
||||||
MARC::XML is a subclass of MARC.pm which provides methods for round-trip
|
MARC::XML Perl module
|
||||||
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>
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{real_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?jobs:-j%jobs}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
rm -rf %{buildroot}
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes README
|
||||||
|
|
||||||
%files
|
%changelog
|
||||||
%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
|
|
||||||
|
Reference in New Issue
Block a user