From bcace18f4887822086a9d0ddd66cb72b713f017f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 10 Jan 2013 13:29:09 +0100 Subject: [PATCH] Version 1.16 --- Changes | 8 ++++++ IDMETA | 3 +- SimpleServer.pm | 2 +- debian/changelog | 6 ++++ debian/control | 2 +- libnet-z3950-simpleserver-perl.spec | 53 +++++++++++++++++++++++++++++++++++ simpleserver.spec | 52 ---------------------------------- 7 files changed, 71 insertions(+), 55 deletions(-) create mode 100644 libnet-z3950-simpleserver-perl.spec delete mode 100644 simpleserver.spec diff --git a/Changes b/Changes index 4fb4436..82701b3 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,13 @@ Revision history for Perl extension Net::Z3950::SimpleServer + +1.16 Thu Jan 10 13:22:01 CET 2013 + - Create packages for Ubuntu quantal precise oneiric. + - Add support for GFS start handler (START) to allow handling + of GFS config file (-c). + - Handler search now gets PRESENT_NUMBER - a hint for how many + records are to be fetched following search (piggyback). + 1.15 Fri Oct 14 14:01:18 CEST 2011 - Fix decoding of OUTPUTFACETS (optinal) ; crashed on some Perl versions diff --git a/IDMETA b/IDMETA index 327b3b4..2266386 100644 --- a/IDMETA +++ b/IDMETA @@ -1,5 +1,6 @@ NAME=libnet-z3950-simpleserver-perl -VERSION=1.15 +VERSION=1.16 OMIT_FROM_DIST="archive" DEBIAN_DIST="wheezy squeeze" UBUNTU_DIST="quantal precise oneiric natty lucid" +CENTOS_DIST="centos5 centos6" diff --git a/SimpleServer.pm b/SimpleServer.pm index b2088b4..150ec81 100644 --- a/SimpleServer.pm +++ b/SimpleServer.pm @@ -36,7 +36,7 @@ require AutoLoader; @ISA = qw(Exporter AutoLoader DynaLoader); @EXPORT = qw( ); -$VERSION = '1.15'; +$VERSION = '1.16'; bootstrap Net::Z3950::SimpleServer $VERSION; diff --git a/debian/changelog b/debian/changelog index 88617bb..94fc5b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libnet-z3950-simpleserver-perl (1.16-1indexdata) unstable; urgency=low + + * Upstream. + + -- Adam Dickmeiss Thu, 10 Jan 2013 13:15:21 +0100 + libnet-z3950-simpleserver-perl (1.15-1) testing; urgency=low * Upstream. diff --git a/debian/control b/debian/control index e3570f8..3ad31d0 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: libnet-z3950-simpleserver-perl Section: perl Priority: optional -Build-Depends: debhelper (>= 4.0.2), libyaz4-dev +Build-Depends: debhelper (>= 4.0.2), libyaz4-dev (>= 4.2.48) Build-Depends-Indep: perl (>= 5.8.0-7) Maintainer: Mike Taylor Standards-Version: 3.6.1 diff --git a/libnet-z3950-simpleserver-perl.spec b/libnet-z3950-simpleserver-perl.spec new file mode 100644 index 0000000..4ee178a --- /dev/null +++ b/libnet-z3950-simpleserver-perl.spec @@ -0,0 +1,53 @@ +%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') +Summary: Perl API to the YAZ generic front-end server (Z39.50 server) +Name: libnet-z3950-simpleserver-perl +Version: %{idmetaversion} +Release: 1.indexdata +License: Perl +Group: Applications/Internet +Vendor: Index Data ApS +Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: perl +BuildRequires: libyaz4-devel >= 4.2.48 +# On Centos6: BuildRequires: perl-ExtUtils-MakeMaker +Packager: Jakub Skoczen +URL: http://www.indexdata.com/simpleserver/ + +Requires: libyaz4 >= 4.2.48 + +%description +The SimpleServer module is a tool for constructing Z39.50 "Information +Retrieval" servers in Perl. The module is easy to use, but it +does help to have an understanding of the Z39.50 query +structure and the construction of structured retrieval records. + +%prep +%setup + +%build +perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr +make + +%install +make pure_install +# Perl's make install seems to create both uncompressed AND compressed +# versions of the manual pages, which confuses /usr/lib/rpm/brp-compress +find $RPM_BUILD_ROOT/usr/share/man -name '*.gz' -exec rm -f '{}' \; + +# Install additional documentation +DOCDIR=$RPM_BUILD_ROOT%{_datadir}/doc/perl-simpleserver +mkdir -p $DOCDIR +cp -p README Changes $DOCDIR/ + +%clean +rm -fr ${RPM_BUILD_ROOT} + +%check || : +make test + +%files +%defattr(-,root,root) +%{_libdir}/perl5 +%doc %{_mandir}/man3/*.3* +%doc %{_datadir}/doc/perl-simpleserver diff --git a/simpleserver.spec b/simpleserver.spec deleted file mode 100644 index 4ac14ef..0000000 --- a/simpleserver.spec +++ /dev/null @@ -1,52 +0,0 @@ -%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') -Summary: Perl API to the YAZ generic front-end server (Z39.50 server) -Name: libnet-z3950-simpleserver-perl -Version: %{idmetaversion} -Release: 1.indexdata -License: Perl -Group: Applications/Internet -Vendor: Index Data ApS -Source: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: perl -BuildRequires: libyaz4-devel -Packager: Jakub Skoczen -URL: http://www.indexdata.com/simpleserver/ - -Requires: libyaz4 - -%description -The SimpleServer module is a tool for constructing Z39.50 "Information -Retrieval" servers in Perl. The module is easy to use, but it -does help to have an understanding of the Z39.50 query -structure and the construction of structured retrieval records. - -%prep -%setup - -%build -perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr -make - -%install -make pure_install -# Perl's make install seems to create both uncompressed AND compressed -# versions of the manual pages, which confuses /usr/lib/rpm/brp-compress -find $RPM_BUILD_ROOT/usr/share/man -name '*.gz' -exec rm -f '{}' \; - -# Install additional documentation -DOCDIR=$RPM_BUILD_ROOT%{_datadir}/doc/perl-simpleserver -mkdir -p $DOCDIR -cp -p README Changes $DOCDIR/ - -%clean -rm -fr ${RPM_BUILD_ROOT} - -%check || : -make test - -%files -%defattr(-,root,root) -%{_libdir}/perl5/site_perl/*/* -%doc %{_mandir}/man3/*.3* -%doc %{_datadir}/doc/perl-simpleserver -- 1.7.10.4