mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-26 06:09:21 +00:00
first attempt at adding debian packaging support for ubuntu 'feisty'
This commit is contained in:
parent
3376c2b0a1
commit
9fc59527ab
17
Makefile
17
Makefile
@ -116,8 +116,10 @@ show:
|
||||
echo $(DEBVER)
|
||||
echo $(DEBSTRING)
|
||||
|
||||
.PHONY: setup-dapper setup-sid deb-dapper deb-sid increment-deb-version
|
||||
.PHONY: deb-dapper-head deb-sid-head
|
||||
.PHONY: setup-dapper setup-sid setup-feisty
|
||||
.PHONY: deb-dapper deb-sid deb-feisty
|
||||
.PHONY: increment-deb-version
|
||||
.PHONY: deb-dapper-head deb-sid-head deb-feisty-head
|
||||
|
||||
setup-dapper:
|
||||
rm -f debian
|
||||
@ -129,11 +131,18 @@ setup-sid:
|
||||
ln -s sid/debian debian
|
||||
chmod a+x debian/rules
|
||||
|
||||
setup-feisty:
|
||||
rm -f debian
|
||||
ln -s feisty/debian debian
|
||||
chmod a+x debian/rules
|
||||
|
||||
|
||||
deb-dapper: setup-dapper
|
||||
fakeroot debian/rules binary
|
||||
deb-sid: setup-sid
|
||||
fakeroot debian/rules binary
|
||||
deb-feisty: setup-feisty
|
||||
fakeroot debian/rules binary
|
||||
|
||||
increment-deb-version:
|
||||
debchange --newversion $(DEBSTRING) $(DEBCOMMENTS)
|
||||
@ -141,6 +150,6 @@ deb-dapper-head: setup-dapper increment-deb-version
|
||||
fakeroot debian/rules binary
|
||||
deb-sid-head: setup-sid increment-deb-version
|
||||
fakeroot debian/rules binary
|
||||
deb-feisty-head: setup-feisty increment-deb-version
|
||||
fakeroot debian/rules binary
|
||||
|
||||
# dummy line
|
||||
#
|
||||
|
5
feisty/debian/changelog
Normal file
5
feisty/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
allmydata-tahoe (0.0.1) unstable; urgency=low
|
||||
|
||||
* experimental packaging
|
||||
|
||||
-- Brian Warner <warner@allmydata.com> Mon, 4 Dec 2006 23:34:07 -0800
|
1
feisty/debian/compat
Normal file
1
feisty/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
4
|
14
feisty/debian/control
Normal file
14
feisty/debian/control
Normal file
@ -0,0 +1,14 @@
|
||||
Source: allmydata-tahoe
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Brian Warner <warner@allmydata.com>
|
||||
Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.41), python-central (>= 0.4.10), python, python-all-dev
|
||||
Build-Depends-Indep: python-twisted
|
||||
Standards-Version: 3.7.2
|
||||
|
||||
Package: allmydata-tahoe
|
||||
Architecture: all
|
||||
Depends: ${python:Depends}, python-twisted, python-foolscap, python-pyopenssl, python-nevow
|
||||
Recommends:
|
||||
Description: A secure distributed filestore
|
||||
Allmydata (tahoe2)
|
6
feisty/debian/copyright
Normal file
6
feisty/debian/copyright
Normal file
@ -0,0 +1,6 @@
|
||||
This package was debianized by Brian Warner <warner@allmydata.com>
|
||||
|
||||
Copyright (c) 2006
|
||||
AllMyData
|
||||
|
||||
All rights reserved, for now.
|
1
feisty/debian/pycompat
Normal file
1
feisty/debian/pycompat
Normal file
@ -0,0 +1 @@
|
||||
2
|
22
feisty/debian/rules
Normal file
22
feisty/debian/rules
Normal file
@ -0,0 +1,22 @@
|
||||
#! /usr/bin/make -f
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
DEB_PYTHON_SYSTEM=pycentral
|
||||
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/class/python-distutils.mk
|
||||
|
||||
STAGING_DIR=$(CURDIR)/debian/allmydata-tahoe
|
||||
|
||||
install/allmydata-tahoe::
|
||||
mkdir -pm755 $(STAGING_DIR)
|
||||
cd src/pyfec && python setup.py install --root=$(STAGING_DIR)
|
||||
cd src/Crypto && python setup.py install --root=$(STAGING_DIR)
|
||||
python setup.py install --root=$(STAGING_DIR)
|
||||
|
||||
dh_pycentral
|
||||
dh_python
|
||||
|
||||
clean::
|
||||
-rm -rf build
|
Loading…
x
Reference in New Issue
Block a user