--- gexec-0.4.orig/debian/copyright +++ gexec-0.4/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Johann Rudloff on +Thu, 2 Nov 2006 19:18:45 +0100. + +It was downloaded from http://www.electricmonk.nl/index.php?page=GExec + +Upstream Author: Ferry Boender + +Copyright: + + Copyright (C) 2004 Ferry Boender + + +License: + + 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 2 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, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +On Debian systems, the complete text of the GNU General Public +License can be found in the file `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2006, Johann Rudloff and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- gexec-0.4.orig/debian/docs +++ gexec-0.4/debian/docs @@ -0,0 +1 @@ +README --- gexec-0.4.orig/debian/changelog +++ gexec-0.4/debian/changelog @@ -0,0 +1,12 @@ +gexec (0.4-1) unstable; urgency=low + + * New upstream release (closes: #413614) + * debian/gexec.1: removed, it's now included in upstream source + + -- Johann Rudloff Mon, 2 Apr 2007 10:43:03 +0200 + +gexec (0.3-1) unstable; urgency=low + + * Initial release + + -- Johann Rudloff Wed, 17 Jan 2007 07:04:57 +0100 --- gexec-0.4.orig/debian/rules +++ gexec-0.4/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f +# -*- makefile -*- +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp + +build-stamp: + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) install DESTDIR=$(CURDIR)/debian/gexec + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGELOG + dh_installdocs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- gexec-0.4.orig/debian/compat +++ gexec-0.4/debian/compat @@ -0,0 +1 @@ +5 --- gexec-0.4.orig/debian/watch +++ gexec-0.4/debian/watch @@ -0,0 +1,3 @@ +# watch control file for uscan +version=3 +http://projects.electricmonk.nl/files/gExec/gexec-(.*)\.tar\.gz --- gexec-0.4.orig/debian/control +++ gexec-0.4/debian/control @@ -0,0 +1,15 @@ +Source: gexec +Section: x11 +Priority: optional +Maintainer: Johann Rudloff +Build-Depends: debhelper (>= 5), libgtk2.0-dev, libglib2.0-dev +Standards-Version: 3.7.2 + +Package: gexec +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: gksu, xterm +Description: Small command executer with autocompletion using GTK+ + gexec is a small and simple command executer using GTK+. It features + autocompletition and a command history. Furthermore gexec can run + the chosen command as root or in a terminal emulator. --- gexec-0.4.orig/Makefile +++ gexec-0.4/Makefile @@ -7,7 +7,7 @@ main: gexec gexec: autocomp.o gexec.o $(CC) autocomp.o gexec.o -o gexec $(LIBS) $(INCS) $(FLAGS) - strip gexec + gexec.o: gexec.c $(CC) -c gexec.c $(INCS) $(FLAGS) autocomp.o: autocomp.c autocomp.h @@ -16,5 +16,5 @@ -rm gexec -rm *.o install: - -cp gexec /usr/local/bin - -cp gexec.1 /usr/local/man/man1/ + install -m755 -D gexec $(DESTDIR)/usr/bin/gexec + install -m644 -D gexec.1 $(DESTDIR)/usr/share/man/man1/gexec.1