-Copyright (c) 1998-2009 Index Data and Mike Taylor
+Copyright (C) 1998-2011 Index Data and Mike Taylor
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
+--- 1.2.4 2011/01/27
+
+RPM: Release includes 'indexdata' name. Use indexdata in release name so
+this package can be distinguished from other vendors.
+
+RPM: make it relocatable.
+
+yazpp-config: Use exec_prefix, libdir, includedir.
+
--- 1.2.3 2010/06/15
No *.la in Debian/RPM pacakges.
YAZ++ AKA yazpp - A C++ library for YAZ and a ZOOM C++ API.
+Copyright (C) 1998-2011 Index Data
+See the file LICENSE for details.
+
Introduction
------------
-------------
The "doc" directory contains documentation in HTML and PDF.
-You can also read it online at http://www.indexdata.dk/yazplusplus/
+You can also read it online at http://www.indexdata.com/yazpp
Overview
--------
The ZOOM library in this distribution implements the ZOOM C++ binding
described on the ZOOM web-site at
- http://zoom.z3950.org/bind/cplusplus/index.html
+ http://zoom.z3950.org/bind/cplusplus/
It provides a simple but powerful API for constructing Z39.50 client
applications. See the documentation in doc/zoom.xml for much more
information.
if [ "`uname -s`" = FreeBSD ]; then
# FreeBSD intalls the various auto* tools with version numbers
echo "Using special configuration for FreeBSD ..."
- automake=automake19
- aclocal="aclocal19 -I /usr/local/share/aclocal"
- autoconf=autoconf259
- libtoolize=libtoolize15
- autoheader=autoheader259
+ automake=automake
+ aclocal="aclocal -I /usr/local/share/aclocal"
+ autoconf=autoconf
+ libtoolize=libtoolize
+ autoheader=autoheader
fi
if [ "`uname -s`" = Darwin ]; then
if $enable_configure; then
if [ -n "$sh_cflags" ]; then
- CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure --disable-shared --enable-static $*
+ CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure \
+ --disable-shared --enable-static --with-pic $*
else
./configure $*
fi
if [ "`uname -s`" = FreeBSD ]; then
cat <<EOF
When building from a Git, you need these FreeBSD Ports:
- autoconf259, automake19, libtool15, bison, tcl84,
- docbook-xsl, libxml2, libxslt, g++-4.0, make
+ pkg_add -r autoconf262 automake110 libtool bison tcl84 \\
+ docbook-xsl libxml2 libxslt
+ pkg_add -r icu4
EOF
fi
fi
-dnl YAZ++ Toolkit Index Data 1998-2010
-dnl See the file LICENSE for details.
+dnl This file is part of yazpp
+dnl Copyright (C) 1998-2011 Index Data
AC_PREREQ(2.60)
-AC_INIT([yazpp],[1.2.3],[adam@indexdata.dk])
+AC_INIT([yazpp],[1.2.4],[adam@indexdata.dk])
AC_CONFIG_SRCDIR(configure.ac)
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE([1.9])
AC_ARG_ENABLE(zoom,[ --disable-zoom disable ZOOM (for old C++ compilers)],[enable_zoom=$enableval],[enable_zoom=yes])
AM_CONDITIONAL(ZOOM, test $enable_zoom = "yes")
-AC_SUBST(YAZPP_SRC_ROOT)
-AC_SUBST(YAZPP_BUILD_ROOT)
-YAZPP_SRC_ROOT=`cd ${srcdir}; pwd`
-YAZPP_BUILD_ROOT=`pwd`
-
AC_OUTPUT([
Doxyfile
Makefile
doc/local.ent
doc/common/Makefile
doc/common/print.dsl
- yazpp.spec
-],[sed s%yaz_echo_source=yes%yaz_echo_source=no%g < yazpp-config >src/yazpp-config && chmod +x yazpp-config src/yazpp-config])
+],[sed s%echo_source=yes%echo_source=no%g < yazpp-config >src/yazpp-config && chmod +x yazpp-config src/yazpp-config])
echo \
+yazpp (1.2.4-1indexdata) unstable; urgency=low
+
+ * Upstream.
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Thu, 27 Jan 2011 13:28:08 +0100
+
yazpp (1.2.3-1indexdata) unstable; urgency=low
* Upstream.
debian/tmp/usr/lib/libzoompp.so
debian/tmp/usr/bin/yazpp-config
debian/tmp/usr/share/aclocal/yazpp.m4
-debian/tmp/usr/share/man/man8/yazpp-config.8
+debian/tmp/usr/share/man/man1/yazpp-config.1
TOP = $(srcdir)/yazpp.xml
-MANFILES = yazpp-config.8
+MANFILES = yazpp-config.1
REFFILES = yazpp-config-man.xml
index.tkl: $(XMLFILES)
$(TKL_COMPILE) $(TOP)
-yazpp-config.8: yazpp-config-man.xml
+yazpp-config.1: yazpp-config-man.xml
$(MAN_COMPILE) $(srcdir)/yazpp-config-man.xml
yazpp.pdf: $(XMLFILES)
<!ENTITY chap-zoom SYSTEM "zoom.xml">
<!ENTITY chap-api SYSTEM "api.xml">
<!ENTITY app-license SYSTEM "license.xml">
-<!ENTITY copyright-year "1998-2010">
+<!ENTITY copyright-year "1998-2011">
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
- "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
[ ]>
<refentry id="yazpp-config">
+
+ <refentryinfo>
+ <productname>yazpp</productname>
+ <info><orgname>Index Data</orgname></info>
+ </refentryinfo>
+
<refmeta>
<refentrytitle>yazpp-config</refentrytitle>
- <manvolnum>8</manvolnum>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo class="manual">Commands</refmiscinfo>
</refmeta>
<refnamediv>
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1//EN"
- "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
[
<!ENTITY % local SYSTEM "local.ent">
%local;
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
-# Copyright (C) 1998-2010 Index Data
+# Copyright (C) 1998-2011 Index Data
# All rights reserved.
# Parameters
#!/bin/sh
-yazppprefix=@prefix@
-yaz_echo_cflags=no
-yaz_echo_libs=no
-yaz_echo_help=no
-yaz_echo_tabs=no
-yaz_echo_source=yes
-yaz_echo_lalibs=no
-yazpp_src_root=@YAZPP_SRC_ROOT@
-yazpp_build_root=@YAZPP_BUILD_ROOT@
-
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+echo_cflags=no
+echo_libs=no
+echo_help=no
+echo_tabs=no
+echo_source=yes
+echo_lalibs=no
+src_root=@abs_top_srcdir@
+build_root=@abs_top_builddir@
yazlibs="@YAZLIB@ @LIBS@"
yazlalibs="@YAZLALIB@ @LIBS@"
-YAZPPVERSION=@VERSION@
+VERSION=@VERSION@
usage()
{
cat <<EOF
-Usage: yaz++-config [OPTIONS] [LIBRARIES]
+Usage: yazpp-config [OPTIONS] [LIBRARIES]
Options:
[--prefix[=DIR]]
[--version]
}
if test $# -eq 0; then
- yaz_echo_help=yes
+ echo_help=yes
fi
while test $# -gt 0; do
case $1 in
--prefix=*)
- yazppprefix=$optarg
+ prefix=$optarg
;;
--prefix)
- echo $yazppprefix
+ echo $prefix
exit 0
;;
--version)
- echo $YAZPPVERSION
+ echo $VERSION
exit 0
;;
--cflags)
- yaz_echo_cflags=yes
+ echo_cflags=yes
;;
--libs)
- yaz_echo_libs=yes
+ echo_libs=yes
;;
--tabs)
- yaz_echo_tabs=yes
+ echo_tabs=yes
;;
--lalibs)
- yaz_echo_lalibs=yes
+ echo_lalibs=yes
;;
-*)
- yaz_echo_help=yes
+ echo_help=yes
;;
esac
shift
YAZPPINC="@YAZINC@"
-if test "$yaz_echo_source" = "yes"; then
- YAZPPLIB="-L${yazpp_build_root}/src/.libs -lyazpp"
- YAZPPLIB="$YAZPPLIB -L${yazpp_build_root}/zoom/.libs -lzoompp"
+if test "$echo_source" = "yes"; then
+ YAZPPLIB="-L${build_root}/src/.libs -lyazpp"
+ YAZPPLIB="$YAZPPLIB -L${build_root}/zoom/.libs -lzoompp"
YAZPPLIB="$YAZPPLIB $yazlibs"
- YAZPPLALIB="${yazpp_build_root}/src/libyazpp.la $yazlalibs"
- YAZPPINC="-I${yazpp_src_root}/include $YAZPPINC"
+ YAZPPLALIB="${build_root}/src/libyazpp.la $yazlalibs"
+ YAZPPINC="-I${src_root}/include $YAZPPINC"
else
- if test "$yazppprefix" = "/usr"; then
+ if test "$prefix" = "/usr"; then
YAZPPLIB="${libs_short} $yazlibs"
else
- YAZPPLIB="-L${yazppprefix}/lib ${libs_short} $yazlibs"
+ YAZPPLIB="-L${libdir} ${libs_short} $yazlibs"
fi
YAZPPLALIB=$YAZPPLIB
- if test "$yazppprefix" != "/usr"; then
- YAZPPINC="-I${yazppprefix}/include $YAZPPINC"
+ if test "$prefix" != "/usr"; then
+ YAZPPINC="-I${includedir} $YAZPPINC"
fi
fi
-if test "$yaz_echo_help" = "yes"; then
+if test "$echo_help" = "yes"; then
usage 1 1>&2
fi
-if test "$yaz_echo_cflags" = "yes"; then
+if test "$echo_cflags" = "yes"; then
echo $YAZPPINC
fi
-if test "$yaz_echo_libs" = "yes"; then
+if test "$echo_libs" = "yes"; then
echo $YAZPPLIB
fi
-if test "$yaz_echo_lalibs" = "yes"; then
+if test "$echo_lalibs" = "yes"; then
echo $YAZPPLALIB
fi
--- /dev/null
+Summary: YAZ++ package (main)
+Name: yazpp
+Version: 1.2.4
+Release: 1indexdata
+License: BSD
+Group: Applications/Internet
+Vendor: Index Data ApS <info@indexdata.dk>
+Source: yazpp-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Prefix: %{_prefix}
+BuildRequires: pkgconfig, libyaz4-devel >= 4.1.0
+Packager: Adam Dickmeiss <adam@indexdata.dk>
+URL: http://www.indexdata.com/yazplusplus
+
+%description
+YAZ++ package.
+
+%package -n libyazpp4
+Summary: YAZ++ and ZOOM library
+Group: Libraries
+Requires: libyaz4 >= 4.1.0
+
+%description -n libyazpp4
+Libraries for the YAZ++ package.
+
+%package -n libyazpp4-devel
+Summary: Z39.50 Library - development package
+Group: Development/Libraries
+Requires: libyazpp4 = %{version}, libyaz4-devel
+
+%description -n libyazpp4-devel
+Development libraries and include files for the YAZ++ package.
+
+%prep
+%setup
+
+%build
+
+CFLAGS="$RPM_OPT_FLAGS" \
+ ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
+ --enable-shared --with-yaz=/usr/bin
+make CFLAGS="$RPM_OPT_FLAGS"
+
+%install
+rm -fr ${RPM_BUILD_ROOT}
+make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
+ libdir=${RPM_BUILD_ROOT}/%{_libdir} install
+rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
+
+%clean
+rm -fr ${RPM_BUILD_ROOT}
+
+%post -n libyazpp4 -p /sbin/ldconfig
+%postun -n libyazpp4 -p /sbin/ldconfig
+
+%files -n libyazpp4
+%doc README LICENSE NEWS
+%defattr(-,root,root)
+%{_libdir}/*.so.*
+
+%files -n libyazpp4-devel
+%defattr(-,root,root)
+%{_bindir}/yazpp-config
+%{_includedir}/yazpp
+%{_libdir}/*.so
+%{_libdir}/*.a
+%{_datadir}/aclocal/yazpp.m4
+%{_mandir}/man?/yazpp-config.*
+%{_datadir}/doc/yazpp
+
+++ /dev/null
-Summary: YAZ++ package (main)
-Name: yazpp
-Version: @VERSION@
-Release: 1
-License: BSD
-Group: Applications/Internet
-Vendor: Index Data ApS <info@indexdata.dk>
-Source: yazpp-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: pkgconfig libyaz4-devel
-Packager: Adam Dickmeiss <adam@indexdata.dk>
-URL: http://www.indexdata.dk/yazplusplus/
-
-%description
-YAZ++ package.
-
-%package -n libyazpp4
-Summary: YAZ++ and ZOOM library
-Group: Libraries
-Requires: libyaz4
-
-%description -n libyazpp4
-Libraries for the YAZ++ package.
-
-%package -n libyazpp4-devel
-Summary: Z39.50 Library - development package
-Group: Development/Libraries
-Requires: libyazpp4 = %{version} libyaz4-devel
-
-%description -n libyazpp4-devel
-Development libraries and include files for the YAZ++ package.
-
-%prep
-%setup
-
-%build
-
-CFLAGS="$RPM_OPT_FLAGS" \
- ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
- --enable-shared --with-yaz=/usr/bin
-make CFLAGS="$RPM_OPT_FLAGS"
-
-%install
-rm -fr ${RPM_BUILD_ROOT}
-make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
- libdir=${RPM_BUILD_ROOT}/%{_libdir} install
-rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
-
-%clean
-rm -fr ${RPM_BUILD_ROOT}
-
-%files -n libyazpp4
-%doc README LICENSE NEWS
-%defattr(-,root,root)
-%{_libdir}/*.so.*
-
-%files -n libyazpp4-devel
-%defattr(-,root,root)
-%{_bindir}/yazpp-config
-%{_includedir}/yazpp
-%{_libdir}/*.so
-%{_libdir}/*.a
-%{_datadir}/aclocal/yazpp.m4
-%{_mandir}/man8/yazpp-config.*
-%{_datadir}/doc/yazpp
-
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2010 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met: