Procházet zdrojové kódy

separate tools from dev, bump standards to current version and extend description

jrcoding před 5 roky
rodič
revize
077118e6ff

+ 35 - 6
debian/control-template

@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 9),
  git,
  graphviz,
  python (>= 2.7),
-Standards-Version: 4.1.2
+Standards-Version: 4.4.1
 Section: libs
 Homepage: https://open62541.org/
 Vcs-Git: https://github.com/open62541/open62541.git
@@ -16,13 +16,42 @@ Package: libopen62541-<soname>-dev
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libopen62541-<soname> (= ${binary:Version}), ${misc:Depends}, python
-Description: Development header files for open62541
- open62541 is an open source C (C99) implementation of the OPC UA standard
+Depends: libopen62541-<soname> (= ${binary:Version}), ${misc:Depends}
+Description: Open source implementation of OPC UA - development files
+ open62541 (http://open62541.org) is an open source and free implementation
+ of OPC UA (OPC Unified Architecture) written in the common subset of the
+ C99 and C++98 languages.
+ The library is usable with all major compilers and provides the necessary
+ tools to implement dedicated OPC UA clients and servers, or to integrate
+ OPC UA-based communication into existing applications.
+ .
+ This package provides the open62541 header and development files
+
+Package: libopen62541-<soname>-tools
+Section: libdevel
+Architecture: all
+Depends: ${misc:Depends}, python
+Recommends: libopen62541-<soname>-dev
+Description: Open source implementation of OPC UA - tools
+ open62541 (http://open62541.org) is an open source and free implementation
+ of OPC UA (OPC Unified Architecture) written in the common subset of the
+ C99 and C++98 languages.
+ The library is usable with all major compilers and provides the necessary
+ tools to implement dedicated OPC UA clients and servers, or to integrate
+ OPC UA-based communication into existing applications.
+ .
+ This package provides some open62541 tools, e.g. the nodeset compiler
 
 Package: libopen62541-<soname>
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Open source implementation of OPC UA (OPC Unified Architecture) aka IEC 62541
- open62541 is an open source C (C99) implementation of the OPC UA standard
+Description: Open source implementation of OPC UA - shared library
+ open62541 (http://open62541.org) is an open source and free implementation
+ of OPC UA (OPC Unified Architecture) written in the common subset of the
+ C99 and C++98 languages.
+ The library is usable with all major compilers and provides the necessary
+ tools to implement dedicated OPC UA clients and servers, or to integrate
+ OPC UA-based communication into existing applications.
+ .
+ This package provides the open62541 shared library

+ 0 - 1
debian/libopen62541-dev.install-template

@@ -2,4 +2,3 @@ usr/include
 usr/lib/*/*.so
 usr/lib/*/cmake/open62541/*
 usr/lib/*/pkgconfig/open62541.pc
-usr/share/open62541/*

+ 1 - 0
debian/libopen62541-tools.install-template

@@ -0,0 +1 @@
+usr/share/open62541/tools

+ 3 - 0
tools/prepare_packaging.py

@@ -81,6 +81,9 @@ install_file_template = os.path.join(debian_path, "libopen62541-dev.install-temp
 install_file = os.path.join(debian_path, "libopen62541-{}-dev.install".format(version_major))
 os.rename(install_file_template, install_file)
 
+install_file_template = os.path.join(debian_path, "libopen62541-tools.install-template")
+install_file = os.path.join(debian_path, "libopen62541-{}-tools.install".format(version_major))
+os.rename(install_file_template, install_file)
 
 # Create rule file and replace template variables
 rule_file_template = os.path.join(debian_path, "rules-template")