[med-svn] [Git][med-team/libbigwig][master] About to upload.
Steffen Möller
gitlab at salsa.debian.org
Sat May 4 11:28:56 BST 2019
Steffen Möller pushed to branch master at Debian Med / libbigwig
Commits:
d8a7ea17 by Steffen Möller at 2019-05-04T10:28:26Z
About to upload.
- - - - -
16 changed files:
- + debian/changelog
- + debian/compat
- + debian/control
- + debian/copyright
- + debian/libbigwig-dev.dirs
- + debian/libbigwig-dev.install
- + debian/libbigwig-doc.docs
- + debian/libbigwig.doc-base
- + debian/libbigwig.links
- + debian/libbigwig0.dirs
- + debian/libbigwig0.install
- + debian/patches/Makefile.patch
- + debian/patches/series
- + debian/rules
- + debian/source/format
- + debian/watch
Changes:
=====================================
debian/changelog
=====================================
@@ -0,0 +1,6 @@
+libbigwig (0.4.2+dfsg-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: 928400)
+ * New upstream release
+
+ -- Steffen Moeller <moeller at debian.org> Fri, 03 May 2019 18:42:40 +0200
=====================================
debian/compat
=====================================
@@ -0,0 +1 @@
+11
=====================================
debian/control
=====================================
@@ -0,0 +1,39 @@
+Source: libbigwig
+Priority: optional
+Maintainer: Steffen Moeller <moeller at debian.org>
+Build-Depends: debhelper (>= 11), libcurl4-gnutls-dev|libcurl-dev
+Build-Depends-Indep: doxygen
+Standards-Version: 4.3.0
+Section: libs
+Homepage: https://github.com/dpryan79/libBigWig/
+Vcs-Browser: https://salsa.debian.org/med-team/libbigwig
+Vcs-Git: https://salsa.debian.org/med-team/libbigwig.git
+
+Package: libbigwig0
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: curl
+Description: C library for handling bigWig files
+ This package provides a C library for reading/parsing local and remote
+ bigWig and bigBed files. This library was refurbished to particularly
+ suit to be wrapped by scripting languages by avoiding early bailouts
+ in case of errors.
+
+Package: libbigwig-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libbigwig0 (= ${binary:Version}), ${misc:Depends}
+Description: C library for handling bigWig files - header files
+ This package provides the files needed to develop with the libBigWig
+ C library for reading/parsing local and remote bigWig and bigBed files.
+
+Package: libbigwig-doc
+Section: libdevel
+Architecture: all
+Depends: ${misc:Depends}
+Description: C library for handling bigWig files - documentation
+ This package provides the doxygen-created inline documentation needed
+ to develop with the libBigWig C library for reading/parsing local and
+ remote bigWig and bigBed files.
=====================================
debian/copyright
=====================================
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libbigwig
+Source:
+
+Files: *
+Copyright: 2015 Devon Ryan
+License: MIT
+
+Files: debian/*
+Copyright: 2019 Steffen Moeller <moeller at debian.org>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (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 THE AUTHORS OR COPYRIGHT HOLDERS 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.
=====================================
debian/libbigwig-dev.dirs
=====================================
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
=====================================
debian/libbigwig-dev.install
=====================================
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/*/lib*.so
+#usr/lib/lib*.so
+#usr/lib/*/pkgconfig/*
+#usr/share/pkgconfig/*
=====================================
debian/libbigwig-doc.docs
=====================================
@@ -0,0 +1 @@
+docs/html
=====================================
debian/libbigwig.doc-base
=====================================
@@ -0,0 +1,10 @@
+Document: libbigwig
+Title: Debian libBigWig Manual
+Author: Devon Ryan
+Abstract: Doxygen documentation of the
+ libBigWig library
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libbigwig/html/index.html
+Files: /usr/share/doc/libbigwig/html/*.html
=====================================
debian/libbigwig.links
=====================================
@@ -0,0 +1 @@
+usr/lib/libBigWig.so.0 usr/lib/libBigWig.so
=====================================
debian/libbigwig0.dirs
=====================================
@@ -0,0 +1 @@
+usr/lib
=====================================
debian/libbigwig0.install
=====================================
@@ -0,0 +1,2 @@
+#lib*.so.*
+usr/lib/*/lib*.so.*
=====================================
debian/patches/Makefile.patch
=====================================
@@ -0,0 +1,62 @@
+Index: libbigwig-0.4.2+dfsg/Makefile
+===================================================================
+--- libbigwig-0.4.2+dfsg.orig/Makefile
++++ libbigwig-0.4.2+dfsg/Makefile
+@@ -1,14 +1,18 @@
+ CC ?= gcc
+ AR ?= ar
+ RANLIB ?= ranlib
+-CFLAGS ?= -g -Wall -O3 -Wsign-compare
++CFLAGS ?= -g -Wall -O3 -Wsign-compare -flto
+ LIBS = -lcurl -lm -lz
+ EXTRA_CFLAGS_PIC = -fpic
+-LDFLAGS =
++VERSION=0.4.2
++MAJOR=$(shell echo $(VERSION)| cut -f1 -d.)
++LDFLAGS = -Wl,-soname,libBigWig.so.$(MAJOR) -Wl,-flto
+ LDLIBS =
+ INCLUDES =
++DESTDIR =
++PREFIX ?= /usr
+
+-prefix = /usr/local
++prefix = $(PREFIX)
+ includedir = $(prefix)/include
+ libdir = $(exec_prefix)/lib
+
+@@ -40,7 +44,13 @@ libBigWig.a: $(OBJS)
+ $(AR) -rcs $@ $(OBJS)
+ $(RANLIB) $@
+
+-libBigWig.so: $(OBJS:.o=.pico)
++libBigWig.so: libBigWig.so.$(MAJOR)
++ ln -s libBigWig.so.$(MAJOR) libBigWig.so
++
++libBigWig.so.$(MAJOR): libBigWig.so.$(VERSION)
++ ln -s libBigWig.so.$(VERSION) libBigWig.so.$(MAJOR)
++
++libBigWig.so.$(VERSION): $(OBJS:.o=.pico)
+ $(CC) -shared $(LDFLAGS) -o $@ $(OBJS:.o=.pico) $(LDLIBS) $(LIBS)
+
+ test/testLocal: libBigWig.a
+@@ -56,7 +66,7 @@ test/testWrite: libBigWig.a
+ $(CC) -o $@ -I. $(CFLAGS) test/testWrite.c libBigWig.a $(LIBS)
+
+ test/exampleWrite: libBigWig.so
+- $(CC) -o $@ -I. -L. $(CFLAGS) test/exampleWrite.c -lBigWig $(LIBS) -Wl,-rpath .
++ $(CC) -o $@ -I. -L. $(CFLAGS) test/exampleWrite.c -lBigWig $(LIBS) -Wl,-rpath $(CURDIR)
+
+ test/testBigBed: libBigWig.a
+ $(CC) -o $@ -I. $(CFLAGS) test/testBigBed.c libBigWig.a $(LIBS)
+@@ -71,7 +81,7 @@ clean:
+ rm -f *.o libBigWig.a libBigWig.so *.pico test/testLocal test/testRemote test/testWrite test/exampleWrite test/testRemoteManyContigs test/testBigBed test/testIterator example_output.bw
+
+ install: libBigWig.a libBigWig.so
+- install -d $(prefix)/lib $(prefix)/include
+- install libBigWig.a $(prefix)/lib
+- install libBigWig.so $(prefix)/lib
+- install *.h $(prefix)/include
++ install -d $(DESTDIR)$(prefix)/lib $(DESTDIR)$(prefix)/include
++ install libBigWig.a $(DESTDIR)$(prefix)/lib
++ install libBigWig.so $(DESTDIR)$(prefix)/lib
++ install *.h $(DESTDIR)$(prefix)/include
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+Makefile.patch
=====================================
debian/rules
=====================================
@@ -0,0 +1,34 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+%:
+ dh $@
+
+override_dh_auto_build-indep:
+ $(MAKE) doc
+
+override_dh_auto_install:
+ dh_auto_install
+ mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(shell dpkg-architecture -qDEB_TARGET_MULTIARCH)
+ #mv $(CURDIR)/debian/tmp/usr/lib/*so* $(CURDIR)/debian/tmp/usr/lib/$(shell dpkg-architecture -qDEB_TARGET_MULTIARCH)
+ mv *.so.* $(CURDIR)/debian/tmp/usr/lib/$(shell dpkg-architecture -qDEB_TARGET_MULTIARCH)
+ # This is a symbolic link, not a copy
+ mv *.so $(CURDIR)/debian/tmp/usr/lib/$(shell dpkg-architecture -qDEB_TARGET_MULTIARCH)
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf docs
+ rm -rf libBigWig*so*
=====================================
debian/source/format
=====================================
@@ -0,0 +1 @@
+3.0 (quilt)
=====================================
debian/watch
=====================================
@@ -0,0 +1,4 @@
+version=4
+opts="dversionmangle=auto,oversionmangle=s/$/+dfsg/,filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%libbigwig-$1.tar.gz%" \
+ https://github.com/dpryan79/libBigWig/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
View it on GitLab: https://salsa.debian.org/med-team/libbigwig/commit/d8a7ea179058eb4c0d692cf8b6e4bc56e00e26f9
--
View it on GitLab: https://salsa.debian.org/med-team/libbigwig/commit/d8a7ea179058eb4c0d692cf8b6e4bc56e00e26f9
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190504/9f7927b3/attachment-0001.html>
More information about the debian-med-commit
mailing list