Package split: Debian.
As discussed on the list, split the foreign SCM interoperability packages and documentation from the git-core binary package. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Nov 5, 2005 at 02:39 UTC
d071e8dbb6849d40038db2d98a601395fe7b0b73
9 files changed
+68
-4
Makefile
+2
-2
@@ -450,8 +450,8 @@ clean:
450
rm -f git-core.spec *.pyc *.pyo
451
rm -rf $(GIT_TARNAME)
452
rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
453
- rm -f git-core_$(GIT_VERSION)-*.deb git-core_$(GIT_VERSION)-*.dsc
454
- rm -f git-tk_$(GIT_VERSION)-*.deb
453
+ rm -f git-core_$(GIT_VERSION)-*.dsc
454
+ rm -f git-*_$(GIT_VERSION)-*.deb
455
$(MAKE) -C Documentation/ clean
456
$(MAKE) -C templates clean
457
$(MAKE) -C t/ clean
debian/changelog
+7
@@ -1,3 +1,10 @@
1
+git-core (0.99.9-1) unstable; urgency=low
2
+
3
+ * Split the git-core binary package into core, doc, and foreign SCM
4
+ interoperability modules.
5
+
6
+ -- Junio C Hamano <junkio@cox.net> Sat, 5 Nov 2005 11:18:13 -0800
7
+
8
git-core (0.99.9-0) unstable; urgency=low
9
10
* GIT 0.99.9
debian/control
+38
-1
@@ -8,7 +8,7 @@ Standards-Version: 3.6.1
8
Package: git-core
9
Architecture: any
10
Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}, rcs
11
-Recommends: rsync, curl, ssh, libmail-sendmail-perl, libemail-valid-perl, libsvn-core-perl (>= 1.2.1), python (>= 2.4.0), less
11
+Recommends: rsync, curl, ssh, python (>= 2.4.0), less
12
Suggests: cogito, patch
13
Conflicts: git, cogito (<< 0.13)
14
Description: The git content addressable filesystem
@@ -18,9 +18,46 @@ Description: The git content addressable filesystem
18
enables human beings to work with the database in a manner to a degree
19
similar to other SCM tools.
20
21
+Package: git-doc
22
+Architecture: all
23
+Depends: ${shlibs:Depends}, ${misc:Depends}, git-core, tk8.4
24
+Description: The git content addressable filesystem, Documentation
25
+ This package contains documentation for GIT.
26
+
27
Package: git-tk
28
Architecture: all
29
Depends: ${shlibs:Depends}, ${misc:Depends}, git-core, tk8.4
30
Description: The git content addressable filesystem, GUI add-on
31
This package contains 'gitk', the git revision tree visualizer.
32
33
+Package: git-svn
34
+Architecture: all
35
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, git-core, libsvn-core-perl (>= 1.2.1)
36
+Suggests: subversion
37
+Description: The git content addressable filesystem, SVN interoperability
38
+ This package contains 'git-svnimport', to import development history from
39
+ SVN repositories.
40
+
41
+Package: git-arch
42
+Architecture: all
43
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, git-core
44
+Suggests: tla, bazaar
45
+Description: The git content addressable filesystem, GNUArch interoperability
46
+ This package contains 'git-archimport', to import development history from
47
+ GNUArch repositories.
48
+
49
+Package: git-cvs
50
+Architecture: all
51
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, git-core
52
+Suggests: cvs
53
+Description: The git content addressable filesystem, CVS interoperability
54
+ This package contains 'git-cvsimport', to import development history from
55
+ CVS repositories.
56
+
57
+Package: git-email
58
+Architecture: all
59
+Depends: ${shlibs:Depends}, ${misc:Depends}, git-core, libmail-sendmail-perl, libemail-valid-perl
60
+Description: The git content addressable filesystem, e-mail add-on
61
+ This package contains 'git-send-email', to send a series of patch e-mails.
62
+
63
+
debian/git-arch.files
new
+2
@@ -0,0 +1,2 @@
1
+/usr/bin/git-archimport
2
+/usr/share/doc/git-core/git-archimport.*
debian/git-cvs.files
new
+2
@@ -0,0 +1,2 @@
1
+/usr/bin/git-cvsimport
2
+/usr/share/doc/git-core/git-cvsimport.*
debian/git-doc.files
new
+7
@@ -0,0 +1,7 @@
1
+/usr/share/doc/git-core/git-*.txt
2
+/usr/share/doc/git-core/git-*.html
3
+/usr/share/doc/git-core/*/*.html
4
+/usr/share/doc/git-core/*/*.txt
5
+
6
+
7
+
debian/git-email.files
new
+2
@@ -0,0 +1,2 @@
1
+/usr/bin/git-send-email
2
+/usr/share/doc/git-core/git-send-email.*
debian/git-svn.files
new
+2
@@ -0,0 +1,2 @@
1
+/usr/bin/git-svnimport
2
+/usr/share/doc/git-core/git-svnimport.*
debian/rules
+6
-1
@@ -41,7 +41,7 @@ MAN_DESTDIR := $(DESTDIR)/$(MANDIR)
41
build: debian/build-stamp
42
debian/build-stamp:
43
dh_testdir
44
- $(MAKE) prefix=$(PREFIX) PYTHON_PATH=/usr/bin/python2.4 all doc test
44
+ $(MAKE) prefix=$(PREFIX) PYTHON_PATH=/usr/bin/python2.4 all test doc
45
touch debian/build-stamp
46
47
debian-clean:
@@ -65,7 +65,12 @@ install: build
65
mkdir -p $(DOC_DESTDIR)
66
find $(DOC) '(' -name '*.txt' -o -name '*.html' ')' -exec install {} $(DOC_DESTDIR) ';'
67
68
+ dh_movefiles -p git-arch
69
+ dh_movefiles -p git-cvs
70
+ dh_movefiles -p git-svn
71
dh_movefiles -p git-tk
72
+ dh_movefiles -p git-email
73
+ dh_movefiles -p git-doc
74
dh_movefiles -p git-core
75
find debian/tmp -type d -o -print | sed -e 's/^/? /'
76