debian/control, debian/rules, debian/libnutscan1.install,

debian/libnutscan-dev.install: distribute nut-scanner. (Closes: #921379)

Signed-off-by: Arnaud Quette <ArnaudQuette@Eaton.com>
This commit is contained in:
Arnaud Quette 2019-02-26 13:43:33 +01:00
parent 740190eb6a
commit 08288b6a7f
6 changed files with 46 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,9 +1,14 @@
nut (2.7.4-9) UNRELEASED; urgency=medium
[ Ondřej Nový ]
* d/changelog: Remove trailing whitespaces
* d/control: Remove XS-Testsuite field, not needed anymore
-- Ondřej Nový <onovy@debian.org> Mon, 01 Oct 2018 09:45:36 +0200
[ Arnaud Quette ]
* debian/control, debian/rules, debian/libnutscan1.install,
debian/libnutscan-dev.install: distribute nut-scanner. (Closes: #921379)
-- Arnaud Quette <aquette@debian.org> Tue, 26 Feb 2019 13:34:07 +0100
nut (2.7.4-8) unstable; urgency=medium

28
debian/control vendored
View File

@ -233,6 +233,34 @@ Description: network UPS tools - development files
.
This package provides the development files for the new client library.
Package: libnutscan1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same
Description: network UPS tools - scanner library
Network UPS Tools (NUT) is a client/server monitoring system that
allows computers to share uninterruptible power supply (UPS) and
power distribution unit (PDU) hardware. Clients access the hardware
through the server, and are notified whenever the power status
changes.
.
This package provides the shared client library.
Package: libnutscan-dev
Section: libdevel
Architecture: any
Depends: libnutscan1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: network UPS tools - development files
Network UPS Tools (NUT) is a client/server monitoring system that
allows computers to share uninterruptible power supply (UPS) and
power distribution unit (PDU) hardware. Clients access the hardware
through the server, and are notified whenever the power status
changes.
.
This package provides the development files.
Package: python-nut
Section: python
Architecture: all

6
debian/libnutscan-dev.install vendored Normal file
View File

@ -0,0 +1,6 @@
usr/lib/*/libnutscan.so
usr/lib/*/pkgconfig/libnutscan.pc
usr/include/nut-scan.h
usr/include/nutscan-ip.h
usr/include/nutscan-device.h
usr/include/nutscan-init.h

1
debian/libnutscan1.install vendored Normal file
View File

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

View File

@ -57,3 +57,4 @@ debian/tmp/sbin/upsd
debian/tmp/sbin/upsdrvctl
debian/tmp/usr/share/nut/cmdvartab
debian/tmp/usr/share/nut/driver.list
debian/tmp/bin/nut-scanner

4
debian/rules vendored
View File

@ -83,6 +83,10 @@ common-install-arch::
ln -s /lib/$(DEB_HOST_MULTIARCH)/libnutclient.so.0 \
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libnutclient.so
rm -f $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libnutscan.so
ln -s /lib/$(DEB_HOST_MULTIARCH)/libnutscan.so.1 \
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libnutscan.so
# Move daemons and install wrappers
mv $(CURDIR)/debian/tmp/sbin/upsmon $(CURDIR)/debian/tmp/lib/nut/upsmon
mv $(CURDIR)/debian/tmp/sbin/upsd $(CURDIR)/debian/tmp/lib/nut/upsd