--- wikipediafs-0.3.orig/debian/changelog +++ wikipediafs-0.3/debian/changelog @@ -0,0 +1,49 @@ +wikipediafs (0.3-5ubuntu1) karmic; urgency=low + + * Add --install-layout=deb to setup.py install to fix build failure. + * Bump debhelper,cdbs,python-central build-dependencies as per new policy. + + -- Alessio Treglia Sat, 10 Oct 2009 02:31:35 +0200 + +wikipediafs (0.3-5) unstable; urgency=low + + * Rebuild with current version of pycentral (Closes: #490512). + + -- Sebastien Delafond Sat, 12 Jul 2008 10:06:58 -0700 + +wikipediafs (0.3-4) unstable; urgency=low + + * Lintian cleanups. + + -- Sebastien Delafond Fri, 09 May 2008 16:27:38 -0700 + +wikipediafs (0.3-3) unstable; urgency=low + + * Change the rules file so that build/ is indeed removed upon + cleaning (Closes: #460577). + + -- Sebastien Delafond Mon, 14 Jan 2008 14:03:32 -0800 + +wikipediafs (0.3-2) unstable; urgency=low + + * Fix debian/watch (Closes: #453562). + + -- Sebastien Delafond Thu, 29 Nov 2007 21:42:41 -0800 + +wikipediafs (0.3-1) unstable; urgency=low + + * New upstream release (Closes: #398477, #413455). + + -- Sebastien Delafond Sat, 26 May 2007 12:12:16 -0700 + +wikipediafs (0.2-1) unstable; urgency=low + + * New upstream release (Closes: #382218). + + -- Sebastien Delafond Tue, 22 Aug 2006 10:16:43 -0700 + +wikipediafs (0.1-1) unstable; urgency=low + + * Initial release (Closes: #373007). + + -- Sebastien Delafond Tue, 13 Jun 2006 18:34:36 -0700 --- wikipediafs-0.3.orig/debian/control +++ wikipediafs-0.3/debian/control @@ -0,0 +1,24 @@ +Source: wikipediafs +Section: utils +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Sebastien Delafond +Build-Depends-Indep: docbook-to-man, python-all-dev +Build-Depends: debhelper (>= 5.0.38), dpatch (>= 2.0), cdbs (>= 0.4.49), python-central (>= 0.5.6) +Standards-Version: 3.7.3 +XS-Python-Version: all + +Package: wikipediafs +Architecture: all +Depends: ${python:Depends}, fuse-utils (>= 2.2), python-fuse (>= 1:0.2-pre3) +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: View and edit Wikipedia articles as if they were real files + WikipediaFS is a mountable Linux virtual file system that enables you + to deal with Wikipedia (or any Mediawiki-based site) articles as if + they were real files. + . + It is thus possible to use a real text editor to view and edit + articles. + . + http://wikipediafs.sourceforge.net --- wikipediafs-0.3.orig/debian/watch +++ wikipediafs-0.3/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 + +http://sf.net/wikipediafs/wikipediafs-([\d.]*).tar.gz --- wikipediafs-0.3.orig/debian/wikipediafs.dirs +++ wikipediafs-0.3/debian/wikipediafs.dirs @@ -0,0 +1,3 @@ +sbin +usr/bin + --- wikipediafs-0.3.orig/debian/compat +++ wikipediafs-0.3/debian/compat @@ -0,0 +1 @@ +4 --- wikipediafs-0.3.orig/debian/pycompat +++ wikipediafs-0.3/debian/pycompat @@ -0,0 +1 @@ +2 --- wikipediafs-0.3.orig/debian/copyright +++ wikipediafs-0.3/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Sebastien Delafond +on Tue, 13 Jun 2006 18:32:14 -0700 + +It was downloaded from +http://wikipediafs.sourceforge.net/ + +Upstream Author: Mathieu Blondel (mblondel@users.sourceforge.net) + +Copyright: + + Copyright (c) 2007 Mathieu Blondel (mblondel@users.sourceforge.net) + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- wikipediafs-0.3.orig/debian/rules +++ wikipediafs-0.3/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pycentral + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/dpatch/dpatch.make + +PACKAGE=$(shell dh_listpackages) + +STAGING_DIR := $(CURDIR)/debian/$(PACKAGE) +MANPAGE := mount.wikipediafs.1 + +install/wikipediafs:: patch + mkdir -pm755 $(STAGING_DIR) + + python setup.py install --root=$(STAGING_DIR) --install-layout=deb + + /usr/bin/docbook-to-man doc/mount.wikipediafs.sgml > $(MANPAGE) + rm -fr $(STAGING_DIR)/usr/share/man/man1/ + + dh_pycentral + + dh_installman $(MANPAGE) + + rm -fr $(STAGING_DIR)/usr/lib + +cleanbuilddir/wikipediafs:: unpatch + rm -f $(wildcard *.pyc *.pyo) + rm -f $(MANPAGE) + rm -fr build --- wikipediafs-0.3.orig/debian/wikipediafs.links +++ wikipediafs-0.3/debian/wikipediafs.links @@ -0,0 +1 @@ +usr/bin/mount.wikipediafs sbin/mount.wikipediafs --- wikipediafs-0.3.orig/debian/patches/10_no_shebang_lines.dpatch +++ wikipediafs-0.3/debian/patches/10_no_shebang_lines.dpatch @@ -0,0 +1,47 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_no_shebang_lines.dpatch by Sebastien Delafond +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Remove shebang lines from files not meant to be executed + +@DPATCH@ +diff -urNad wikipediafs-0.1~/src/wikipediafs/logger.py wikipediafs-0.1/src/wikipediafs/logger.py +--- wikipediafs-0.1~/src/wikipediafs/logger.py 2006-06-11 04:40:32.000000000 -0700 ++++ wikipediafs-0.1/src/wikipediafs/logger.py 2006-06-15 21:47:36.000000000 -0700 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + # -*- coding: utf-8 -*- + + # WikipediaFS +diff -urNad wikipediafs-0.1~/src/wikipediafs/WikipediaArticleList.py wikipediafs-0.1/src/wikipediafs/WikipediaArticleList.py +--- wikipediafs-0.1~/src/wikipediafs/WikipediaArticleList.py 2006-06-11 04:40:32.000000000 -0700 ++++ wikipediafs-0.1/src/wikipediafs/WikipediaArticleList.py 2006-06-15 21:47:36.000000000 -0700 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + # -*- coding: utf-8 -*- + + # WikipediaFS +diff -urNad wikipediafs-0.1~/src/wikipediafs/WikipediaArticle.py wikipediafs-0.1/src/wikipediafs/WikipediaArticle.py +--- wikipediafs-0.1~/src/wikipediafs/WikipediaArticle.py 2006-06-11 04:40:32.000000000 -0700 ++++ wikipediafs-0.1/src/wikipediafs/WikipediaArticle.py 2006-06-15 21:47:36.000000000 -0700 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + # -*- coding: utf-8 -*- + + # WikipediaFS +diff -urNad wikipediafs-0.1~/src/wikipediafs/WikipediaFS.py wikipediafs-0.1/src/wikipediafs/WikipediaFS.py +--- wikipediafs-0.1~/src/wikipediafs/WikipediaFS.py 2006-06-11 04:40:32.000000000 -0700 ++++ wikipediafs-0.1/src/wikipediafs/WikipediaFS.py 2006-06-15 21:47:36.000000000 -0700 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + # -*- coding: utf-8 -*- + + # WikipediaFS +diff -urNad wikipediafs-0.1~/src/wikipediafs/WikipediaUser.py wikipediafs-0.1/src/wikipediafs/WikipediaUser.py +--- wikipediafs-0.1~/src/wikipediafs/WikipediaUser.py 2006-06-11 04:40:32.000000000 -0700 ++++ wikipediafs-0.1/src/wikipediafs/WikipediaUser.py 2006-06-15 21:47:36.000000000 -0700 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + # -*- coding: utf-8 -*- + + # WikipediaFS --- wikipediafs-0.3.orig/debian/patches/00list +++ wikipediafs-0.3/debian/patches/00list @@ -0,0 +1 @@ +#10_no_shebang_lines.dpatch