--- gitmagic-20090907.orig/debian/README.source +++ gitmagic-20090907/debian/README.source @@ -0,0 +1,8 @@ +README.source +------------- + + The Debian package uses quilt(1) for the modifications of the upstream source. + If you want to change something it is best to use the quilt approach as documented + in /usr/share/doc/quilt/README.source + + -- Francois Marier Mon, 07 Sep 2009 13:01:40 +1200 --- gitmagic-20090907.orig/debian/gitmagic.doc-base +++ gitmagic-20090907/debian/gitmagic.doc-base @@ -0,0 +1,17 @@ +Document: gitmagic +Title: Guide about Git version control system +Author: Ben Lynn +Abstract: + Git is a version control Swiss army knife. A reliable versatile multipurpose + revision control tool whose extraordinary flexibility makes it tricky to learn, let alone master. + . + This is easier to understand guide for Git than the official Git user manual. +Section: Programming + +Format: HTML +Index: /usr/share/doc/gitmagic/html/index.html +Files: /usr/share/doc/gitmagic/html/*.html + +Format: PDF +Index: /usr/share/doc/gitmagic/gitmagic.pdf +Files: /usr/share/doc/gitmagic/gitmagic.pdf --- gitmagic-20090907.orig/debian/rules +++ gitmagic-20090907/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +%: + dh ${@} --with quilt + +DATE=$(shell date --utc +%Y%m%d) + +get-orig-source: + # Needs: git-core + cd .. && git clone git://repo.or.cz/gitmagic.git gitmagic-$(DATE) + cd ../gitmagic-$(DATE) && git log --pretty=format:"%aD%n- %s%n" --no-merges > ChangeLog + cd .. && rm -rf gitmagic-$(DATE)/.git + tar cfz ../gitmagic-$(DATE).tar.gz ../gitmagic-$(DATE) + rm -rf ../gitmagic-$(DATE)/ + +override_dh_auto_build: + $(MAKE) book book.html book.pdf + +override_dh_auto_install: + install -D -m 0644 book.html debian/gitmagic/usr/share/doc/gitmagic/gitmagic.html + install -D -m 0644 book.pdf debian/gitmagic/usr/share/doc/gitmagic/gitmagic.pdf + install -D -m 0644 book.css debian/gitmagic/usr/share/doc/gitmagic/html/default.css + cp -a book/* debian/gitmagic/usr/share/doc/gitmagic/html + +override_dh_compress: + dh_compress --exclude=gitmagic.pdf --- gitmagic-20090907.orig/debian/changelog +++ gitmagic-20090907/debian/changelog @@ -0,0 +1,81 @@ +gitmagic (20090907-1) unstable; urgency=low + + * Merging upstream version 20090807 + - now includes upstream "ChangeLog" + * Adopt package (closes: #543935) + * Build the HTML book, avoid compressing gitmagic.pdf and fix the local + links to these books to point to the right place (LP: #352359) + + * Improve "upstream" target (renamed to get-orig-source) to generate + an upstream ChangeLog and use UTC for the date + * Add dummy watch file documenting what "new releases" consist of + * Add VCS fields (in git of course!) + * Lowercase first letter of short description + * Add README.source for our use of quilt (lintian warning) + * Fix dependency-related lintian warnings + + -- Francois Marier Mon, 07 Sep 2009 17:07:34 +1200 + +gitmagic (20090801-2) unstable; urgency=low + + * Orphaning package. + * Removing vcs fields. + + -- Daniel Baumann Thu, 27 Aug 2009 16:40:17 +0200 + +gitmagic (20090801-1) unstable; urgency=low + + * Merging upstream version 20090801. + * Minimizing rules file. + + -- Daniel Baumann Mon, 03 Aug 2009 00:30:38 +0200 + +gitmagic (20090701-1) unstable; urgency=low + + * Merging upstream version 20090701. + * Updating package to standards version 3.8.2. + + -- Daniel Baumann Fri, 10 Jul 2009 11:56:55 +0200 + +gitmagic (20090601-1) unstable; urgency=low + + * Using correct rfc-2822 date formats in changelog. + * Merging upstream version 20090601. + + -- Daniel Baumann Mon, 01 Jun 2009 11:58:11 +0200 + +gitmagic (20090501-1) unstable; urgency=low + + * Merging upstream version 20090501. + + -- Daniel Baumann Sun, 03 May 2009 14:32:00 +0200 + +gitmagic (20090401-1) unstable; urgency=low + + * Updating year in copyright file. + * Merging upstream version 20090401. + * Rediffing tidy-anchors.patch + * Tidy rules file. + * Upgrading package to standards 3.8.1. + + -- Daniel Baumann Mon, 06 Apr 2009 03:19:00 +0200 + +gitmagic (20090201-1) unstable; urgency=low + + * Merging upstream version 20090201. + + -- Daniel Baumann Sun, 01 Feb 2009 14:51:00 +0100 + +gitmagic (20090101-1) unstable; urgency=low + + * Merging upstream version 20090101. + * Prefixing debhelper files with package name. + * Using quilt rather than dpatch. + + -- Daniel Baumann Fri, 09 Jan 2009 13:01:00 -0500 + +gitmagic (20081115-1) unstable; urgency=low + + * Initial release. + + -- Daniel Baumann Sat, 15 Nov 2008 10:28:00 +0100 --- gitmagic-20090907.orig/debian/watch +++ gitmagic-20090907/debian/watch @@ -0,0 +1,9 @@ +# Upstream doesn't do packaged releases. Instead he commits to a git repository at: +# git://repo.or.cz/gitmagic.git +# +# So the Debian package is a (roughly) monthly snapshot of what the repository is up to. +# +# To generate the tarball, I run "debian/rules get-orig-source" from the top level +# directory of the packaging clone. +# +# -- Francois Marier Mon, 07 Sep 2009 13:09:33 +1200 --- gitmagic-20090907.orig/debian/compat +++ gitmagic-20090907/debian/compat @@ -0,0 +1 @@ +7 --- gitmagic-20090907.orig/debian/copyright +++ gitmagic-20090907/debian/copyright @@ -0,0 +1,39 @@ +Author: Ben Lynn +Download: http://www-cs-students.stanford.edu/~blynn/gitmagic/ + +Files: * +Copyright: (C) 2008-2009 Ben Lynn +License: GPL-3 + 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, version 3 of the License. + . + 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 complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. + +Files: debian/* +Copyright: (C) 2008-2009 Daniel Baumann +License: GPL-3+ + 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 complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. --- gitmagic-20090907.orig/debian/control +++ gitmagic-20090907/debian/control @@ -0,0 +1,20 @@ +Source: gitmagic +Section: doc +Priority: optional +Maintainer: Francois Marier +Build-Depends: debhelper (>= 7.0.50), quilt +Build-Depends-Indep: asciidoc, gawk, docbook-utils, tidy, xmlto +Standards-Version: 3.8.3 +Homepage: http://www-cs-students.stanford.edu/~blynn/gitmagic/ +Vcs-git: git://git.debian.org/git/collab-maint/gitmagic.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/gitmagic.git;a=summary + +Package: gitmagic +Architecture: all +Depends: ${misc:Depends} +Description: guide about Git version control system + Git is a version control Swiss army knife. A reliable versatile multipurpose + revision control tool whose extraordinary flexibility makes it tricky to learn, + let alone master. + . + This is easier to understand guide for Git than the official Git user manual. --- gitmagic-20090907.orig/debian/patches/02-fix_local_book_links.patch +++ gitmagic-20090907/debian/patches/02-fix_local_book_links.patch @@ -0,0 +1,13 @@ +Author: Francois Marier +Description: Fix links to the local copy of HTML and PDF books + +--- gitmagic.orig/Makefile ++++ gitmagic/Makefile +@@ -21,6 +21,7 @@ book.xml: $(TXTFILES) + sed -i -e 's| +Description: Fixing anchors to be proper html. + +diff -Naurp gitmagic.orig/Makefile gitmagic/Makefile +--- gitmagic.orig/Makefile 2009-04-05 11:25:56.000000000 +0000 ++++ gitmagic/Makefile 2009-04-06 01:22:29.000000000 +0000 +@@ -18,6 +18,7 @@ book.xml: $(TXTFILES) + book: book.xml + xmlto -m custom-html.xsl -o book html book.xml + sed -i 's/xmlns:fo[^ ]*//g' book/*.html ++ sed -i -e 's|