Adding package lxpanel-data with arch-independent files.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Thu, 21 Aug 2014 17:51:40 +0000 (20:51 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Fri, 22 Aug 2014 10:50:40 +0000 (13:50 +0300)
The /usr/share/* has over 2MB so following Debian Policy
it should be in separated package.

debian/control
debian/lxpanel-data.install [new file with mode: 0644]
debian/lxpanel.install
debian/rules

index 1a7c7fe..fec99d2 100644 (file)
@@ -17,7 +17,8 @@ Vcs-Git: git://git.lxde.org/git/debian/lxpanel.git
 
 Package: lxpanel
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, lxmenu-data
+Depends: ${misc:Depends}, ${shlibs:Depends}, lxmenu-data,
+ lxpanel-data (= ${source:Version})
 Recommends: xkb-data
 Suggests: lxsession | menu, iceweasel | www-browser
 Description: LXDE panel
@@ -52,3 +53,14 @@ Description: LXDE panel (debug)
  (LXDE).
  .
  This package contains the debugging symbols.
+
+Package: lxpanel-data
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: lxpanel (<< 0.7.0)
+Replaces: lxpanel (<< 0.7.0)
+Description: LXDE panel (data files)
+ LXPanel is a GUI application for the Lightweight X11 Desktop Environment
+ (LXDE).
+ .
+ This package contains the data required for panel.
diff --git a/debian/lxpanel-data.install b/debian/lxpanel-data.install
new file mode 100644 (file)
index 0000000..d4309fc
--- /dev/null
@@ -0,0 +1,2 @@
+usr/share/lxpanel
+usr/share/locale
index 062de28..702f7f3 100644 (file)
@@ -1 +1,6 @@
-debian/desktop/*       /usr/share/applications
+debian/desktop/*       usr/share/applications
+etc/xdg/lxpanel
+usr/bin
+usr/lib
+usr/include
+usr/share/man
index cc49673..94894d0 100755 (executable)
@@ -18,9 +18,6 @@ else
        dh_auto_configure -- --enable-man --with-plugins=all,-netstat --disable-silent-rules
 endif
 
-override_dh_auto_install:
-       dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxpanel
-
 override_dh_builddeb:
        dh_builddeb -- -Zxz -z9