Lars Vogdt
2008-05-07 10:17:00 +00:00
committed by Git OBS Bridge
commit 1c985ed5fb
5 changed files with 123 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

3
MARC-1.07.tar.bz2 Normal file
View File

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

5
perl-MARC.changes Normal file
View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Mon Jul 23 09:13:18 CEST 2007 - lars@linux-schulserver.de
- initial version 1.07

91
perl-MARC.spec Normal file
View File

@@ -0,0 +1,91 @@
#
# spec file for package perl-MARC
#
# norootforbuild
Name: perl-MARC
%define real_name MARC
Summary: A subclass of MARC.pm to provide XML support
URL: http://search.cpan.org/perldoc?MARC
Group: Development/Libraries/Perl
License: Artistic License
Version: 1.07
Release: 1
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
Requires: perl = %{perl_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
MARC.pm is a Perl 5 module for reading in, manipulating, and outputting
bibliographic records in the USMARC format. Since it is a Perl module
you use MARC.pm from one of your own Perl scripts. To see what sorts of
conversions are possible you can try out a web interface to MARC.pm which
will allow you to upload MARC files and retrieve the results (for details
see the section below entitled "Web Interface").
However, to get the full functionality you will probably want to install
MARC.pm on your server or PC. MARC.pm can handle both single and batches
of MARC records. The limit on the number of records in a batch is
determined by the memory capacity of the machine you are running. If memory
is an issue for you MARC.pm will allow you to read in records from a batch
gradually. MARC.pm also includes a variety of tools for searching, removing,
and even creating records from scratch.
Types of Conversions:
* MARC -> ASCII : separates the MARC fields out into separate lines
* MARC <-> MARCMaker : The MARCMaker format is a format that was developed
by the Library of Congress for use with their DOS based MARCMaker and
MARCBreaker utilities. This format is particularly useful for making
global changes (ie. with a text editor's search and replace) and then
converting back to MARC (MARC.pm will read properly formatted MARCMaker
records).
For more information about the MARCMaker format
see http://lcweb.loc.gov/marc/marcsoft.html
* MARC -> HTML : The MARC to HTML conversion creates an HTML file from the
fields and field labels that you supply. You could possibly use this to
create HTML bibliographies from a batch of MARC records.
* MARC <-> XML : XML support is handled by MARC::XML which is a subclass
of MARC.pm and is also available for download from the CPAN.
* MARC -> URLS : This conversion will extract URLs from a batch of MARC
records. The URLs are found in the 856 field, subfield u. The HTML page
that is generated can then be used with link-checking software to determine
which URLs need to be repaired. Hopefully library system vendors will soon
support this activity soon and make this conversion unecessary!
Author:
-------
Ed Summers <ehs@pobox.com>
%prep
%setup -n %{real_name}-%{version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%{__install} -d %buildroot%{perl_vendorlib}/MARC
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc Changes README MANIFEST
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/auto/MARC
%dir %{perl_vendorlib}/MARC
%{perl_vendorarch}/auto/MARC/.packlist
%{perl_vendorlib}/MARC.pm
/var/adm/perl-modules/%{name}
%changelog