commit 1c985ed5fbee6857b4c6e2d072c9bf7d90a5adbba6aec581b3ca5cae3ef5683c Author: Lars Vogdt Date: Wed May 7 10:17:00 2008 +0000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/MARC-1.07.tar.bz2 b/MARC-1.07.tar.bz2 new file mode 100644 index 0000000..7e1807c --- /dev/null +++ b/MARC-1.07.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65317cc712eed23af5389d688fd81789a2a6ff78dce9832524dd2f8edfeb7aaa +size 67049 diff --git a/perl-MARC.changes b/perl-MARC.changes new file mode 100644 index 0000000..f921ad7 --- /dev/null +++ b/perl-MARC.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Jul 23 09:13:18 CEST 2007 - lars@linux-schulserver.de + +- initial version 1.07 + diff --git a/perl-MARC.spec b/perl-MARC.spec new file mode 100644 index 0000000..8e2b0bf --- /dev/null +++ b/perl-MARC.spec @@ -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 + + +%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