%define major 4 %define libname %mklibname yaz %{major} %define develname %mklibname yaz -d Summary: Z39.50 protocol support library Name: yaz Version: 4.2.20 Release: %mkrel 12 License: BSD-like Group: System/Libraries URL: http://www.indexdata.dk/yaz/ Source0: http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz Patch0: yaz-config.diff BuildRequires: docbook-style-dsssl BuildRequires: docbook-style-xsl BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: openssl-devel BuildRequires: readline-devel BuildRequires: ncurses-devel BuildRequires: termcap-devel BuildRequires: tcp_wrappers-devel BuildRequires: icu-devel BuildRequires: bison BuildRequires: tcl %description This package contains both a test-server and clients (normal & ssl) for the ANSI/NISO Z39.50 protocol for Information Retrieval. %files %doc README LICENSE installed-docs/*.html installed-docs/*.png %attr(755,root,root) %{_bindir}/yaz-* %attr(755,root,root) %{_bindir}/zoomsh %{_mandir}/man1/yaz-client*.* %{_mandir}/man1/yaz-iconv.1* %{_mandir}/man1/yaz-icu.1* %{_mandir}/man1/yaz-illclient.1* %{_mandir}/man1/yaz-json-parse.1* %{_mandir}/man1/yaz-marcdump.1* %{_mandir}/man1/yaz-url.1* %{_mandir}/man1/zoomsh.* %{_mandir}/man8/yaz-ztest*.* # moved from lib pkg %{_mandir}/man7/* %{_datadir}/yaz/etc #-------------------------------------------------------------------- %package -n %{libname} Summary: Z39.50 Library Group: System/Libraries Requires: openssl Requires: tcp_wrappers Requires: %{name} >= %{version}-%{release} %description -n %{libname} YAZ is a library for the ANSI/NISO Z39.50 protocol for Information Retrieval. %files -n %{libname} %attr(755,root,root) %{_libdir}/*.so.%{major}* #-------------------------------------------------------------------- %package -n %{develname} Summary: Z39.50 Library - development package Group: Development/C Requires: %{libname} = %{version} Provides: %{name}-devel Provides: lib%{name}-devel %description -n %{develname} Development libraries and includes for the libyaz package. %files -n %{develname} %attr(755,root,root) %{_bindir}/yaz-config %attr(755,root,root) %{_bindir}/yaz-asncomp %{_includedir}/yaz %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/yaz.m4 %{_datadir}/yaz/z39.50 %{_datadir}/yaz/ill %{_mandir}/man1/yaz-asncomp.* %{_mandir}/man1/yaz-config.* #-------------------------------------------------------------------- %prep %setup -q #%patch0 -p0 # lib64 fix perl -pi -e "s|/lib\b|/%{_lib}|g" configure* perl -pi -e "s|/usr/lib/|%{_libdir}/|g" configure* %build autoreconf -fi %configure2_5x \ --enable-shared \ --enable-tcpd \ --with-openssl \ --with-xml2 \ --with-xslt \ --with-exslt \ --with-icu \ --disable-static %make %check make check %install %makeinstall_std docdir=/installed-docs # fix installed docs rm -rf installed-docs mv %{buildroot}/installed-docs . mv %{buildroot}%{_docdir}/yaz/* installed-docs/ # fix yaz-config (weird stuff...) perl -pi -e "s|^yaz_echo_source=.*|yaz_echo_source=yes|g" %{buildroot}%{_bindir}/yaz-config # Remove cruft find %{buildroot} -name '*.la' -o -name '*.a' | xargs rm -f %changelog * Wed Oct 15 2014 umeabot <umeabot> 4.2.20-12.mga5 + Revision: 747115 - Second Mageia 5 Mass Rebuild * Fri Sep 26 2014 tv <tv> 4.2.20-11.mga5 + Revision: 725285 - rebuild for bogus file deps * Tue Sep 16 2014 umeabot <umeabot> 4.2.20-10.mga5 + Revision: 690828 - Mageia 5 Mass Rebuild * Sat Apr 05 2014 wally <wally> 4.2.20-9.mga5 + Revision: 611820 - rebuild for new icu - drop old and unneeded Mdv era obsoletes/conflicts * Mon Oct 21 2013 umeabot <umeabot> 4.2.20-8.mga4 + Revision: 537661 - Mageia 4 Mass Rebuild * Fri Sep 27 2013 fwang <fwang> 4.2.20-7.mga4 + Revision: 487456 - rebuild for icu 52 * Sun May 26 2013 fwang <fwang> 4.2.20-6.mga4 + Revision: 427927 - rebuild for new icu * Mon Jan 14 2013 umeabot <umeabot> 4.2.20-5.mga3 + Revision: 387553 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Nov 09 2012 fwang <fwang> 4.2.20-4.mga3 + Revision: 316664 - rebuild for updated icu * Tue Nov 06 2012 fwang <fwang> 4.2.20-3.mga3 + Revision: 314747 - rebuild for new icu * Wed May 30 2012 fwang <fwang> 4.2.20-2.mga3 + Revision: 249649 - rebuild for new icu * Sun Nov 20 2011 dmorgan <dmorgan> 4.2.20-1.mga2 + Revision: 169866 - New version 4.2.20 * Sun Nov 20 2011 dmorgan <dmorgan> 4.0.1-6.mga2 + Revision: 169849 - Remove .*a files * Mon Jun 20 2011 fwang <fwang> 4.0.1-5.mga2 + Revision: 110360 - rebuild for new icu * Mon Feb 07 2011 spuhler <spuhler> 4.0.1-4.mga1 + Revision: 48392 - removed buildroot definition from .spec removed the if mdkversion lines - imported package yaz * Wed Dec 08 2010 Oden Eriksson <oeriksson@mandriva.com> 4.0.1-4mdv2011.0 + Revision: 615760 - the mass rebuild of 2010.1 packages * Mon Apr 19 2010 Funda Wang <fwang@mandriva.org> 4.0.1-3mdv2010.1 + Revision: 536634 - rebuild * Sun Mar 21 2010 Funda Wang <fwang@mandriva.org> 4.0.1-2mdv2010.1 + Revision: 526124 - rebuild for new icu * Thu Feb 18 2010 Oden Eriksson <oeriksson@mandriva.com> 4.0.1-1mdv2010.1 + Revision: 507482 - 4.0.1 * Mon Nov 09 2009 Frederik Himpe <fhimpe@mandriva.org> 3.0.50-1mdv2010.1 + Revision: 463704 - update to new version 3.0.50 * Mon Sep 14 2009 Frederik Himpe <fhimpe@mandriva.org> 3.0.48-1mdv2010.0 + Revision: 440780 - update to new version 3.0.48 * Mon Jul 13 2009 Frederik Himpe <fhimpe@mandriva.org> 3.0.47-1mdv2010.0 + Revision: 395462 - update to new version 3.0.47 * Wed Jun 10 2009 Oden Eriksson <oeriksson@mandriva.com> 3.0.46-1mdv2010.0 + Revision: 384871 - 3.0.46 - rediffed patches - nuke obsolete options * Tue Mar 03 2009 Guillaume Rousse <guillomovitch@mandriva.org> 3.0.41-2mdv2009.1 + Revision: 347885 - rebuild for latest readline * Mon Feb 02 2009 Oden Eriksson <oeriksson@mandriva.com> 3.0.41-1mdv2009.1 + Revision: 336358 - fix build (duh!) - 3.0.41 - rediffed patches * Fri Dec 05 2008 Adam Williamson <awilliamson@mandriva.org> 3.0.36-1mdv2009.1 + Revision: 310408 - rebuild with new tcl - new release 3.0.36 * Thu Jul 17 2008 Oden Eriksson <oeriksson@mandriva.com> 3.0.34-1mdv2009.0 + Revision: 237499 - rediffed P0 + Tomasz Pawel Gajc <tpg@mandriva.org> - update to new version 3.0.34 + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Fri May 16 2008 Oden Eriksson <oeriksson@mandriva.com> 3.0.26-1mdv2009.0 + Revision: 208164 - 3.0.26 * Fri Feb 15 2008 Oden Eriksson <oeriksson@mandriva.com> 3.0.24-1mdv2008.1 + Revision: 168741 - second try (bork bork bork!) - 3.0.24 - rediffed P0 - make that strange doc install work + Thierry Vignaud <tv@mandriva.org> - fix no-buildroot-tag * Thu Dec 27 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 3.0.18-2mdv2008.1 + Revision: 138524 - reintroduce patch 0 * Thu Dec 27 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 3.0.18-1mdv2008.1 + Revision: 138494 - add bunch of missing buildrequires, and remove not needed ones - fix file list - drop patch 0 - new version + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Tue Nov 13 2007 Oden Eriksson <oeriksson@mandriva.com> 3.0.14-2mdv2008.1 + Revision: 108417 - make it build on cs4 * Tue Oct 23 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 3.0.14-1mdv2008.1 + Revision: 101377 - new version * Mon Oct 01 2007 Oden Eriksson <oeriksson@mandriva.com> 3.0.10-2mdv2008.0 + Revision: 94147 - rebuilt due to missing packages * Fri Sep 07 2007 Oden Eriksson <oeriksson@mandriva.com> 3.0.10-1mdv2008.0 + Revision: 81705 - 3.0.10 - drop obolete patches - new devel naming * Wed Aug 29 2007 Pixel <pixel@mandriva.com> 3.0.6-3mdv2008.0 + Revision: 74638 - better conflict on older lib * Wed Aug 29 2007 Pixel <pixel@mandriva.com> 3.0.6-2mdv2008.0 + Revision: 74631 - add explicit conflict from libyaz3-devel on libyaz2-devel * Thu Jun 07 2007 Oden Eriksson <oeriksson@mandriva.com> 3.0.6-1mdv2008.0 + Revision: 36505 - 3.0.6 * Tue May 08 2007 Oden Eriksson <oeriksson@mandriva.com> 3.0.2-1mdv2008.0 + Revision: 25052 - 3.0.2 - rediffed P0 - new major (3) * Sat Apr 21 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 2.1.54-2mdv2008.0 + Revision: 16550 - regenerate P0 one more time * Sat Apr 21 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 2.1.54-1mdv2008.0 + Revision: 16497 - new version - regenerate P0 and P1 - own missing files * Fri Feb 09 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 2.1.48-1mdv2007.0 + Revision: 118327 - new version - use major - move non-so files from lib package - spec file clean * Mon Jan 22 2007 Oden Eriksson <oeriksson@mandriva.com> 2.1.46-2mdv2007.1 + Revision: 111894 - added fixes to P0 by Tomasz Pawel Gajc + Tomasz Pawel Gajc <tpg@mandriva.org> - rework patch 0 - new version * Wed Dec 27 2006 Oden Eriksson <oeriksson@mandriva.com> 2.1.42-1mdv2007.1 + Revision: 102126 - make it build against the shared pcal libs - added lib64 fixes - 2.1.42 - rediffed P0 - use the check macro - use "system" autofoo versions - fix deps * Wed Dec 27 2006 Oden Eriksson <oeriksson@mandriva.com> 2.1.10-2mdv2007.1 + Revision: 102117 - Import yaz * Thu Jan 05 2006 Oden Eriksson <oeriksson@mandriva.com> 2.1.10-2mdk - rebuild * Tue Nov 29 2005 Oden Eriksson <oeriksson@mandriva.com> 2.1.10-1mdk - 2.1.10 - rediffed P0 - use %%mkrel * Fri Oct 07 2005 Pascal Terjan <pterjan@mandriva.org> 2.1.8-1mdk - 2.1.8 * Thu Apr 28 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.1.4-1mdk - 2.1.4 (Major feature enhancements) - run the test suite * Mon Apr 04 2005 Pascal Terjan <pterjan@mandrake.org> 2.0.28-3mdk - multiarch * Thu Jan 20 2005 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 2.0.28-2mdk - rebuild for new readline * Fri Nov 26 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.28-1mdk - 2.0.28 - rediffed P0 * Mon Nov 08 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.26-1mdk - 2.0.26 * Tue Jun 15 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.21-4mdk - rebuild * Tue May 25 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.21-3mdk - fix yaz-config (weird stuff...) * Tue May 25 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.21-2mdk - make it compile on 9.2 too * Tue May 25 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.21-1mdk - 2.0.21 - drop the patches - added P0 (yaz-config) - misc spec file fixes