Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
idzebra
idzebra.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File idzebra.spec of Package idzebra
# # spec file for package idzebra # # Copyright (c) 2011 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/ # # norootforbuild Name: idzebra BuildRequires: libexpat-devel libyaz-devel openssl-devel readline-devel tcl-devel tcpd-devel Version: 2.0.47 Release: 1 Requires: yaz License: GPL-2.0+ Group: Productivity/Databases/Servers Source: ftp://ftp.indexdata.dk/pub/zebra/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.indexdata.dk/zebra/ Summary: Fielded Free Text Engine with a Z39.50 Front-End %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. Authors: -------- Adam Dickmeiss <adam@indexdata.dk> %package devel License: GPL-2.0+ Summary: Fielded Free Text Engine with a Z39.50 Front-End Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: libyaz-devel glibc-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. Authors: -------- Adam Dickmeiss <adam@indexdata.dk> %package doc License: GPL-2.0+ 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. Authors: -------- Adam Dickmeiss <adam@indexdata.dk> %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ %configure --disable-static --with-pic --with-yazconfig=%{_bindir} %{__make} %{?jobs:-j%jobs} 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 DESTDIR=$RPM_BUILD_ROOT install # pushd doc # make DESTDIR=$RPM_BUILD_ROOT install # popd # Unwanted doc stuff rm -fr $RPM_BUILD_ROOT%{_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 $RPM_BUILD_ROOT mkdir -p etc/idzebra usr/share/idzebra cp -a usr/share/idzebra*/tab/* etc/idzebra rm -fr usr/share/idzebra*/tab pushd $RPM_BUILD_ROOT/usr/share/idzebra ln -sf ../../../etc/idzebra tab popd popd rm examples/*/Makefile* rm -fr $RPM_BUILD_ROOT/usr/share/idzebra-2.0-examples find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %dir %{_datadir}/idzebra %dir %{_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* #%{_bindir}/zebrash %{_mandir}/*/* %files devel %defattr(-,root,root) %{_libdir}/*.so %{_includedir}/* %{_datadir}/aclocal/* %files doc %defattr(-,root,root) %doc %{DOCFILES} %doc index.html html #%doc *.pdf %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