Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Net-Z3950-ZOOM
perl-Net-Z3950-ZOOM.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Net-Z3950-ZOOM.spec of Package perl-Net-Z3950-ZOOM
# # spec file for package perl-Net-Z3950-ZOOM # # Copyright (c) 2020 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: perl-Net-Z3950-ZOOM Version: 1.30 Release: 0 %define cpan_name Net-Z3950-ZOOM Summary: Perl extension for invoking the ZOOM-C API License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MI/MIRK/%{cpan_name}-%{version}.tar.gz Source1: zselect.1 Source2: zoomdump.1 Source3: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(MARC::Record) >= 1.38 Requires: perl(MARC::Record) >= 1.38 %{perl_requires} # MANUAL BEGIN BuildRequires: gcc-c++ BuildRequires: libyaz-devel BuildRequires: openssl-devel Requires: openssl Requires: yaz >= 2.1.17 # MANUAL END %description This module provides a simple thin-layer through to the ZOOM-C functions in the YAZ toolkit for Z39.50 and SRW/U communication. You should not be using this very nasty, low-level API. You should be using the 'ZOOM' module instead, which implements a nice, Perlish API on top of this module, conformant to the ZOOM Abstract API described at http://zoom.z3950.org/api/ To enforce the don't-use-this-module prohibition, I am not even going to document it. If you really, really, really want to use it, then it pretty much follows the API described in the ZOOM-C documentation at http://www.indexdata.dk/yaz/doc/zoom.tkl The only additional (non-ZOOM-C) function provided by this module is 'event_str()', which takes as its argument an event code such as 'Net::Z3950::ZOOM::EVENT_SEND_APDU', and returns a corresponding short string. %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %check # MANUAL no testing (needs network connection) #make test %install %perl_make_install %perl_process_packlist # MANUAL BEGIN install -Dm644 %{SOURCE1} %{buildroot}%{_mandir}/man1/zselect.1 install -Dm644 %{SOURCE2} %{buildroot}%{_mandir}/man1/zoomdump.1 # MANUAL END %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README samples %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