diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5a2d5c4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libusrp (0.0.1) unstable; urgency=medium + + * Initial release + + -- Pau Espin Pedrol Thu, 26 Apr 2018 17: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..ddb9ece --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: libusrp +Priority: optional +Maintainer: Pau Espin Pedrol +Build-Depends: debhelper (>= 9), autotools-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: libusrp-dev +Section: libdevel +Architecture: any +Depends: libusrp1 (= ${binary:Version}), ${misc:Depends} +Description: USRP1 gnuradio based transceiver - dev files + +Package: libusrp1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: USRP1 gnuradio based transceiver diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fe4be1e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,38 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libusrp +Source: + +Files: * +Copyright: + +License: + + + . + + +# If you want to use GPL v2 or later for the /debian/* files use +# the following clauses, or change it to suit. Delete these two lines +Files: debian/* +Copyright: 2018 root +License: GPL-2+ + 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 + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid picking licenses with terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/debian/libusrp-dev.install b/debian/libusrp-dev.install new file mode 100644 index 0000000..61c9409 --- /dev/null +++ b/debian/libusrp-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/* +usr/share/pkgconfig/* 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..f0e00c5 --- /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_strip: + dh_strip --dbg-package=libosmo-netif-dbg + +override_dh_autoreconf: + echo $(VERSION) > .tarball-version + dh_autoreconf + +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)