Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
idzebra
idzebra.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File idzebra.spec of Package idzebra
# # spec file for package idzebra # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: idzebra Version: 2.0.60 Release: 0 Summary: Fielded Free Text Engine with a Z39.50 Frontend License: GPL-2.0+ Group: Productivity/Databases/Servers Url: http://www.indexdata.com/zebra/ Source: http://ftp.indexdata.com/pub/zebra/%{name}-%{version}.tar.gz #PATCH-FIX-UPSTREAM marguerite@opensuse.org - tcl_interp->errorline/result is depreciated in tcl 8.5 Patch: idzebra-2.0.55-tcl-8.5-abuild.patch BuildRequires: libexpat-devel BuildRequires: libyaz-devel BuildRequires: openssl-devel BuildRequires: readline-devel BuildRequires: tcl-devel BuildRequires: tcpd-devel Requires: yaz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Zebra is a fielded free text indexing and retrieval engine with a Z39.50 front-end. You can use any compatible, commercial, or freeware Z39.50 client to access data stored in Zebra. %package devel Summary: Fielded Free Text Engine with a Z39.50 Frontend Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: glibc-devel Requires: libyaz-devel %description devel Zebra is a fielded free text indexing and retrieval engine with a Z39.50 front-end. You can use any compatible, commercial, or freeware Z39.50 client to access data stored in Zebra. %package doc Summary: Documentation for the idzebra Package Group: Productivity/Databases/Servers Requires: %{name} = %{version} %description doc This package contains the documentation for Zebra. Zebra is a fielded free text indexing and retrieval engine with a Z39.50 front-end. %prep %setup -q %patch -p1 %build CFLAGS="%{optflags} -fno-strict-aliasing" \ %configure --disable-static --with-pic --with-yazconfig=%{_bindir} make %{?_smp_mflags} for f in examples/marcxml/*.x?l; do tr -d '\15' <$f >$f.tmp && mv $f.tmp $f done %check %ifarch ix86 # 2004-11-17 07:44:55 CET -ke- # there are problems with killing zebrasrv reliably make check %endif %install %make_install # pushd doc # make DESTDIR=%{buildroot} install # popd # Unwanted doc stuff rm -fr %{buildroot}%{_datadir}/doc # rm -fr html mkdir html #ln -sf zebra.html html/index.html cp doc/*html html #cp doc/*.pdf . %define DOCFILES README LICENSE.* NEWS #*.pdf { echo "<html><head><title>%{name} documentation directory</title></head>" echo "<body><ul>" echo "<li><a href=\"html/index.html\">%{name}</a>, official documentation (local)" for f in %{DOCFILES} ; do if [ "http:" = "${f%%%%/*}" ]; then echo "<li><a href=\"$f\">$f</a>" continue fi [ -f $f ] || continue echo "<li><a href=\"$f\">$f</a>" done echo "</li></body></html>" } >index.html pushd %{buildroot} mkdir -p etc/idzebra usr/share/idzebra cp -a usr/share/idzebra*/tab/* etc/idzebra rm -fr usr/share/idzebra*/tab pushd %{buildroot}%{_datadir}/idzebra ln -sf ../../../etc/idzebra tab popd popd rm examples/*/Makefile* rm -fr %{buildroot}%{_datadir}/idzebra-2.0-examples find %{buildroot} -type f -name "*.la" -delete -print find examples -type f -name '*.pl' -exec chmod -x {} \; %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %dir %{_datadir}/idzebra %{_datadir}/idzebra/tab %config %{_sysconfdir}/idzebra %{_libdir}/lib*.so.* %dir %{_libdir}/idzebra-2.0 %dir %{_libdir}/idzebra-2.0/modules %{_libdir}/idzebra-2.0/modules/*.so %{_bindir}/zebrasrv* %{_bindir}/zebraidx* %{_bindir}/idzebra* %{_mandir}/*/* %files devel %defattr(-,root,root) %{_libdir}/*.so %{_includedir}/* %{_datadir}/aclocal/* %files doc %defattr(-,root,root) %doc %{DOCFILES} %doc index.html html %doc examples %doc doc/marc_indexing.xml %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