[PATCH] libusrp[master]: Add debian directory

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Apr 26 17:41:54 UTC 2018


Add debian directory

Related: OS#3218

Change-Id: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f
---
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/libusrp-dev.install
A debian/libusrp1.install
A debian/rules
A debian/source/format
8 files changed, 101 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libusrp refs/changes/36/7936/2

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 <pespin at sysmocom.de>  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 <pespin at sysmocom.de>
+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: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: <special license>
+ <Put the license of the package here indented by 1 space>
+ <This follows the format of Description: lines in control file>
+ .
+ <Including paragraphs>
+
+# 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 <root at unknown>
+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 <https://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".
+
+# 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)

-- 
To view, visit https://gerrit.osmocom.org/7936
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f
Gerrit-PatchSet: 2
Gerrit-Project: libusrp
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list