[atlas-cpp] 05/05: Split tools package from dev package

Olek Wojnar olek-guest at moszumanska.debian.org
Mon Sep 28 05:47:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

olek-guest pushed a commit to branch master
in repository atlas-cpp.

commit bef61065b37cac0b322a3bc60f8720f0564a13bf
Author: Olek Wojnar <olek-dev at wojnar.org>
Date:   Sun Sep 27 04:15:20 2015 -0500

    Split tools package from dev package
    
    Allow proper Multi-Arch handling
---
 debian/changelog                                      |  1 +
 debian/control                                        | 19 +++++++++++++++++++
 debian/libatlas-cpp-0.6-dev.install                   |  1 -
 debian/libatlas-cpp-0.6-tools.install                 |  1 +
 debian/libatlas-cpp-0.6-tools.lintian-overrides       |  4 ++++
 ...6-dev.manpages => libatlas-cpp-0.6-tools.manpages} |  0
 6 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 891a3a4..7c37236 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ atlas-cpp (0.6.3-1) unstable; urgency=medium
   * d/watch: update file extensions
   * d/control: tweaks and update standards to 3.9.6 (no changes)
   * Bump SO-name
+  * Split tools package from dev package for Multi-Arch sanity
 
  -- Olek Wojnar <olek-dev at wojnar.org>  Sun, 27 Sep 2015 01:19:00 -0500
 
diff --git a/debian/control b/debian/control
index 377dd3a..4ec5bfa 100644
--- a/debian/control
+++ b/debian/control
@@ -48,11 +48,30 @@ Description: World Forge wire protocol library - documentation
  .
  This is the API documentation of the Atlas-C++ toolkit.
 
+Package: libatlas-cpp-0.6-tools
+Architecture: any
+Multi-Arch: foreign
+Section: games
+Pre-Depends: dpkg (>= 1.15.6~)
+Depends: libatlas-cpp-0.6-2 (= ${binary:Version}),
+         pkg-config,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Suggests: libatlas-cpp-0.6-2-dbg (= ${binary:Version}),
+          libatlas-cpp-0.6-dev (= ${binary:Version}),
+          libatlas-cpp-doc (>= ${source:Version})
+Description: World Forge wire protocol library - tools
+ This library implements the Atlas protocol, for use in client-server
+ game applications.  It can be used in either clients or servers.
+ .
+ This contains the tool that converts Atlas data files between formats.
+
 Package: libatlas-cpp-0.6-dev
 Architecture: any
 Multi-Arch: same
 Section: libdevel
 Depends: libatlas-cpp-0.6-2 (= ${binary:Version}),
+         libatlas-cpp-0.6-tools (= ${binary:Version}),
          pkg-config,
          ${misc:Depends},
          ${shlibs:Depends}
diff --git a/debian/libatlas-cpp-0.6-dev.install b/debian/libatlas-cpp-0.6-dev.install
index ef4fbd0..d4382a7 100644
--- a/debian/libatlas-cpp-0.6-dev.install
+++ b/debian/libatlas-cpp-0.6-dev.install
@@ -1,4 +1,3 @@
-usr/bin
 usr/include/Atlas-C++-0.6/Atlas
 usr/lib/*/lib*-0.6.so
 usr/lib/*/pkgconfig
diff --git a/debian/libatlas-cpp-0.6-tools.install b/debian/libatlas-cpp-0.6-tools.install
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/libatlas-cpp-0.6-tools.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/libatlas-cpp-0.6-tools.lintian-overrides b/debian/libatlas-cpp-0.6-tools.lintian-overrides
new file mode 100644
index 0000000..22ffc45
--- /dev/null
+++ b/debian/libatlas-cpp-0.6-tools.lintian-overrides
@@ -0,0 +1,4 @@
+# The Debian Games team is split about whether or not to implement packages
+# in this way. Fedora and most upstreams do not install into /usr/games. 
+# Not using /usr/games seems to be the direction for distro standardization.
+libatlas-cpp-0.6-tools: package-section-games-but-contains-no-game
diff --git a/debian/libatlas-cpp-0.6-dev.manpages b/debian/libatlas-cpp-0.6-tools.manpages
similarity index 100%
rename from debian/libatlas-cpp-0.6-dev.manpages
rename to debian/libatlas-cpp-0.6-tools.manpages

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/atlas-cpp.git



More information about the Pkg-games-commits mailing list