Source: libloc
Maintainer: Stefan Schantl <stefan.schantl@ipfire.org>
Section: net
Priority: optional
Standards-Version: 4.6.1
Build-Depends:
 debhelper-compat (= 13),
 dh-sequence-python3,
 intltool,
 liblua5.1-0-dev,
 liblua5.4-dev,
 lua-unit:native <!nocheck !cross> | lua-unit <!nocheck !cross>,
 lua5.1 <!nocheck !cross>,
 lua5.4 <!nocheck !cross>,
 perl-xs-dev,
 perl:native,
 libssl-dev,
 pkgconf,
 python3-all-dev,
 asciidoc-base <!nodoc>,
 xsltproc,
 docbook-xsl,
Homepage: https://www.ipfire.org/location/
Vcs-Git: https://salsa.debian.org/debian/libloc.git
Vcs-Browser: https://salsa.debian.org/debian/libloc
Description: IP geolocation query library
 libloc is a lightweight library to query the IPFire Location database and
 determine the location of someone else on the Internet based on their IP
 address.

Package: libloc1
Architecture: any
Section: libs
Depends:
 ${shlibs:Depends},
 ${misc:Depends},
Breaks:
 libloc1t64 (<< ${binary:Version}),
Replaces:
 libloc1t64 (<< ${binary:Version}),
Provides:
 libloc1t64 (= ${binary:Version}),
Multi-Arch: same
Description: ${source:Synopsis}
 ${source:Extended-Description}
 .
 This package provides the shared library.

Package: libloc-dev
Architecture: any
Section: libdevel
Depends:
 libloc1 (= ${binary:Version}),
 ${misc:Depends},
Multi-Arch: same
Description: ${source:Synopsis} (development files)
 ${source:Extended-Description}
 .
 This package provides the headers and development files needed to use libloc
 in your own programs.

Package: location
Architecture: all
Depends:
 python3-location,
 ${misc:Depends},
 ${python3:Depends},
Recommends:
 libloc-database,
Replaces: location-importer (<< 0.9.14-1~)
Breaks: location-importer (<< 0.9.14-1~)
Description: ${source:Synopsis} (CLI utilities)
 ${source:Extended-Description}
 .
 This package provides CLI utilities based on libloc.

Package: python3-location
Architecture: any
Section: python
Depends:
 ${misc:Depends},
 ${python3:Depends},
 ${shlibs:Depends},
 python3-psycopg2,
Replaces:
 location-python (<< 0.9.14-1~),
Breaks:
 location-python (<< 0.9.14-1~),
 location-importer (<< 0.9.14-1~),
Multi-Arch: foreign
Description: ${source:Synopsis} (Python 3 bindings)
 ${source:Extended-Description}
 .
 This package provides the Python 3 bindings for libloc.

Package: location-python
Depends: python3-location, ${misc:Depends}
Architecture: all
Section: oldlibs
Description: transitional package
 This is a transitional package. It can safely be removed.

Package: location-importer
Depends: location, ${misc:Depends}
Architecture: all
Section: oldlibs
Description: transitional package
 This is a transitional package. It can safely be removed.

Package: lua-location
Architecture: any
Section: libs
Depends:
 ${misc:Depends},
 ${shlibs:Depends},
Multi-Arch: foreign
Description: ${source:Synopsis} (Lua bindings)
 ${source:Extended-Description}
 .
 This package provides the Lua bindings for libloc.

Package: liblocation-perl
Architecture: any
Section: perl
Depends:
 ${misc:Depends},
 ${perl:Depends},
 ${shlibs:Depends},
Description: ${source:Synopsis} (Perl bindings)
 ${source:Extended-Description}
 .
 This package provides the Perl bindings for libloc.
