Add Debian packaging information

This allows (among others) to build rtl-sdr nightly packages
for a variety of distributions as part of the network:osmocom:nightly
builds.
This commit is contained in:
Harald Welte 2018-06-03 16:18:18 +02:00
parent b9fff5b405
commit 8e17744c1a
10 changed files with 187 additions and 0 deletions

18
debian/changelog vendored Normal file
View File

@ -0,0 +1,18 @@
osmo-fl2k (0.1.0git) unstable; urgency=medium
* Osmocom debian recipes for nightly builds
-- Harald Welte <laforge@gnumonks.org> Sun, 03 Jun 2018 16:13:07 +0200
osmo-fl2k (0.1.0+20180423git9e79bde-2) unstable; urgency=medium
* debian/control: set team as maintainer
* debian/copyright: add some entries (Closes: #896832)
-- Thorsten Alteholz <debian@alteholz.de> Wed, 25 Apr 2018 19:28:07 +0200
osmo-fl2k (0.1.0+20180423git9e79bde-1) unstable; urgency=medium
* Initial release.
-- Thorsten Alteholz <debian@alteholz.de> Tue, 24 Apr 2018 18:28:07 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
11

50
debian/control vendored Normal file
View File

@ -0,0 +1,50 @@
Source: osmo-fl2k
Section: libs
Priority: optional
Maintainer: Debian Mobcom Maintainers <Debian-mobcom-maintainers@lists.alioth.debian.org>
Uploaders: Thorsten Alteholz <debian@alteholz.de>
Build-Depends: debhelper (>=11)
, pkg-config
, cmake
, libusb-1.0-0-dev
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/debian-mobcom-team/osmo-fl2k
Vcs-Git: https://salsa.debian.org/debian-mobcom-team/osmo-fl2k.git
Homepage: https://projects.osmocom.org/projects/osmo-fl2k
Package: osmo-fl2k
Section: net
Architecture: any
Multi-Arch: no
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: use a VGA USB adapter as DAC and SDR transmitter
This software allows one to use USB 3.0 to VGA adapters based on the
Fresco Logic FL2000 chip as general purpose DACs and SDR transmitter
generating a continuous stream of samples by avoiding the HSYNC and
VSYNC blanking intervals.
Package: libosmo-fl2k0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: use a VGA USB adapter as DAC and SDR transmitter - library
This software allows one to use USB 3.0 to VGA adapters based on the
Fresco Logic FL2000 chip as general purpose DACs and SDR transmitter
generating a continuous stream of samples by avoiding the HSYNC and
VSYNC blanking intervals.
.
This package provides the shared library.
Package: libosmo-fl2k-dev
Section: libdevel
Architecture: any
Depends: libosmo-fl2k0 (= ${binary:Version}), ${misc:Depends}
Description: use a VGA USB adapter as DAC and SDR transmitter - development
This software allows one to use USB 3.0 to VGA adapters based on the
Fresco Logic FL2000 chip as general purpose DACs and SDR transmitter
generating a continuous stream of samples by avoiding the HSYNC and
VSYNC blanking intervals.
.
This package provides the development files.

97
debian/copyright vendored Normal file
View File

@ -0,0 +1,97 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: osmo-fl2k
Source: git://git.osmocom.org/
Files: *
Copyright: 2012-2018 Steve Markgraf <steve@steve-m.de>
2009 Bartek Kania <mbk@gnarf.org>
2012-2014 Kyle Keen <keenerd@gmail.com>
2014 Michael Tatarinov <kukabu@gmail.com>
License: GPL-2.0+
Files: src/rds_mod.c include/rds_mod.h
Copyright: 2018 Steve Markgraf <steve@steve-m.de>
2014 Christophe Jacquet, F8FTK
License: GPL-3.0+
Files: src/rds_waveforms.c
Copyright: 2014 Christophe Jacquet.
License: GPL-3.0
Files: src/getopt/*
Copyright: 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001 Free Software Foundation, Inc.
License: LGPL-2.1+
Comment: This file is part of the GNU C Library.
License: LGPL-2.1+
The GNU C Library 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; either
version 2.1 of the License, or (at your option) any later version.
.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA.
.
On Debian systems, the complete text of the GNU Lesser General Public
License Version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
Files: debian/*
Copyright: 2018 Thorsten Alteholz <debian@alteholz.de>
License: GPL-2.0+
License: GPL-2.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General Public License
Version 2 can be found in `/usr/share/common-licenses/GPL-2'.
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General Public License
Version 3 can be found in `/usr/share/common-licenses/GPL-3'.
License: GPL-3.0
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation in version 3 of the License.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General Public License
Version 3 can be found in `/usr/share/common-licenses/GPL-3'.

4
debian/libosmo-fl2k-dev.install vendored Normal file
View File

@ -0,0 +1,4 @@
usr/include/*
usr/lib/*/pkgconfig/libosmo-fl2k.pc
usr/lib/*/libosmo-fl2k.a
usr/lib/*/*.so

1
debian/libosmo-fl2k0.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/*/*.so.*

1
debian/osmo-fl2k.install vendored Normal file
View File

@ -0,0 +1 @@
usr/bin/*

11
debian/rules vendored Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with autoreconf
# Print test results in case of a failure
override_dh_auto_test:
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)

3
debian/watch vendored Normal file
View File

@ -0,0 +1,3 @@
version=4
opts="mode=git, dversionmangle=s/\+ds//" https://git.osmocom.org/osmo-fl2k refs/tags/([\d\.]+) debian uupdate