some cleanup in debian rules

ubuntu/cosmic
Alf Gaida 10 years ago committed by Andrew Lee (李健秋)
parent 62f2c3ca4d
commit 1072e28975

72
debian/control vendored

@ -2,16 +2,19 @@ Source: pcmanfm-qt
Section: x11 Section: x11
Priority: optional Priority: optional
Maintainer: ChangZhuo Chen (陳昌倬) <czchen@gmail.com> Maintainer: ChangZhuo Chen (陳昌倬) <czchen@gmail.com>
Build-Depends: debhelper (>= 9), Uploaders: Alf Gaida <agaida@siduction.org>
cmake (>= 2.8.11), Build-Depends:
libfm-dev (>= 1.2.0), automoc,
libglib2.0-dev, cmake (>= 2.8.11),
libmenu-cache-dev (>= 0.4.0), debhelper (>= 9),
libqt5x11extras5-dev (>= 5.1), libfm-dev (>= 1.2.0),
libx11-dev, libglib2.0-dev,
pkg-config, libmenu-cache-dev (>= 0.5),
qttools5-dev (>= 5.1), libqt5x11extras5-dev (>= 5.3.1),
qttools5-dev-tools (>= 5.1), libx11-dev,
pkg-config,
qttools5-dev (>= 5.3.1),
qttools5-dev-tools (>= 5.3.1),
Standards-Version: 3.9.5 Standards-Version: 3.9.5
Homepage: https://github.com/lxde/pcmanfm-qt Homepage: https://github.com/lxde/pcmanfm-qt
Vcs-Git: git://github.com/lxde/pcmanfm-qt.git Vcs-Git: git://github.com/lxde/pcmanfm-qt.git
@ -19,19 +22,26 @@ Vcs-Browser: https://github.com/lxde/pcmanfm-qt
Package: pcmanfm-qt5 Package: pcmanfm-qt5
Architecture: any Architecture: any
Depends: ${misc:Depends}, Breaks:
${shlibs:Depends}, pcmanfm-qt,
Replaces:
pcmanfm-qt,
Depends:
${misc:Depends},
${shlibs:Depends},
libfm-modules,
Description: lightweight Qt based file manager for X Window Description: lightweight Qt based file manager for X Window
PCMan File Manager Qt (PCManFM-Qt) is an extremly fast, lightweight, yet PCMan File Manager Qt (PCManFM-Qt) is an extremly fast, lightweight, yet
feature-rich file manager with tabbed browsing. It is the default file manager feature-rich file manager with tabbed browsing. It is the default file manager
for the lightweight desktop environment, LXQt. for the lightweight desktop environment, LXQt.
Package: pcmanfm-qt5-dbg Package: pcmanfm-qt5-dbg
Architecture: any
Section: debug Section: debug
Priority: extra Priority: extra
Architecture: any Depends:
Depends: ${misc:Depends}, ${misc:Depends},
pcmanfm-qt5 (= ${binary:Version}), pcmanfm-qt5 (= ${binary:Version}),
Description: Debug symbols for pcmanfm-qt Description: Debug symbols for pcmanfm-qt
PCMan File Manager Qt (PCManFM-Qt) is an extremly fast, lightweight, yet PCMan File Manager Qt (PCManFM-Qt) is an extremly fast, lightweight, yet
feature-rich file manager with tabbed browsing. It is the default file manager feature-rich file manager with tabbed browsing. It is the default file manager
@ -45,8 +55,15 @@ Section: libs
Multi-Arch: same Multi-Arch: same
Architecture: any Architecture: any
Pre-Depends: ${misc:Pre-Depends}, Pre-Depends: ${misc:Pre-Depends},
Depends: ${misc:Depends}, Breaks:
${shlibs:Depends}, libfm-qt5-0.0.0,
libfm-qt0.0.0,
Replaces:
libfm-qt5-0.0.0,
libfm-qt0.0.0,
Depends:
${misc:Depends},
${shlibs:Depends},
Description: Helper library for pcmanfm-qt Description: Helper library for pcmanfm-qt
PCMan File Manager Qt (PCManFM-Qt) is an extremly fast, lightweight, yet PCMan File Manager Qt (PCManFM-Qt) is an extremly fast, lightweight, yet
feature-rich file manager with tabbed browsing. It is the default file manager feature-rich file manager with tabbed browsing. It is the default file manager
@ -57,8 +74,10 @@ Description: Helper library for pcmanfm-qt
Package: libfm-qt5-dev Package: libfm-qt5-dev
Section: libdevel Section: libdevel
Architecture: any Architecture: any
Depends: ${misc:Depends}, Depends:
libfm-qt5-1 (= ${binary:Version}), ${misc:Depends},
${shlibs:Depends},
libfm-qt5-1 (= ${binary:Version}),
Description: Development files for libfm-qt Description: Development files for libfm-qt
PCMan File Manager Qt (PCManFM-Qt) is an extremly fast, lightweight, yet PCMan File Manager Qt (PCManFM-Qt) is an extremly fast, lightweight, yet
feature-rich file manager with tabbed browsing. It is the default file manager feature-rich file manager with tabbed browsing. It is the default file manager
@ -66,3 +85,18 @@ Description: Development files for libfm-qt
. .
This package contains development files for helper library libfm-qt for This package contains development files for helper library libfm-qt for
pcmanfm-qt. pcmanfm-qt.
Package: libfm-qt5-dbg
Architecture: any
Section: debug
Priority: extra
Depends:
${misc:Depends},
${shlibs:Depends},
libfm-qt5-1 (= ${binary:Version}),
Description: Debug symbols for libfm-qt5
PCMan File Manager Qt (PCManFM-Qt) is an extremly fast, lightweight, yet
feature-rich file manager with tabbed browsing. It is the default file manager
for the lightweight desktop environment, LXQt.
.
This package contains debugging symbols for the shared libs.

