Added a debian subdir for building debian packages.

2004-10-25  Vincent van Adrighem  <adrighem@gnome.org>

	* debian/*: Added a debian subdir for building debian packages.
This commit is contained in:
Vincent van Adrighem 2004-10-25 13:44:20 +00:00 committed by Vincent van Adrighem
parent 5764f340d4
commit 7a77504f57
15 changed files with 206 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-10-25 Vincent van Adrighem <adrighem@gnome.org>
* debian/*: Added a debian subdir. This dir contains buildscripts
for debian.
2004-10-22 Bart Hakvoort <gparted@users.sf.net> 2004-10-22 Bart Hakvoort <gparted@users.sf.net>
* configure.in: bumped to version 0.0.6 * configure.in: bumped to version 0.0.6

6
debian/README.debian vendored Normal file
View File

@ -0,0 +1,6 @@
gparted for Debian
----------------------
Comments regarding the Package
Vincent van Adrighem <adrighem@gnome.org>, Mon, 25 Oct 2004 15:08:08 +0200

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
gparted (0.0.6-1) unstable; urgency=low
* Initial release.
-- Vincent van Adrighem <adrighem@gnome.org> Mon, 25 Oct 2004 15:08:08 +0200

12
debian/control vendored Normal file
View File

@ -0,0 +1,12 @@
Source: gparted
Section: unknown
Priority: optional
Maintainer: Vincent van Adrighem <adrighem@gnome.org>
Standards-Version: 3.5.8
Build-Depends: debmake
Package: gparted
Architecture: any
Depends: ${shlibs:Depends}
Description: Missing
Missing

8
debian/copyright vendored Normal file
View File

@ -0,0 +1,8 @@
This package was debianized by Vincent van Adrighem adrighem@gnome.org on
Mon, 25 Oct 2004 15:08:08 +0200.
It was downloaded from <fill in ftp site>
Copyright:
<Must follow here>

1
debian/crontab.ex vendored Normal file
View File

@ -0,0 +1 @@
0 4 * * * root gparted_maintenance

2
debian/dirs vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin
usr/sbin

1
debian/diversions.ex vendored Normal file
View File

@ -0,0 +1 @@
<FILE> <Diverted to> <Packagename>

2
debian/inetd.conf.ex vendored Normal file
View File

@ -0,0 +1,2 @@
#:OTHER:
gparted stream tcp nowait root /usr/sbin/tcpd /usr/sbin/gparted

15
debian/info.ex vendored Normal file
View File

@ -0,0 +1,15 @@
# This is a configuration files for installing a .info menu
# The Description to be placed into the directory
DESCR="Description"
# The section this info file should be placed in (Regexp) followed by
# the new section name to be created if the Regexp does not match
# (Optional. If not given the .info will be appended to the directory)
#SECTION_MATCH="Regexp"
#SECTION_NAME="New Section Name"
# The file referred to from the Info directory
FILE=gparted.info
# Optional. The files to be copied to /usr/share/info
#FILES=*.info

51
debian/init.d.ex vendored Normal file
View File

@ -0,0 +1,51 @@
#!/bin/sh
#
# This file was automatically customized by debmake on Mon, 25 Oct 2004 15:08:08 +0200
#
# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.org>.
# Modified for Debian by Christoph Lameter <clameter@debian.org>
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/sbin/gparted
# The following value is extracted by debstd to figure out how to generate
# the postinst script. Edit the field to change the way the script is
# registered through update-rc.d (see the manpage for update-rc.d!)
FLAGS="defaults 50"
test -f $DAEMON || exit 0
case "$1" in
start)
start-stop-daemon --start --verbose --exec $DAEMON
;;
stop)
start-stop-daemon --stop --verbose --exec $DAEMON
;;
#reload)
#
# If the daemon can reload its config files on the fly
# for example by sending it SIGHUP, do it here.
#
# If the daemon responds to changes in its config file
# directly anyway, make this a do-nothing entry.
#
# start-stop-daemon --stop --signal 1 --verbose --exec $DAEMON
# ;;
restart|force-reload)
#
# If the "reload" option is implemented, move the "force-reload"
# option to the "reload" entry above. If not, "force-reload" is
# just the same as "restart".
#
start-stop-daemon --stop --verbose --exec $DAEMON
sleep 1
start-stop-daemon --start --verbose --exec $DAEMON
;;
*)
echo "Usage: /etc/init.d/gparted {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0

41
debian/manpage.1.ex vendored Normal file
View File

@ -0,0 +1,41 @@
.TH NAME SECTION
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH NAME
gparted \- programs to do something
.SH SYNOPSIS
.B gparted
.I "[options] files ..."
.br
.B bar
.I "[options] files ..."
.SH "DESCRIPTION"
This manual page documents briefly the
.BR gparted ,
and
.B bar
commands.
This manual page was written for the Debian GNU/Linux distribution
because the original program does not have a manual page.
Instead, it has documentation in the GNU Info format; see below.
.PP
.B gparted
is a program that...
.SH OPTIONS
The programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options are included below.
For a complete description, see the Info files.
.TP
.B \-h, \-\-help
Show summary of options.
.TP
.B \-v, \-\-version
Show version of program.
.SH "SEE ALSO"
The programs are documented fully by
.IR "The Rise and Fall of a Fooish Bar" ,
available via the Info system.
.SH AUTHOR
This manual page was written by Vincent van Adrighem <adrighem@gnome.org>,
for the Debian GNU/Linux system (but may be used by others).

2
debian/menu.ex vendored Normal file
View File

@ -0,0 +1,2 @@
?package(gparted):needs=X11|text|vc|wm section=Apps/see-menu-manual\
title="gparted" command="/usr/bin/gparted"

50
debian/rules vendored Executable file
View File

@ -0,0 +1,50 @@
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.
package=gparted
build:
$(checkdir)
./configure --prefix=/usr
$(MAKE) CFLAGS="-O2 -g -Wall"
touch build
clean:
$(checkdir)
rm -f build
-$(MAKE) distclean
rm -f `find . -name "*~"`
rm -rf debian/tmp debian/files* core debian/substvars
binary-indep: checkroot build
$(checkdir)
# There are no architecture-independent files to be uploaded
# generated by this package. If there were any they would be
# made here.
binary-arch: checkroot build
$(checkdir)
rm -rf debian/tmp
install -d debian/tmp
cd debian/tmp && install -d `cat ../dirs`
$(MAKE) install prefix=`pwd`/debian/tmp/usr
# Must have debmake installed for this to work. Otherwise please copy
# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
debstd ChangeLog NEWS README
dpkg-gencontrol -isp
chown -R root:root debian/tmp
chmod -R go=rX debian/tmp
dpkg --build debian/tmp ..
define checkdir
test -f debian/rules
endef
binary: binary-indep binary-arch
checkroot:
$(checkdir)
test root = "`whoami`"
.PHONY: binary binary-arch binary-indep clean checkroot

5
debian/watch.ex vendored Normal file
View File

@ -0,0 +1,5 @@
# Example watch control file for uscan
# Rename this file to "watch" and then you can run the "uscan" command
# to check for upstream updates and more.
# Site Directory Pattern Version Script
metalab.unc.edu /pub/Linux/Incomingu gparted-(.*)\.tar\.gz debian uupdate