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
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)
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
-#
--- /dev/null
+allmydata-tahoe (0.0.1) unstable; urgency=low
+
+ * experimental packaging
+
+ -- Brian Warner <warner@allmydata.com> Mon, 4 Dec 2006 23:34:07 -0800
--- /dev/null
+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)
--- /dev/null
+This package was debianized by Brian Warner <warner@allmydata.com>
+
+Copyright (c) 2006
+AllMyData
+
+All rights reserved, for now.
--- /dev/null
+#! /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