aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-06-03 16:18:18 +0200
committerHarald Welte <laforge@gnumonks.org>2018-06-03 16:25:32 +0200
commit8e17744c1a375d72a52cf9f9e209667d9ea61ebc (patch)
treee8e978bf925eeee0d6d1cbe3ffb01e4d10f7845c
parentb9fff5b405751881f36a75b0e05b9355df327e2f (diff)
downloadosmo-fl2k-8e17744c1a375d72a52cf9f9e209667d9ea61ebc.tar.gz
osmo-fl2k-8e17744c1a375d72a52cf9f9e209667d9ea61ebc.tar.bz2
osmo-fl2k-8e17744c1a375d72a52cf9f9e209667d9ea61ebc.zip
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.
-rw-r--r--debian/changelog18
-rw-r--r--debian/compat1
-rw-r--r--debian/control50
-rw-r--r--debian/copyright97
-rw-r--r--debian/libosmo-fl2k-dev.install4
-rw-r--r--debian/libosmo-fl2k0.install1
-rw-r--r--debian/osmo-fl2k.install1
-rwxr-xr-xdebian/rules11
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
10 files changed, 187 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..40e26ef
--- /dev/null
+++ b/debian/changelog
@@ -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
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..749c061
--- /dev/null
+++ b/debian/control
@@ -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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a1949b6
--- /dev/null
+++ b/debian/copyright
@@ -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'.
diff --git a/debian/libosmo-fl2k-dev.install b/debian/libosmo-fl2k-dev.install
new file mode 100644
index 0000000..e1bb00c
--- /dev/null
+++ b/debian/libosmo-fl2k-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/pkgconfig/libosmo-fl2k.pc
+usr/lib/*/libosmo-fl2k.a
+usr/lib/*/*.so
diff --git a/debian/libosmo-fl2k0.install b/debian/libosmo-fl2k0.install
new file mode 100644
index 0000000..3de3b10
--- /dev/null
+++ b/debian/libosmo-fl2k0.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff --git a/debian/osmo-fl2k.install b/debian/osmo-fl2k.install
new file mode 100644
index 0000000..1df36c6
--- /dev/null
+++ b/debian/osmo-fl2k.install
@@ -0,0 +1 @@
+usr/bin/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..74833df
--- /dev/null
+++ b/debian/rules
@@ -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)
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f48ad27
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts="mode=git, dversionmangle=s/\+ds//" https://git.osmocom.org/osmo-fl2k refs/tags/([\d\.]+) debian uupdate
+