diff --git a/build-deb.sh b/build-deb.sh new file mode 100644 index 0000000..df495c7 --- /dev/null +++ b/build-deb.sh @@ -0,0 +1,12 @@ +# ------------------------------------------------------------------------------ +# Copyright (C) 2012, Robert Johansson , 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 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5dce908 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libmbus (0.8.0) precise; urgency=low + + * New official release. Includes support for multi-telegram communication. + + -- Robert Johansson Mon, 18 Jun 2012 20:37:57 +0900 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d5b94ec --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: libmbus +Priority: extra +Maintainer: Robert Johansson +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a3a3d96 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,24 @@ +Copyright (C) 2010-2012, Raditex AB +Robert Johansson +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. + + diff --git a/debian/debhelper.log b/debian/debhelper.log new file mode 100644 index 0000000..2a9d893 --- /dev/null +++ b/debian/debhelper.log @@ -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 diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..fe9e249 --- /dev/null +++ b/debian/files @@ -0,0 +1,2 @@ +libmbus-dev_0.8.0_amd64.deb libdevel extra +libmbus1_0.8.0_amd64.deb libs extra diff --git a/debian/libmbus-dev.dirs b/debian/libmbus-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libmbus-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libmbus-dev.install b/debian/libmbus-dev.install new file mode 100644 index 0000000..f882277 --- /dev/null +++ b/debian/libmbus-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/*.la diff --git a/debian/libmbus-dev.substvars b/debian/libmbus-dev.substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/debian/libmbus-dev.substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/debian/libmbus1.dirs b/debian/libmbus1.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libmbus1.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libmbus1.install b/debian/libmbus1.install new file mode 100644 index 0000000..d370c2b --- /dev/null +++ b/debian/libmbus1.install @@ -0,0 +1,2 @@ +usr/lib/lib*.so.* +usr/bin/* diff --git a/debian/libmbus1.substvars b/debian/libmbus1.substvars new file mode 100644 index 0000000..3958158 --- /dev/null +++ b/debian/libmbus1.substvars @@ -0,0 +1,2 @@ +shlibs:Depends=libc6 (>= 2.4), libmbus1 +misc:Depends= diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..52100f9 --- /dev/null +++ b/debian/rules @@ -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" diff --git a/debian/substvars b/debian/substvars new file mode 100644 index 0000000..e9ce15d --- /dev/null +++ b/debian/substvars @@ -0,0 +1,2 @@ +shlibs:Depends=libc6 (>= 2.4), libmbus-dev +misc:Depends=