Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-MARC-Crosswalk-DublinCore
perl-MARC-Crosswalk-DublinCore.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-MARC-Crosswalk-DublinCore.spec of Package perl-MARC-Crosswalk-DublinCore
# # spec file for package perl-MARC-Crosswalk-DublinCore # # Copyright (c) 2012 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-MARC-Crosswalk-DublinCore Version: 0.02 Release: 0 %define cpan_name MARC-Crosswalk-DublinCore Summary: Convert data between MARC and Dublin Core License: Artistic-1.0 or GPL-2.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/MARC-Crosswalk-DublinCore/ Source: http://www.cpan.org/authors/id/B/BR/BRICAS/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Accessor) BuildRequires: perl(DublinCore::Record) BuildRequires: perl(MARC::Record) BuildRequires: perl(Module::Build) Requires: perl(DublinCore::Record) Requires: perl(MARC::Record) %{perl_requires} %description This module provides an implentation of the LOC's spec on how to convert metadata between MARC and Dublin Core format. The spec for converting MARC to Dublin Core is available at: http://www.loc.gov/marc/marc2dc.html, and from DC to MARC: http://www.loc.gov/marc/dccross.html. NB: The conversion cannot be done in a round-trip manner. i.e. Doing a conversion from MARC to DC, then trying to go back to MARC will not yield the original record. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 for filename in Changes README %{buildroot}%{_bindir}/marc2dc ; do perl -pi -e 's/\r\n/\n/g' $filename done %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor