summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Glondu <glondu@debian.org>2023-07-22 08:31:11 +0200
committerStéphane Glondu <glondu@debian.org>2023-07-22 08:31:11 +0200
commit015f8e1443dde3d06973d04f09fa82fed746db74 (patch)
treed27b51ab9acf69ad8aec6bbc40184349798648f8
parented6ad00516d54c493fc1956c24395d9f76022472 (diff)
parent2590ada9cff1b95d66ed00727496642757e43ede (diff)
not-ocamlfind (0.10+dfsg-1) unstable; urgency=medium
* Initial release (Closes: #1041684) [dgit import unpatched not-ocamlfind 0.10+dfsg-1]
-rw-r--r--debian/changelog5
-rw-r--r--debian/control32
-rw-r--r--debian/copyright33
-rw-r--r--debian/dirs.in2
-rw-r--r--debian/gbp.conf7
-rwxr-xr-xdebian/rules17
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata3
-rw-r--r--debian/watch5
9 files changed, 105 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..99b89f7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+not-ocamlfind (0.10+dfsg-1) unstable; urgency=medium
+
+ * Initial release (Closes: #1041684)
+
+ -- Stéphane Glondu <glondu@debian.org> Sat, 22 Jul 2023 08:31:11 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..416e5b2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: not-ocamlfind
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders:
+ Stéphane Glondu <glondu@debian.org>
+Build-Depends:
+ debhelper-compat (= 13),
+ libcamlp-streams-ocaml-dev,
+ libfmt-ocaml-dev,
+ librresult-ocaml-dev,
+ libocamlgraph-ocaml-dev,
+ ocaml-findlib,
+ ocaml,
+ dh-ocaml
+Standards-Version: 4.6.2
+Rules-Requires-Root: no
+Vcs-Git: https://salsa.debian.org/ocaml-team/not-ocamlfind.git
+Vcs-Browser: https://salsa.debian.org/ocaml-team/not-ocamlfind
+Homepage: https://github.com/chetmurthy/not-ocamlfind
+
+Package: not-ocamlfind
+Architecture: any
+Depends:
+ ocaml-findlib,
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: front-end to ocamlfind to add a few new commands
+ The command not-ocamlfind is a pass-thru to ocamlfind, but adds three
+ new commands: preprocess, reinstall-if-diff and package-graph.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1d4fda8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright: © 1999-2014 Gerd Stolpmann
+License: MIT
+
+Files: local-packages/ocamlfind/src/findlib/num_top*
+Copyright: © 2003 Stefano Zacchiroli
+License: MIT
+
+Files: debian/*
+Copyright: © 2023 Stéphane Glondu
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this document and the "findlib" software (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ The Software is provided ``as is'', without warranty of any kind, express
+ or implied, including but not limited to the warranties of
+ merchantability, fitness for a particular purpose and noninfringement.
+ In no event shall Gerd Stolpmann be liable for any claim, damages or
+ other liability, whether in an action of contract, tort or otherwise,
+ arising from, out of or in connection with the Software or the use or
+ other dealings in the software.
diff --git a/debian/dirs.in b/debian/dirs.in
new file mode 100644
index 0000000..702ecd0
--- /dev/null
+++ b/debian/dirs.in
@@ -0,0 +1,2 @@
+usr/bin
+@OCamlStdlibDir@
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..2024d81
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+pristine-tar = True
+filter-pristine-tar = True
+filter = [
+ "local-packages/ocamlfind/doc/ref-html",
+ "local-packages/ocamlfind/tools/make-package-macosx"
+ ]
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..aadecbe
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/ocaml/ocamlvars.mk
+
+DESTDIR := debian/not-ocamlfind
+
+OCAMLFIND_DESTDIR := $(DESTDIR)$(OCAML_STDLIB_DIR)
+export OCAMLFIND_DESTDIR
+
+%:
+ dh $@ --with ocaml --no-parallel
+
+override_dh_auto_configure:
+ ./configure -bindir /usr/bin -sitelib $(OCAML_STDLIB_DIR) -mandir /usr/share/man -config /etc/ocamlfind.conf -no-custom -no-topfind
+
+override_dh_auto_install:
+ dh_auto_install -- OCAMLFIND_BINDIR=$(DESTDIR)/usr/bin
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..8c5c4f1
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Bug-Database: https://github.com/chetmurthy/not-ocamlfind/issues
+Bug-Submit: https://github.com/chetmurthy/not-ocamlfind/issues/new
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5cfb1a5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts="searchmode=plain,\
+filenamemangle=s%v?@ANY_VERSION@%@PACKAGE@-$1.tar.xz%" \
+https://api.github.com/repos/chetmurthy/not-ocamlfind/releases?per_page=50 \
+https://api.github.com/repos/[^/]+/[^/]+/tarball/v?@ANY_VERSION@