summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/control30
-rw-r--r--debian/copyright36
-rw-r--r--debian/docs1
-rwxr-xr-xdebian/rules22
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
7 files changed, 98 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..15afc11
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+simple-revision-control (1.20-1) unstable; urgency=medium
+
+ * Initial release (Closes: #881896)
+
+ -- Dmitry Bogatov <KAction@debian.org> Tue, 13 Nov 2018 07:19:59 +0000
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2b42869
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: simple-revision-control
+Section: vcs
+Priority: optional
+Maintainer: Dmitry Bogatov <KAction@debian.org>
+Build-Depends: debhelper-compat (= 11),
+ asciidoc,
+ xsltproc,
+ docbook-xml
+Standards-Version: 4.2.1
+Homepage: https://gitlab.com/esr/src
+Vcs-Browser: https://salsa.debian.org/debian/src
+Vcs-Git: https://salsa.debian.org/debian/src.git
+
+Package: simple-revision-control
+Architecture: any
+Depends: python3, rcs, ${misc:Depends}
+Suggests: sccs
+Description: single-file and single-user revision control system
+ This package provides a powerful modern user interface for an RCS
+ (and to some extend, SCCS) backend. It will be familiar to users
+ with modern Subversion, Git, Hg experience, as well as a
+ reasonable introduction to this toolset to novices.
+ .
+ SRC is designed to provide its strength for single-file, single-user
+ version tracking. When it is overkill to make a whole directory and
+ multi-file repository store (under, for example, Git or Hg), src can
+ provide tracking for individual files instead. Examples of such might
+ be your ~/bin scripts, /etc files, personal notes, résumés, and any such
+ file that would be awkward to contain in a wholly separate directory
+ just for version control.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9f5e47c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: src
+Upstream-Contact: Eric S. Raymond <esr@thyrsus.com>
+Source: https://gitlab.com/esr/src
+
+Files: *
+Copyright: 2015-2018 Eric S. Raymond <esr@thyrsus.com>
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: 2018 Dmitry Bogatov <KAction@debian.org>
+License: BSD-2-clause
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..3fc8d9c
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+FAQ.asc
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d6ae3c1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+export prefix=/usr
+DESTDIR=debian/simple-revision-control
+
+%:
+ dh $@
+override_dh_installchangelogs:
+ dh_installchangelogs NEWS
+override_dh_auto_install:
+ dh_auto_install
+ sed -i '1s:.*:#!/usr/bin/python3:' $(DESTDIR)/usr/bin/src
+ # I have rather vague understanding, what `master_encoding' is,
+ # but using any encoding but "utf-8" looks suspicios. Actually,
+ # with master_encoding, provided by upstream, I get garbled
+ # output when trying to write commit message in non-english
+ # language. Hope it will not break anything else.
+ sed -i '/^master_encoding/s:.*:master_encoding = "utf-8":' \
+ $(DESTDIR)/usr/bin/src
+
+# Test suite requires working git installation, with user.email and
+# user.name set. It is quite complicated to set up on buildd.
+override_dh_auto_test:
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..df2ea9a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+http://catb.org/esr/src/ \
+ .*/src-([.0-9]+).tar.gz