ADD: Files for debian package creation

This commit is contained in:
Alexander Koblov 2010-05-30 10:47:52 +00:00
commit e30f449a11
7 changed files with 142 additions and 0 deletions

5
install/linux/deb/changelog Executable file
View file

@ -0,0 +1,5 @@
doublecmd (0.4.5.1-1) unstable; urgency=low
* Initial release (Closes: #2931241)
-- Alexander Koblov <Alexx2000@mail.ru> Thu, 30 May 2010 21:04:07 -0500

1
install/linux/deb/compat Executable file
View file

@ -0,0 +1 @@
5

19
install/linux/deb/control Executable file
View file

@ -0,0 +1,19 @@
Source: doublecmd
Section: contrib/misc
Priority: extra
Maintainer: Alexander Koblov <Alexx2000@mail.ru>
Build-Depends: debhelper (>= 5),
fpc (>= 2.4.0),
lazarus (>= 0.9.29)
Standards-Version: 3.8.4
Homepage: http://doublecmd.sourceforge.net/
Package: doublecmd
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Suggests: www-browser
Description: Double Commander is a cross platform open source file
manager with two panels side by side. It is inspired by Total
Commander and features some new ideas.

27
install/linux/deb/copyright Executable file
View file

@ -0,0 +1,27 @@
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Name: Double Commander
Source: http://doublecmd.sourceforge.net/
Maintainer: Alexander Koblov <Alexx2000@mail.ru>
Copyright: © 2006-2010 Alexander Koblov <Alexx2000@mail.ru>
License: GPL-2+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.

View file

@ -0,0 +1 @@
debian/lintian/doublecmd /usr/share/lintian/overrides/

View file

@ -0,0 +1,6 @@
doublecmd: dir-or-file-in-opt
doublecmd: binary-without-manpage
doublecmd: shlib-with-non-pic-code
doublecmd: shared-lib-without-dependency-information
doublecmd: extra-license-file
doublecmd: missing-dep-for-interpreter

83
install/linux/deb/rules Executable file
View file

@ -0,0 +1,83 @@
#!/usr/bin/make -f
# -*- makefile -*-
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
configure: configure-stamp
configure-stamp:
dh_testdir
cd language ;\
if [ -f doublecmd.pb.po ] ; then mv doublecmd.pb.po doublecmd.pt_BR.po; fi ;\
if [ -f doublecmd.po ] ; then mv doublecmd.po doublecmd.en.po; fi ;\
if [ -f doublecmd.zh.po ] ; then mv doublecmd.zh.po doublecmd.zh_TW.po; fi
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
./_make.sh all
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
./_clean.sh
cd language ;\
if [ -f doublecmd.pt_BR.po ] ; then mv doublecmd.pt_BR.po doublecmd.pb.po; fi ;\
if [ -f doublecmd.en.po ] ; then mv doublecmd.en.po doublecmd.po; fi ;\
if [ -f doublecmd.zh_TW.po ] ; then mv doublecmd.zh_TW.po doublecmd.zh.po; fi
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs -i
dh_installdocs -i
dh_install -i
dh_compress -i --exclude=.pdf
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs -a -pdoublecmd
dh_installdocs -a -pdoublecmd
install/linux/install.sh --install-prefix=$(CURDIR)/debian/doublecmd
dh_install -a
dh_strip
dh_compress -a --exclude=.pdf
dh_fixperms -a
find $(CURDIR)/debian/doublecmd/usr/share/ -type f | xargs chmod a-x
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure