Commit 3da6e70c authored by Stefan Schantl's avatar Stefan Schantl Committed by Michael Tremer

Add support for packaging Debian (deb) packages

Signed-off-by: default avatarStefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent b729df58
libloc (0.9.0-1) UNRELEASED; urgency=medium
* Initial release. (Closes: #XXXXXX)
-- Stefan Schantl <stefan.schantl@ipfire.org> Sun, 27 Oct 2019 18:55:44 +0100
Source: libloc
Maintainer: Stefan Schantl <stefan.schantl@ipfire.org>
Section: misc
Priority: optional
Standards-Version: 4.3.0
Build-Depends:
debhelper (>= 11),
dh-python <!nopython>,
libpython3-all-dev <!nopython>,
libsystemd-dev,
python3-all-dev:any <!nopython>,
Rules-Requires-Root: no
Homepage: https://location.ipfire.org/
Vcs-Git: https://git.ipfire.org/pub/git/location/libloc.git
Vcs-Browser: https://git.ipfire.org/pub/git/location/libloc.git
Package: libloc
Architecture: any
Pre-Depends:
${misc:Pre-Depends}
Depends:
perl,
${shlibs:Depends},
${misc:Depends},
${python3:Depends},
Multi-Arch: same
Description: Location library
A library to determine the location of someone on the Internet
Package: libloc-dev
Architecture: any
Section: libdevel
Depends:
libloc (= ${binary:Version}),
${misc:Depends},
Suggests:
pkg-config,
Multi-Arch: same
Description: Development files for libloc.
Install this package if you wish to develop your own programs using
libloc.
Package: libloc-perl
Architecture: any
Section: perl
Depends:
${misc:Depends},
${perl:Depends},
${shlibs:Depends}
Multi-Arch: same
Description: Perl bindings for libloc
This package contains simple perl bindings for libloc.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libloc
Upstream-Contact: Michael Tremer <michael.tremer@ipfire.org>
Source: https://location.ipfire.org/download
Files: *
Copyright: 2017-2019 IPFire Development team <info@ipfire.org>
License: LGPL-2.1
Files: debian/*
Copyright: 2019 Stefan Schantl stefan.schantl@ipfire.org>
License: LGPL-2.1
License: LGPL-2.1
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; version 2.1 of the License, or (at
your option) any later version.
.
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.
The complete text of the GNU General Public License
can be found in /usr/share/common-licenses/LGPL-2.1 file.
.
usr/include/libloc
usr/lib/*/libloc.so
usr/lib/*/pkgconfig
usr/bin/location-downloader
usr/bin/location-query
usr/lib/*/libloc.so.*
usr/lib/python3*/*-packages/*.so
src/systemd/*.service /lib/systemd/system/
src/systemd/*.timer /lib/systemd/system/
libloc: package-name-doesnt-match-sonames libloc0
man/location-downloader.8
man/location-query.8
#!/usr/bin/make -f
# enable verbose mode
#export DH_VERBOSE=1
# enable all hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --with python3 --with-systemd
override_dh_perl:
dh_perl -d
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment