Koha/debian/control
Lars Wirzenius 2fcc4fe94e Add tools to update debian/control's build dependencies.
The canonical list of Perl module dependencies are in
C4::Installer::PerlDependencies::PERL_DEPS now. Add a script
(debian/list-deps) to turn that into a list of Debian package names.

Because that is a slow process, and the output rarely changes, do
not do that at build time. Also, doing it at build time would require
modifying debian/control in evil ways.

Instead, add another tool, debian/update-control, which reads the
new file debian/control.in, and adds the output of debian/list-deps to
Build-Depends and creates a new debian/control.

debian/control.in is the master file. If changes are needed, that should
be edited. For performance and convenience reasons, the output is also kept
in git, but don't edit debian/control directly, please. Such changes
might get lost by the next commit by someone else.

Whenever PERL_DEPS changes, debian/update-control should be run as well
and the result committed to git.

This is not quite as automatic as it might be, but should be good enough.
It avoids keeping the list of Perl modules in two places.

Note that since it seems impossible to automatically figure out the Debian
package version that corresponds to a Perl module version, I have not
tried to do that at all.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-06-02 07:14:36 -04:00

118 lines
3.1 KiB
Text

Source: koha
Maintainer: Lars Wirzenius <lars@catalyst.net.nz>
Section: web
Priority: optional
Standards-Version: 3.8.4
# NOTA BENE: Build dependencies end up as runtime dependencies as well.
# See debian/rules, the override_dh_gencontrol rules.
# There are some exceptions.
Build-Depends: libalgorithm-checkdigits-perl,
libauthen-cas-client-perl,
libbiblio-endnotestyle-perl,
libcgi-pm-perl | perl-modules,
libcgi-session-perl,
libcgi-session-serialize-yaml-perl,
libclass-accessor-perl,
libclass-factory-util-perl,
libdata-ical-perl,
libdate-calc-perl,
libdate-ical-perl,
libdate-manip-perl,
libdatetime-perl,
libdbd-mysql-perl,
libdbd-sqlite2-perl,
libdbi-perl,
libdigest-sha-perl | perl,
libemail-date-perl,
libfile-temp-perl | perl-modules,
libgd-barcode-perl,
libgd-gd2-noxpm-perl | libgd-gd2-perl,
libgraphics-magick-perl,
libhtml-scrubber-perl,
libhtml-template-pro-perl,
libhttp-oai-perl,
libjson-perl,
liblingua-stem-perl,
liblingua-stem-snowball-perl,
liblist-moreutils-perl,
liblocale-currency-format-perl,
liblocale-po-perl,
libmail-sendmail-perl,
libmarc-charset-perl,
libmarc-crosswalk-dublincore-perl,
libmarc-record-perl,
libmarc-xml-perl,
libmemoize-memcached-perl,
libmime-lite-perl,
libnet-ldap-perl,
libnet-z3950-zoom-perl,
libnumber-format-perl,
libpdf-api2-perl,
libpdf-api2-simple-perl,
libpdf-reuse-barcode-perl,
libpdf-reuse-perl,
libpdf-table-perl,
libpoe-perl,
libscalar-list-utils-perl | perl-base,
libschedule-at-perl,
libsms-send-perl,
libtest-harness-perl | perl-modules,
libtest-simple-perl | perl-modules,
libtext-csv-encoded-perl,
libtext-csv-perl,
libtext-csv-xs-perl,
libtext-iconv-perl,
liburi-perl,
libwww-perl,
libxml-dumper-perl,
libxml-libxml-perl,
libxml-libxslt-perl,
libxml-rss-perl,
libxml-sax-perl,
libxml-sax-writer-perl,
libxml-simple-perl,
libyaml-syck-perl,
perl,
perl-base,
perl-modules,
debhelper (>= 7.0.50), gettext
Package: koha-common
Architecture: all
Depends: ${shlib:Depends}, ${misc:Depends}, ${koha:Depends},
apache2,
apache2-mpm-itk,
at,
daemon,
idzebra-2.0,
libjs-jquery,
libjs-yui,
mysql-client,
tinymce2,
yaz
Suggests: mysql-server
Homepage: http://koha-community.org/
Description: integrated (physical) library management system
Koha is an Integrated Library Managment system for real-world libraries
(the kinds with books).
.
This package contains everything needed to run Koha, except the site
specific configuration files. See the package koha for the rest.
Package: koha
Architecture: all
Depends: ${shlib:Depends}, ${misc:Depends},
koha-common,
dbconfig-common,
mysql-server
Homepage: http://koha-community.org/
Description: integrated (physical) library management system
Koha is an Integrated Library Managment system for real-world libraries
(the kinds with books).
.
This package contains site-specific configuration files and sets up
the MySQL database for Koha. For simplicity, the database server is
assumed to run on the same host as Koha.
.
Please see /usr/share/doc/koha/README.Debian for instructions on how to
configure things after installing this package.