added debian packaging files

This commit is contained in:
Robert Johansson 2012-06-18 21:04:59 +09:00
parent d8819cb21f
commit 9e637e7752
15 changed files with 141 additions and 0 deletions

12
build-deb.sh Normal file
View File

@ -0,0 +1,12 @@
# ------------------------------------------------------------------------------
# Copyright (C) 2012, Robert Johansson <rob@raditex.nu>, Raditex Control AB
# All rights reserved.
#
# rSCADA
# http://www.rSCADA.se
# info@raditex.nu
#
# ------------------------------------------------------------------------------
debuild -i -us -uc -b
#sudo pbuilder build $(NAME)_$(VERSION)-1.dsc

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libmbus (0.8.0) precise; urgency=low
* New official release. Includes support for multi-telegram communication.
-- Robert Johansson <rob@raditex.nu> Mon, 18 Jun 2012 20:37:57 +0900

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

22
debian/control vendored Normal file
View File

@ -0,0 +1,22 @@
Source: libmbus
Priority: extra
Maintainer: Robert Johansson <rob@raditex.nu>
Build-Depends: debhelper (>= 7.0.50~), autotools-dev, autoconf
Standards-Version: 3.8.4
Section: libs
Homepage: http://www.rscada.se/libmbus
Package: libmbus-dev
Section: libdevel
Architecture: any
Depends: libmbus1 (= ${binary:Version}), libc6
Description: FreeSCADA M-Bus Library Development files.
A free and open-source library for M-Bus (Meter Bus) from the rSCADA project,
including development files.
Package: libmbus1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libc6
Description: FreeSCADA M-Bus Library.
A free and open-source library for M-Bus (Meter Bus) from the rSCADA project.

24
debian/copyright vendored Normal file
View File

@ -0,0 +1,24 @@
Copyright (C) 2010-2012, Raditex AB
Robert Johansson <rob@raditex.nu>
All rights reserved.
rSCADA
http://www.rSCADA.se
info@rscada.se
The libmbus library is a component of rSCADA that is published as open source, and it is free for anyone to use as long as due credit it given to rSCADA and Raditex Control in derivative work based on the libmbus library.
LICENSE (the BSD lisence):
Copyright (c) 2010-2012, Raditex Control AB
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the Raditex Control AB nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

49
debian/debhelper.log vendored Normal file
View File

@ -0,0 +1,49 @@
dh_auto_configure
dh_auto_build
dh_auto_test
dh_prep
dh_installdirs
dh_auto_install
dh_install
dh_installdocs
dh_installchangelogs
dh_installexamples
dh_installman
dh_installcatalogs
dh_installcron
dh_installdebconf
dh_installemacsen
dh_installifupdown
dh_installinfo
dh_pysupport
dh_installinit
dh_installmenu
dh_installmime
dh_installmodules
dh_installlogcheck
dh_installlogrotate
dh_installpam
dh_installppp
dh_installudev
dh_installwm
dh_installxfonts
dh_installgsettings
dh_bugfiles
dh_ucf
dh_lintian
dh_gconf
dh_icons
dh_perl
dh_usrlocal
dh_link
dh_compress
dh_fixperms
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dh_builddeb
dh_builddeb

2
debian/files vendored Normal file
View File

@ -0,0 +1,2 @@
libmbus-dev_0.8.0_amd64.deb libdevel extra
libmbus1_0.8.0_amd64.deb libs extra

2
debian/libmbus-dev.dirs vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib
usr/include

4
debian/libmbus-dev.install vendored Normal file
View File

@ -0,0 +1,4 @@
usr/include/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/*.la

1
debian/libmbus-dev.substvars vendored Normal file
View File

@ -0,0 +1 @@
misc:Depends=

1
debian/libmbus1.dirs vendored Normal file
View File

@ -0,0 +1 @@
usr/lib

2
debian/libmbus1.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib/lib*.so.*
usr/bin/*

2
debian/libmbus1.substvars vendored Normal file
View File

@ -0,0 +1,2 @@
shlibs:Depends=libc6 (>= 2.4), libmbus1
misc:Depends=

12
debian/rules vendored Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
#override_dh_auto_configure:
# dh_auto_configure -- --prefix=/usr/local/freescada
#override_dh_usrlocal:
# echo "dh_usrlocal does nothing"

2
debian/substvars vendored Normal file
View File

@ -0,0 +1,2 @@
shlibs:Depends=libc6 (>= 2.4), libmbus-dev
misc:Depends=