File: README.source

package info (click to toggle)
rocketcea 1.1.18%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 40,068 kB
  • sloc: python: 8,231; fortran: 5,605; pascal: 128; makefile: 9; sh: 5
file content (32 lines) | stat: -rw-r--r-- 1,105 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
rocketcea for Debian
-----------------

The upstream source package, at least as of version 1.1.18, contains some
cruft, bordering on if not clearly being DFSG violations.  This file
documents the process used for getting from the 1.1.18 upstream tarball to 
the .orig.tar.gz file used for the initial package build.

To start with, the git branch structure works like this:
        upstream        "real" upstream sources
        pristine-tar    deltas for recreating tarballs from git repos
        dfsg-orig       branch for DFSG-compliant upstream
        debian		branch for Debian packaging

git init
gbp import-orig --no-merge --pristine-tar --upstream-version 1.1.18 \
	rocketcea-1.1.18.tar.gz 
git checkout upstream
git branch -D master
git checkout -b dfsg-orig
- create cleanup-script.sh
git add cleanup-script.sh
./cleanup-script.sh
git commit -a
git checkout -b debian
- create debian/ content
git add debian
git commit -a
- create .git/gbp.conf pointing to dfsg-orig and debian branches for builds
gbp buildpackage --git-no-pristine-tar
pristine-tar commit rocketcea_1.1.18+dfsg.orig.tar.gz