From e5075177a335cd8ba2f0225477f1407531d45450 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Mon, 18 Nov 2013 01:08:19 +0100 Subject: [PATCH] Add initial debian packaging bits --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 33 +++++++++++++++++++++++++++++++++ debian/copyright | 30 ++++++++++++++++++++++++++++++ debian/gbp.conf | 4 ++++ debian/rules | 7 +++++++ debian/source/format | 1 + debian/watch | 5 +++++ 8 files changed, 86 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c2baf57 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +tweeper (0.2-1) unstable; urgency=low + + * Initial release (Closes: #729858) + + -- Antonio Ospite Mon, 18 Nov 2013 14:52:14 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..beda931 --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: tweeper +Section: php +Priority: optional +Maintainer: Antonio Ospite +Build-Depends: debhelper (>= 9) +Build-Depends-Indep: asciidoc, xmlto +Standards-Version: 3.9.4 +Homepage: http://git.ao2.it/tweeper.git +Vcs-Git: git://git.ao2.it/tweeper.git +Vcs-Browser: http://git.ao2.it/tweeper.git + +Package: tweeper +Architecture: all +Depends: ${misc:Depends}, php5-cli +Description: web scraper to convert a Twitter timeline to an RSS feed + tweeper is a web scraper which extracts the most recent public tweets of + a given user from their home page on Twitter.com and formats them in RSS, so + the information can be conveniently accessed and collected by a feed reader. + . + tweeper started as the TWitter fEEd scraPER but support for other web sites + has been added. + . + The sites that tweeper is able to scrape and convert to RSS are: + . + * Twitter.com + * Pump.io based websites, like Identi.ca + * Dilbert.com + . + tweeper can be used as: + . + 1. a command line tool; + 2. as a filter for feed readers; + 3. as a web based tool when PHP support is available in the web server. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..51d6bd5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: tweeper +Upstream-Contact: Antonio Ospite +Source: http://git.ao2.it/tweeper.git + +Files: * +Copyright: 2013 Antonio Ospite +License: GPL-3.0+ + +Files: debian/* +Copyright: 2013 Antonio Ospite +License: GPL-3.0+ + +License: GPL-3.0+ + This program 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, either version 3 of the License, or + (at your option) any later version. + . + This program 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 program. If not, see . + . + On Debian systems the full text of the GNU General Public + License version 3 can be found in the `/usr/share/common-licenses/GPL-3' + file. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..0a80fe8 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +debian-branch = debian +upstream-branch = master +upstream-tag = v%(version)s diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..53bb7f1 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_install: + $(MAKE) DESTDIR=$$(pwd)/debian/tweeper prefix=/usr install diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..617f05e --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +version=3 + +opts=downloadurlmangle=s/shortlog\/refs\/tags\/(v[\d\.]+)/snapshot\/$1.tar.gz/,\ +filenamemangle=s/.*v([\d\.]+)$/tweeper-$1.tar.gz/ \ + http://git.ao2.it/tweeper.git/tags ^.*v([\d\.]+) -- 2.1.4