27
debian/copyright vendored

@ -3,22 +3,23 @@ Upstream-Name: pcmanfm-qt
Source: https://github.com/lxde/pcmanfm-qt Source: https://github.com/lxde/pcmanfm-qt
Files: * Files: *
Copyright: Copyright (c) 2013-2014 LXQt team Copyright: 2013-2014 LXQt team
Copyright (C) 2013 Hong Jen Yee (PCMan) <pcman.tw@gmail.com> 2013 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
Copyright 2012-2013 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua> 2012-2013 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
Copyright (C) 2014 Kuzma Shapran <kuzma.shapran@gmail.com> 2014 Kuzma Shapran <kuzma.shapran@gmail.com>
License: GPL-2+ License: GPL-2.0+
Files: libfm-qt/appchooser* libfm-qt/applaunchcontext.* libfm-qt/appmenuview* libfm-qt/cachedfoldermodel.* libfm-qt/execfiledialog* libfm-qt/filelauncher.* libfm-qt/filemenu* libfm-qt/foldermodel.* libfm-qt/foldermodelitem.cpp libfm-qt/folderview.* libfm-qt/folderview_p.h libfm-qt/icontheme.cpp libfm-qt/libfmqt.cpp libfm-qt/libfmqtglobals.h libfm-qt/proxyfoldermodel.* pcmanfm/launcher.* Files: libfm-qt/appchooser* libfm-qt/applaunchcontext.* libfm-qt/appmenuview* libfm-qt/cachedfoldermodel.* libfm-qt/execfiledialog* libfm-qt/filelauncher.* libfm-qt/filemenu* libfm-qt/foldermodel.* libfm-qt/foldermodelitem.cpp libfm-qt/folderview.* libfm-qt/folderview_p.h libfm-qt/icontheme.cpp libfm-qt/libfmqt.cpp libfm-qt/libfmqtglobal.h libfm-qt/proxyfoldermodel.* pcmanfm-qt/launcher.*
Copyright: Copyright (c) 2013-2014 LXQt team Copyright: 2013-2014 LXQt team
Copyright (C) 2013 Hong Jen Yee (PCMan) <pcman.tw@gmail.com> 2013 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
Copyright 2012-2013 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua> 2012-2013 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
License: LGPL-2.1+ License: LGPL-2.1+
Files: debian/* Files: debian/*
Copyright: Copyright 2014 Wen Liao <wen.cf83@gmail.com> Copyright: 2014 Wen Liao <wen.cf83@gmail.com>
Copyright 2014 ChangZhuo Chen (陳昌倬) <czchen@gmail.com> 2014 ChangZhuo Chen (陳昌倬) <czchen@gmail.com>
License: GPL-2+ 2013-2014 Alf Gaida <agaida@siduction.org>
License: GPL-2.0+
License: LGPL-2.1+ License: LGPL-2.1+
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
@ -34,7 +35,7 @@ License: LGPL-2.1+
On Debian system, the complete text of GNU Lesser General Public License can On Debian system, the complete text of GNU Lesser General Public License can
be found in "/usr/share/common-licenses/LGPL-2.1". be found in "/usr/share/common-licenses/LGPL-2.1".
License: GPL-2+ License: GPL-2.0+
This package is free software; you can redistribute it and/or modify This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or

1
debian/docs vendored

@ -1 +1,2 @@
AUTHORS
README README

11
debian/rules vendored

@ -3,17 +3,17 @@
#DH_VERBOSE = 1 #DH_VERBOSE = 1
export USE_QT5 = 1 export USE_QT5 = 1
TS := $(CURDIR)/pcmanfm/translations/ TS := $(CURDIR)/pcmanfm/translations
TS_BAK := $(CURDIR)/debian/bak/pcmanfm/translations/ TS_BAK := $(CURDIR)/debian/bak/pcmanfm/translations
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%: %:
dh $@ --buildsystem cmake --parallel dh ${@} --buildsystem cmake --parallel
override_dh_auto_configure: override_dh_auto_configure:
mkdir -p $(TS_BAK) mkdir -p $(TS_BAK)
cp $(TS)/*.ts $(TS_BAK) -cp $(TS)/*.ts $(TS_BAK)
dh_auto_configure dh_auto_configure
override_dh_auto_clean: override_dh_auto_clean:
@ -28,4 +28,5 @@ override_dh_install:
dh_install --fail-missing --exclude=pcmanfm-qt.1 dh_install --fail-missing --exclude=pcmanfm-qt.1
override_dh_strip: override_dh_strip:
dh_strip --dbg-package=pcmanfm-qt5-dbg dh_strip -ppcmanfm-qt5 --dbg-package=pcmanfm-qt5-dbg
dh_strip -plibfm-qt5-1 --dbg-package=libfm-qt5-dbg

Loading…
Cancel
Save