On Fri, 14 Oct 2016 10:33:04 +0200 Andrew Shadura <andre...@debian.org>
wrote:
> Dear Maintainer,
> 
> Please provide libcmark-* packages, so that packages using
> CommonMark library can link against and depend on these
> packages.

To save your time, I attached a debdiff you can use.

-- 
Cheers,
  Andrew
diff -Nru cmark-0.26.1/debian/changelog cmark-0.26.1/debian/changelog
--- cmark-0.26.1/debian/changelog       2016-09-05 03:53:18.000000000 +0200
+++ cmark-0.26.1/debian/changelog       2016-10-14 11:07:22.000000000 +0200
@@ -1,3 +1,10 @@
+cmark (0.26.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Build library packages.
+
+ -- Andrew Shadura <andre...@debian.org>  Fri, 14 Oct 2016 11:07:12 +0200
+
 cmark (0.26.1-1) unstable; urgency=low
 
   * Initial release (closes: #833682)
diff -Nru cmark-0.26.1/debian/control cmark-0.26.1/debian/control
--- cmark-0.26.1/debian/control 2016-08-14 19:44:27.000000000 +0200
+++ cmark-0.26.1/debian/control 2016-10-14 10:44:33.000000000 +0200
@@ -14,3 +14,24 @@
  version of Markdown syntax with a spec.  This package provides a
  command-line program (cmark) for parsing and rendering CommonMark
  documents.
+
+Package: libcmark0
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: CommonMark parsing and rendering library
+ cmark is the C reference implementation of CommonMark, a rationalized
+ version of Markdown syntax with a spec.  This package provides a
+ library for parsing and rendering CommonMark documents.
+ .
+ This package contains the shared libraries.
+
+Package: libcmark-dev
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: development files for CommonMark parsing and rendering library
+ cmark is the C reference implementation of CommonMark, a rationalized
+ version of Markdown syntax with a spec.  This package provides a
+ library for parsing and rendering CommonMark documents.
+ .
+ This package contains the header and development files.
+
diff -Nru cmark-0.26.1/debian/libcmark0.install 
cmark-0.26.1/debian/libcmark0.install
--- cmark-0.26.1/debian/libcmark0.install       1970-01-01 01:00:00.000000000 
+0100
+++ cmark-0.26.1/debian/libcmark0.install       2016-10-14 10:48:47.000000000 
+0200
@@ -0,0 +1 @@
+usr/lib/*.so.*
diff -Nru cmark-0.26.1/debian/libcmark-dev.install 
cmark-0.26.1/debian/libcmark-dev.install
--- cmark-0.26.1/debian/libcmark-dev.install    1970-01-01 01:00:00.000000000 
+0100
+++ cmark-0.26.1/debian/libcmark-dev.install    2016-10-14 10:55:48.000000000 
+0200
@@ -0,0 +1,5 @@
+usr/include
+usr/lib/*.a
+usr/lib/*.so
+usr/lib/cmake
+usr/lib/pkgconfig
diff -Nru cmark-0.26.1/debian/rules cmark-0.26.1/debian/rules
--- cmark-0.26.1/debian/rules   2016-08-22 00:29:54.000000000 +0200
+++ cmark-0.26.1/debian/rules   2016-10-14 10:54:44.000000000 +0200
@@ -6,9 +6,5 @@
 override_dh_auto_build:
        dh_auto_build -- INSTALL_PREFIX=/usr
 
-# don't install the library unless/until someone needs it
-override_dh_auto_install:
-       dh_auto_install --destdir=debian/tmp
-
 override_dh_strip:
        dh_strip --no-automatic-dbgsym

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to