]> git.tue.mpg.de Git - tfortune.git/commitdiff
Revert "Remove debian/."
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 6 May 2024 00:41:38 +0000 (02:41 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 6 May 2024 00:41:38 +0000 (02:41 +0200)
This reverts commit 1c92dba620eb to bring back the contents of the
debian directory. From now on changes in debian/ will only take place
in this branch.

debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/tfortune.install [new file with mode: 0644]
debian/tfortunes.install [new file with mode: 0644]
debian/upstream/signing-key.asc [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..aecfdc6
--- /dev/null
@@ -0,0 +1,40 @@
+tfortune (1.0.1-3) unstable; urgency=low
+
+  * Improved error diagnostics
+  * Switch from git:// and http:// to https://
+  * Fix lintian warnings
+
+ -- Andre Noll <maan@tuebingen.mpg.de>  Wed, 24 Apr 2024 18:00:05 +0200
+
+tfortune (1.0.1-2) unstable; urgency=medium
+
+  [ Helmut Grohne ]
+  * Fix FTCBFS: (Closes: #1032160)
+    + Also ask for generating config.h.in, which otherwise goes missing in
+      cross builds.
+    + Pass --build and --host to configure as we cannot use dh_auto_configure.
+    + Also export cross tools for make.
+
+  [ Andre Noll ]
+  * Remove hard-coded dependency on liblopsub1. (Closes: #1068608)
+
+ -- Andre Noll <maan@tuebingen.mpg.de>  Sun, 21 Apr 2024 15:52:20 +0200
+
+tfortune (1.0.1-1) unstable; urgency=low
+
+  * No changes relative to 1.0.0-2.
+
+ -- Andre Noll <maan@tuebingen.mpg.de>  Thu, 05 Sep 2019 12:21:38 +0200
+
+tfortune (1.0.0-2) unstable; urgency=low
+
+  * Fallback to system-wide epigram directory.
+  * New data package: "tfortunes" which contains ~200 epigrams.
+
+ -- Andre Noll <maan@tuebingen.mpg.de>  Tue, 18 Jun 2019 18:33:25 +0100
+
+tfortune (1.0.0-1) unstable; urgency=low
+
+  * Initial Release. Closes: #929467
+
+ -- Andre Noll <maan@tuebingen.mpg.de>  Mon, 20 May 2019 16:47:31 +0100
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..120e727
--- /dev/null
@@ -0,0 +1,37 @@
+Source: tfortune
+Section: games
+Priority: optional
+Maintainer: Andre Noll <maan@tuebingen.mpg.de>
+Build-Depends: m4, flex, bison, debhelper (>= 13), debhelper-compat (=13), autoconf, liblopsub-dev
+Standards-Version: 4.6.2
+Homepage: https://people.tuebingen.mpg.de/maan/tfortune/
+Vcs-Browser: https://git.tuebingen.mpg.de/tfortune.git
+Vcs-Git: https://git.tuebingen.mpg.de/tfortune/
+Rules-Requires-Root: no
+
+Package: tfortune
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: tfortunes
+Description: Fortune Cookies with Tags
+ Like fortune(6), tfortune is a Unix command line utility which prints
+ a random epigram. Epigrams are stored as plain text files, but they
+ must be annotated with tags to make full use of the features which
+ tfortune offers over other implementations.
+ .
+ Tfortune has a built-in matching language for epigrams. User-supplied
+ tag expressions define subsets of admissible epigrams. If a tag
+ expression is given, epigrams are picked from the admissible subset
+ only.
+
+Package: tfortunes
+Architecture: all
+Multi-Arch: foreign
+Depends: tfortune, ${misc:Depends}
+Description: Data files for tfortune
+ This provides a small set of tagged epigrams for tfortune. These are
+ only used if no personal epigrams are found in the per-user epigram
+ directory.
+ .
+  All epigrams are in English language and are considered
+  non-offensive. They were mostly selected from public mailing lists.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..558b00b
--- /dev/null
@@ -0,0 +1,21 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://people.tuebingen.mpg.de/maan/tfortune/
+
+Files: *
+License: GPL-3
+Copyright: 2018-2019 Andre Noll <maan@tuebingen.mpg.de>
+
+Files: epigrams/*
+Copyright: none
+License: public-domain
+
+License: GPL-3
+  The code of this package is free software; you can redistribute it
+  and/or modify it under the terms of the GNU General Public License,
+  version 3. On Debian GNU systems, the complete text of the GNU General
+  Public License can be found in `/usr/share/common-licenses/GPL-3'.
+
+License: public-domain
+  All epigrams provided by the tfortunes package are believed to be
+  in the public domain. Please notify the author if there is an epigram
+  which is not.
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..a360dc7
--- /dev/null
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+include /usr/share/dpkg/architecture.mk
+DPKG_EXPORT_BUILDTOOLS=1
+include /usr/share/dpkg/buildtools.mk
+
+%:
+       dh "$@"
+
+# plain dh_auto_configure uses options which configure does not understand
+override_dh_auto_configure:
+       ./configure --prefix=/usr --bindir=/usr/games \
+               --datadir=/usr/share/games --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
+# needed because dh_autoreconf overwrites our configure wrapper
+override_dh_autoreconf:
+       $(MAKE) config.h.in configure.sh
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tfortune.install b/debian/tfortune.install
new file mode 100644 (file)
index 0000000..d26b408
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/man/*
+debian/tmp/usr/games/*
diff --git a/debian/tfortunes.install b/debian/tfortunes.install
new file mode 100644 (file)
index 0000000..9c397e4
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/share/games/tfortunes/*
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644 (file)
index 0000000..662fe7b
--- /dev/null
@@ -0,0 +1,39 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQGiBD7zR2oRBACHWxj9A83mTutuXn4Om8pn/wKyBBfMk7+RiF6tcPiwX+cLYNpv
+BVN2H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36g5Ni4MOXbLx+tDiJYq+oUYg78
+AKCO0h1mPhmUGIBgcCsk6XIVg4uNbA==
+=6OYZ
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..26d3e81
--- /dev/null
@@ -0,0 +1,5 @@
+version=4
+opts="mode=git, gitmode=full, pgpmode=gittag" \
+       https://git.tuebingen.mpg.de/tfortune/ \
+       refs/tags/v@ANY_VERSION@
+