From 17cd49e15dda546a8c2fc18dea89a8a1e7e540af Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Fri, 7 Sep 2012 15:28:27 +0300 Subject: Debian packaging directory --- debian/changelog | 48 ++++++++++++++++++++++ debian/compat | 1 + debian/control | 15 +++++++ debian/copyright | 26 ++++++++++++ debian/dirs | 1 + debian/docs | 5 +++ debian/geresh.doc-base | 9 +++++ debian/menu | 2 + debian/rules | 108 +++++++++++++++++++++++++++++++++++++++++++++++++ debian/watch | 2 + 10 files changed, 217 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/docs create mode 100644 debian/geresh.doc-base create mode 100644 debian/menu create mode 100755 debian/rules create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..54a5ce1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,48 @@ +geresh (0.6.3-7) unstable; urgency=low + + * debian/control + - Fix spelling mistake in package description (Closes: #363603) + - Upgrade Standards-Version to 3.7.2 (no changes needed) + * Add "or any later version" to debian/copyright + + -- Lior Kaplan Wed, 30 Aug 2006 17:32:53 +0300 + +geresh (0.6.3-6) unstable; urgency=low + + * debian/control: change my maintainer address to @debian.org + + -- Lior Kaplan Fri, 7 Apr 2006 23:54:27 +0300 + +geresh (0.6.3-5) unstable; urgency=low + + * Fix FTBFS with G++ 4.1 (Closes: #357335) + + -- Lior Kaplan Mon, 20 Mar 2006 22:38:00 +0200 + +geresh (0.6.3-4) unstable; urgency=low + + * update debian/watch + * change Standards-Version to 3.6.2 (no changes needed) + * update FSF address on debian/copyright + + -- Lior Kaplan Wed, 8 Feb 2006 23:49:14 +0200 + +geresh (0.6.3-3) unstable; urgency=low + + * Rebuild against fribidi 0.10.4-6, 0.10.4-5 had the wrong shlibs file. + + -- Baruch Even Fri, 29 Oct 2004 19:50:14 +0100 + +geresh (0.6.3-2) unstable; urgency=low + + * Upload to recompile with fribidi >= 0.10.4-5 to solve the build problem on + 64 bit machines. + + -- Baruch Even Thu, 28 Oct 2004 00:51:23 +0100 + +geresh (0.6.3-1) unstable; urgency=low + + * Initial Release (Closes: #276680) + + -- Lior Kaplan Sat, 16 Oct 2004 02:51:47 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7fe3faa --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: geresh +Section: editors +Priority: optional +Maintainer: Lior Kaplan +Build-Depends: debhelper (>= 5.0.0), libfribidi-dev, libncursesw5-dev +Standards-Version: 3.7.2 + +Package: geresh +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A simple multilingual text editor with utf-8 & bidi support + Geresh is a text based editor with multilingual support (including bidi + languages like Hebrew & Arabic). It also has Unicode (UTF-8) support. + . + Homepage: http://www.typo.co.il/~mooffie/geresh/ diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..bc88673 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Lior Kaplan on +Fri, 15 Oct 2004 15:46:31 +0200. + +It was downloaded from http://www.typo.co.il/~mooffie/geresh/ + +Copyright: 2003-2004 Mooffie + +License: + + 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 + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package 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 complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..975f36a --- /dev/null +++ b/debian/docs @@ -0,0 +1,5 @@ +NEWS +README +TODO +MANUAL.he +themes/README.themes diff --git a/debian/geresh.doc-base b/debian/geresh.doc-base new file mode 100644 index 0000000..a619d75 --- /dev/null +++ b/debian/geresh.doc-base @@ -0,0 +1,9 @@ +Document: geresh +Title: Geresh Manual +Author: Mooffie +Abstract: This manual describes what geresh is, and how it can be used. +Section: Apps/Editors + +Format: text +Files: /usr/share/doc/geresh/MANUAL.he + diff --git a/debian/menu b/debian/menu new file mode 100644 index 0000000..7cd0c78 --- /dev/null +++ b/debian/menu @@ -0,0 +1,2 @@ +?package(geresh):needs="text" section="Apps/Editors"\ + title="geresh" command="/usr/bin/geresh" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4415fc2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,108 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# 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 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/geresh.sgml > geresh.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean config.sub config.guess + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/geresh. + $(MAKE) install DESTDIR=$(CURDIR)/debian/geresh + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install + dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip +# don't compress MANUL.he, the program needs it uncompress for user help screen + dh_compress -XMANUAL.he + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..0c7810a --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.typo.co.il/~mooffie/geresh/download/geresh-(.*)\.tar\.gz -- cgit v1.2.3