Initial debian folder.
parent
b8221e7d75
commit
c5d4ac0c7c
|
@ -0,0 +1,5 @@
|
||||||
|
jerasure (2.0.0~0+2014.04.28.git.b8221e7d75-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial release (Closes: #nnnn)
|
||||||
|
|
||||||
|
-- Thomas Goirand <zigo@debian.org> Sun, 25 May 2014 16:35:49 +0800
|
|
@ -0,0 +1 @@
|
||||||
|
9
|
|
@ -0,0 +1,44 @@
|
||||||
|
Source: jerasure
|
||||||
|
Section: libs
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Thomas Goirand <zigo@debian.org>
|
||||||
|
Build-Depends: autotools-dev,
|
||||||
|
debhelper (>= 9),
|
||||||
|
dh-autoreconf,
|
||||||
|
libgf-complete-dev
|
||||||
|
Standards-Version: 3.9.5
|
||||||
|
Homepage: https://bitbucket.org/jimplank/jerasure
|
||||||
|
Vcs-Git: git://anonscm.debian.org/openstack/jerasure.git
|
||||||
|
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/jerasure.git;a=summary
|
||||||
|
|
||||||
|
Package: libjerasure-dev
|
||||||
|
Section: libdevel
|
||||||
|
Architecture: any
|
||||||
|
Depends: libjerasure2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
|
||||||
|
Description: forward error correction erasure channel library - development files
|
||||||
|
In information theory, an erasure code is a forward error correction (FEC)
|
||||||
|
code for the binary erasure channel, which transforms a message of symbols
|
||||||
|
into a longer message (code word) with symbols such that the original
|
||||||
|
message can be recovered from a subset of the symbols.
|
||||||
|
.
|
||||||
|
Jerasure is a shared library that been designed to be modular, fast and
|
||||||
|
flexible. It is used in storage systems such as Swift and Ceph to add fault
|
||||||
|
tolerance.
|
||||||
|
.
|
||||||
|
This package contains the development files needed to build against the shared
|
||||||
|
library.
|
||||||
|
|
||||||
|
Package: libjerasure2
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
|
Description: forward error correction erasure channel library - shared library
|
||||||
|
In information theory, an erasure code is a forward error correction (FEC)
|
||||||
|
code for the binary erasure channel, which transforms a message of symbols
|
||||||
|
into a longer message (code word) with symbols such that the original
|
||||||
|
message can be recovered from a subset of the symbols.
|
||||||
|
.
|
||||||
|
Jerasure is a shared library that been designed to be modular, fast and
|
||||||
|
flexible. It is used in storage systems such as Swift and Ceph to add fault
|
||||||
|
tolerance.
|
||||||
|
.
|
||||||
|
This package contains the shared library.
|
|
@ -0,0 +1,39 @@
|
||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: jerasure
|
||||||
|
Source: https://bitbucket.org/jimplank/jerasure
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
|
||||||
|
License: BSD
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: (c) 2013, James S. Plank
|
||||||
|
(c) 2013, Kevin M. Greenan
|
||||||
|
License: BSD
|
||||||
|
|
||||||
|
License: BSD
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
.
|
||||||
|
- Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
.
|
||||||
|
- 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.
|
||||||
|
.
|
||||||
|
- Neither the name of the University of Tennessee nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived from this
|
||||||
|
software without specific prior written permission.
|
||||||
|
.
|
||||||
|
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.
|
|
@ -0,0 +1,8 @@
|
||||||
|
[DEFAULT]
|
||||||
|
upstream-branch = master
|
||||||
|
debian-branch = debian/unstable
|
||||||
|
upstream-tag = v%(version)s
|
||||||
|
compression = xz
|
||||||
|
|
||||||
|
[git-buildpackage]
|
||||||
|
export-dir = ../build-area/
|
|
@ -0,0 +1,4 @@
|
||||||
|
#usr/lib/pkgconfig/*
|
||||||
|
#usr/share/pkgconfig/*
|
||||||
|
usr/include/*
|
||||||
|
usr/lib/*/lib*.so
|
|
@ -0,0 +1 @@
|
||||||
|
usr/lib/*/lib*.so.*
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
UPSTREAM_GIT ?= https://bitbucket.org/jimplank/jerasure.git
|
||||||
|
|
||||||
|
DEBVERS ?= $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
|
||||||
|
VERSION ?= $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//')
|
||||||
|
DEBFLAVOR ?= $(shell dpkg-parsechangelog | grep -E ^Distribution: | cut -d" " -f2)
|
||||||
|
DEBPKGNAME ?= $(shell dpkg-parsechangelog | grep -E ^Source: | cut -d" " -f2)
|
||||||
|
GIT_TAG ?= $(shell echo '$(VERSION)' | sed -e 's/~/_/')
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --with autotools-dev,autoreconf
|
||||||
|
|
||||||
|
override_dh_auto_test:
|
||||||
|
#make check
|
||||||
|
echo "Not doing anything for now"
|
||||||
|
|
||||||
|
############################################
|
||||||
|
### Below is to manage upstream Git repo ###
|
||||||
|
### and is not used during package build ###
|
||||||
|
############################################
|
||||||
|
gen-orig-xz:
|
||||||
|
git tag -v $(GIT_TAG) || true
|
||||||
|
if [ ! -f ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] ; then \
|
||||||
|
git archive --prefix=$(DEBPKGNAME)-$(VERSION)/ $(GIT_TAG) | xz >../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ; \
|
||||||
|
fi
|
||||||
|
[ ! -e ../build-area ] && mkdir ../build-area || true
|
||||||
|
[ ! -e ../build-area/$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] && cp ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ../build-area
|
||||||
|
|
||||||
|
fetch-upstream-remote:
|
||||||
|
git remote add upstream $(UPSTREAM_GIT) || true
|
||||||
|
git fetch upstream
|
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
Loading…
Reference in New Issue