1 %define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n')
2 Summary: Perl API to the YAZ generic front-end server (Z39.50 server)
3 Name: libnet-z3950-simpleserver-perl
4 Version: %{idmetaversion}
7 Group: Applications/Internet
8 Vendor: Index Data ApS <info@indexdata.com>
9 Source: %{name}-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
12 BuildRequires: libyaz4-devel
13 Packager: Jakub Skoczen <jakub@indexdata.dk>
14 URL: http://www.indexdata.com/simpleserver/
19 The SimpleServer module is a tool for constructing Z39.50 "Information
20 Retrieval" servers in Perl. The module is easy to use, but it
21 does help to have an understanding of the Z39.50 query
22 structure and the construction of structured retrieval records.
28 perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr
33 # Perl's make install seems to create both uncompressed AND compressed
34 # versions of the manual pages, which confuses /usr/lib/rpm/brp-compress
35 find $RPM_BUILD_ROOT/usr/share/man -name '*.gz' -exec rm -f '{}' \;
37 # Install additional documentation
38 DOCDIR=$RPM_BUILD_ROOT%{_datadir}/doc/perl-simpleserver
40 cp -p README Changes $DOCDIR/
43 rm -fr ${RPM_BUILD_ROOT}
50 %{_libdir}/perl5/site_perl/*/*
51 %doc %{_mandir}/man3/*.3*
52 %doc %{_datadir}/doc/perl-simpleserver