Commit eac43475ee1b8f29113f7bc71c36217a5310dba9

Authored by Stéphane Raimbault
1 parent c81ab0f3

Updated RPM and Debian specs but not tested yet

debian/changelog
  1 +libmodbus (2.9.2-1) maverick; urgency=low
  2 +
  3 + * New upstream release
  4 +
  5 + -- Stéphane Raimbault <stephane.raimbault@gmail.com> Mon, Oct 4 2010 13:21:52 +0200
  6 +
1 7 libmodbus (2.0.3-1) intrepid; urgency=low
2 8  
3 9 * New upstream release
... ...
debian/control
... ... @@ -14,10 +14,9 @@ Section: libs
14 14 Architecture: any
15 15 Depends: ${shlibs:Depends},
16 16 ${misc:Depends}
17   -Description: A Modbus library in C, which supports RTU communication over a serial line or a TCP link.
18   - A Modbus library for Linux (and OSX) wrote in C and which supports
19   - RTU communication over a serial line or a TCP link. Clean and fast!
20   - Supports controling an RTU and being an RTU.
  17 +Description: A Modbus library written in C, to send/receive data with a
  18 + device which respects the Modbus protocol. This library can use a
  19 + serial port or an Ethernet connection.
21 20 .
22 21 This package contains the shared library.
23 22  
... ... @@ -27,10 +26,9 @@ Architecture: any
27 26 Depends: libmodbus (= ${binary:Version}),
28 27 ${shlibs:Depends},
29 28 ${misc:Depends}
30   -Description: A Modbus library in C, which supports RTU communication over a serial line or a TCP link.
31   - A Modbus library for Linux (and OSX) wrote in C and which supports
32   - RTU communication over a serial line or a TCP link. Clean and fast!
33   - Supports controling an RTU and being an RTU.
  29 +Description: A Modbus library written in C, to send/receive data with a
  30 + device which respects the Modbus protocol. This library can use a
  31 + serial port or an Ethernet connection.
34 32 .
35 33 This package contains the development files.
36 34  
... ...
debian/copyright
... ... @@ -3,13 +3,13 @@ This package was debianized by Stéphane Raimbault
3 3  
4 4 It was downloaded from <http://launchpad.net/libmodbus>
5 5  
6   -Upstream Author(s):
  6 +Upstream Author(s):
7 7  
8 8 Stéphane Raimbault <stephane.raimbault@gmail.com>
9 9  
10   -Copyright:
  10 +Copyright:
11 11  
12   - <Copyright (C) 2001-2008 Stéphane Raimbault>
  12 + <Copyright (C) 2001-2010 Stéphane Raimbault>
13 13  
14 14 License:
15 15  
... ...
libmodbus.spec
1   -Summary: A Modbus library in C, which supports RTU communication over a serial line or a TCP link.
  1 +Summary: A Modbus library written in C
2 2 Name: libmodbus
3   -Version: 2.0.3
  3 +Version: 2.9.2
4 4 Release: 1
5 5 License: LGPL V3+
6 6 Packager: Stéphane Raimbault
7   -URL: https://launchpad.net/libmodbus/
  7 +URL: http://www.libmodbus.org
8 8 Group: Applications/System
9   -Provides: libmodbus=2.0.3
  9 +Provides: libmodbus=2.9.2
10 10 Requires: ,/bin/sh
11 11  
12   -Source0: libmodbus-2.0.3.tar.bz2
  12 +Source0: libmodbus-2.9.2.tar.bz2
13 13  
14 14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15 15 BuildRequires: autoconf, automake
16 16  
17 17 %description
18   -A Modbus library for Linux (and OSX) wrote in C and which supports
19   -RTU communication over a serial line or a TCP link. Clean and fast!
  18 +The library is written in C and designed to run on Linux, Mac OS X, FreeBSD and
  19 +QNX and Windows.
20 20  
21 21 %prep
22 22 %setup -q
... ... @@ -47,20 +47,20 @@ rm -rf $RPM_BUILD_ROOT
47 47 %attr(0755,root,root) %dir %{_libdir}/pkgconfig
48 48 %attr(0755,root,root) %dir %{_includedir}
49 49 %attr(0755,root,root) %dir %{_includedir}/modbus/
50   -%dir %{_libdir}/libmodbus.so.2
  50 +%dir %{_libdir}/libmodbus.so.4
51 51 %dir %{_libdir}/libmodbus.so
52   -%attr(0755,root,root) %{_libdir}/libmodbus.so.2.0.3
  52 +%attr(0755,root,root) %{_libdir}/libmodbus.so.4.0.0
53 53 %attr(0755,root,root) %{_libdir}/libmodbus.la
54 54 %attr(0644,root,root) %{_libdir}/pkgconfig/libmodbus.pc
55 55 %attr(0644,root,root) %{_includedir}/modbus/modbus.h
56   -%doc AUTHORS ChangeLog INSTALL NEWS COPYING* README
  56 +%attr(0644,root,root) %{_includedir}/modbus/modbus-rtu.h
  57 +%attr(0644,root,root) %{_includedir}/modbus/modbus-tcp.h
  58 +%attr(0644,root,root) %{_includedir}/modbus/modbus-version.h
  59 +%doc AUTHORS ChangeLog INSTALL NEWS COPYING* README.rst
57 60  
58 61  
59 62 %changelog
60   -* Sun Mar 22 2009 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.0.3-1
61   -- new upstream release
62   -
63   -* Sun Aug 10 2008 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.0.2-1
  63 +* Mon Oct 5 2010 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.9.2-1
64 64 - new upstream release
65 65  
66 66 * Fri Jul 2 2008 Stéphane Raimbault <stephane.raimbault@gmail.com> - 2.0.1-1
... ...