aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-04-26 19:26:58 +0200
committerHarald Welte <laforge@gnumonks.org>2018-04-28 11:07:41 +0200
commit52f0929e625e0f1fadd9572a40d5311190690f58 (patch)
tree3a4dd5f86afb52d0acbba675200acd626420d7af
parent85538b98d001e2c56242534a4b16ab1461cc90d7 (diff)
Add debian directory3.4.2
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control50
-rw-r--r--debian/copyright41
-rw-r--r--debian/libusrp-dev.install4
-rw-r--r--debian/libusrp-doc.install1
-rw-r--r--debian/libusrp-firmware.install1
-rw-r--r--debian/libusrp-utils.install2
-rw-r--r--debian/libusrp1.install1
-rwxr-xr-xdebian/rules31
-rw-r--r--debian/source/format1
11 files changed, 138 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1ce0ac4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libusrp (3.4.2) unstable; urgency=medium
+
+ * Initial release
+
+ -- Harald Welte <laforge@gnumonks.org> Sat, 28 Apr 2018 10:06:51 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7982c27
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,50 @@
+Source: libusrp
+Priority: optional
+Maintainer: Pau Espin Pedrol <pespin@sysmocom.de>
+Build-Depends: debhelper (>=9),
+ dh-autoreconf,
+ autotools-dev,
+ autoconf,
+ automake,
+ doxygen,
+ libtool,
+ pkg-config,
+ libusb-1.0-0-dev,
+ libboost-all-dev
+Standards-Version: 3.9.8
+Section: libs
+Homepage: https://osmocom.org/projects/osmotrx/
+Vcs-Git: git://git.osmocom.org/libusrp
+Vcs-Browser: https://git.osmocom.org/libusrp
+
+Package: libusrp1
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: gnuradio based driver library for the USRP1 SDR
+ Gnuradio removed libusrp as it switched to UHD support, including USRP1
+ devices. However, USRP1 on UHD doesn't support timestamps, so this library
+ remains needed for applications that use timestamps such as osmo-trx. To find
+ out how this library was forked from gnuradio, check libusrp.git commit
+ description ec6adccbbdda1a4614089aaf52f9e1bab75494e7.
+
+Package: libusrp-dev
+Section: libdevel
+Architecture: any
+Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}
+Description: gnuradio based driver library for the USRP1 SDR - dev files
+
+Package: libusrp-firmware
+Architecture: any
+Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}
+Description: gnuradio based driver library for the USRP1 SDR - firmware files
+
+Package: libusrp-utils
+Architecture: any
+Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}
+Description: gnuradio based driver library for the USRP1 SDR - several tools
+
+Package: libusrp-doc
+Section: doc
+Architecture: all
+Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}, libjs-jquery
+Description: Documentation for gnuradio based driver library for the USRP1 SDR
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..92b1cd8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libusrp
+Source: git://git.osmocom.org/libusrp
+
+Files: *
+Copyright: 2003-2010 Free Software Foundation, Inc.
+License: GPL-3.0+
+ This package 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 package 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 <https://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".
+
+Files: debian/*
+Copyright: 2018 by sysmocom s.f.m.c. GmbH <info@sysmocom.de>
+License: GPL-3.0+
+ This package 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 package 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 <https://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/libusrp-dev.install b/debian/libusrp-dev.install
new file mode 100644
index 0000000..2f5a97b
--- /dev/null
+++ b/debian/libusrp-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/lib*.la
+usr/lib/*/pkgconfig/*
diff --git a/debian/libusrp-doc.install b/debian/libusrp-doc.install
new file mode 100644
index 0000000..d9d4f6f
--- /dev/null
+++ b/debian/libusrp-doc.install
@@ -0,0 +1 @@
+usr/share/doc/*
diff --git a/debian/libusrp-firmware.install b/debian/libusrp-firmware.install
new file mode 100644
index 0000000..741c2eb
--- /dev/null
+++ b/debian/libusrp-firmware.install
@@ -0,0 +1 @@
+usr/share/usrp/*/*.rbf
diff --git a/debian/libusrp-utils.install b/debian/libusrp-utils.install
new file mode 100644
index 0000000..19487bb
--- /dev/null
+++ b/debian/libusrp-utils.install
@@ -0,0 +1,2 @@
+usr/bin/usrper
+usr/bin/usrp_cal_dc_offset
diff --git a/debian/libusrp1.install b/debian/libusrp1.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libusrp1.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..04669b3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
+DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
+VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+#export DH_VERBOSE=1
+
+
+%:
+ dh $@ --with autoreconf --fail-missing
+
+override_dh_autoreconf:
+ echo $(VERSION) > .tarball-version
+ dh_autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-doxygen
+
+override_dh_install:
+ sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
+ dh_install
+
+override_dh_clean:
+ dh_clean
+ rm -f tests/package.m4 tests/testsuite .version .tarball-version
+
+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)