debian/0000755000000000000000000000000011312317505007164 5ustar debian/watch0000644000000000000000000000010311135477211010213 0ustar version=3 http://supercat.nosredna.net/supercat-([\d\.]+)\.tar\.gz debian/copyright0000644000000000000000000000236411311254051011117 0ustar This package was debianized by Kumar Appaiah on Tue, 13 Nov 2007 13:12:39 +0530. It was downloaded from Upstream Authors: Thomas Anderson Copyright: Copyright © 2007, 2008 Thomas G. Anderson License: This package 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 package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. The Debian packaging is (C) 2007, Kumar Appaiah and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/compat0000644000000000000000000000000211135477211010366 0ustar 5 debian/patches/0000755000000000000000000000000011312324473010615 5ustar debian/patches/manpage_fix.diff0000644000000000000000000000166411311254051013725 0ustar This patch fixes the spacing of misaligned paragraphs in the man page. Index: b/doc/spc.1 =================================================================== --- a/doc/spc.1 +++ b/doc/spc.1 @@ -109,7 +109,7 @@ \fBA\fR - Color Attribute (column 26) This is a color attribute which may take on one of the following values: '-':normal, 'b':bold, 'u':underline, -'r':reverse or 'k':blink. A space ' ' defaults to '-':normal. + 'r':reverse or 'k':blink. A space ' ' defaults to '-':normal. .TP \fBN\fR - Number of matches to color (column 28) This is a single digit number that indicates the number of @@ -120,7 +120,7 @@ This is a single character which may take on the following values: 'r':regular expression, 's':string, 'c':characters or 't':unix time conversion RE. A space ' ' defaults to -'r':RE. + 'r':RE. An extended regular expression (see regex(7)) specifies the pattern to match and the pattern or sub-pattern(s) to color. debian/patches/series0000644000000000000000000000002111312272467012030 0ustar manpage_fix.diff debian/spcrc0000644000000000000000000000056011135477211010226 0ustar # A default configuration for spc to work by default on Debian. # I choose blue for terminals because most people would have a # white or black background on their terminals. # HTML COLOR NAME COL A N T STRING or REGULAR EXPRESSION #################### ### # # # ################################################################ Black blu (.*) debian/install0000644000000000000000000000003211135477211010554 0ustar debian/spcrc etc/supercat debian/rules0000755000000000000000000000645511312317454010261 0ustar #!/usr/bin/make -f # -*- makefile -*- DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) # Package name PACKAGE_NAME = supercat # Install program INSTALL = install INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 # The installation directory PACKAGE_DIR = debian/$(PACKAGE_NAME) CFLAGS ?= -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) else CROSS= --build $(DEB_BUILD_GNU_TYPE) endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif config.status: configure $(checkdir) ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" build: build-stamp build-stamp: config.status $(checkdir) $(MAKE) touch $@ clean: checkroot $(checkdir) rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean rm -f config.sub config.guess rm -rf $(PACKAGE_DIR) debian/files debian/substvars install: checkroot build $(checkdir) $(MAKE) DESTDIR=$(CURDIR)/$(PACKAGE_DIR) install # Build architecture-independent files here. binary-indep: checkroot build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: checkroot build install $(checkdir) $(INSTALL_DIR) $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/ for i in doc/spc.txt debian/README.Debian;do \ $(INSTALL_FILE) -m 644 $$i $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/; \ done; $(INSTALL_FILE) -m 644 ChangeLog $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog $(INSTALL_FILE) -m 644 debian/changelog $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog.Debian for i in $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog*;do \ gzip -9v $$i; \ done; $(INSTALL_FILE) -m 644 debian/copyright $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/copyright $(INSTALL_DIR) $(PACKAGE_DIR)/etc/$(PACKAGE_NAME) $(INSTALL_DIR) $(PACKAGE_DIR)/usr/share/man/man1 $(INSTALL_FILE) -m 644 doc/spc.1 $(PACKAGE_DIR)/usr/share/man/man1 gzip -9v $(PACKAGE_DIR)/usr/share/man/*/* # Strip binaries (including hack by policy wonks) ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) strip -R.note -R.comment $(PACKAGE_DIR)/usr/bin/* endif dpkg-shlibdeps $(PACKAGE_DIR)/usr/bin/spc $(INSTALL_DIR) $(PACKAGE_DIR)/DEBIAN cd $(PACKAGE_DIR) && ls etc/$(PACKAGE_NAME)/*|sed 's|^|/|' > DEBIAN/conffiles cd $(PACKAGE_DIR) && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums dpkg-gencontrol -p$(PACKAGE_NAME) -P$(PACKAGE_DIR) dpkg-deb --build $(PACKAGE_DIR) .. binary: binary-indep binary-arch define checkdir test -f src/spc.h && test -f debian/rules endef checkroot: $(checkdir) test root = "`whoami`" .PHONY: build clean binary-indep binary-arch binary install debian/control0000644000000000000000000000140011312317454010565 0ustar Source: supercat Section: utils Priority: optional Maintainer: Kumar Appaiah Build-Depends: autotools-dev, quilt Standards-Version: 3.8.3 Homepage: http://supercat.nosredna.net/ Vcs-Browser: http://git.debian.org/?p=users/akumar/supercat.git Vcs-Git: git://git.debian.org/git/users/akumar/supercat.git Package: supercat Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: program that colorizes text for terminals and HTML Supercat is a program that colorizes text based on matching regular expressions/strings/characters. Supercat supports html output as well as standard ASCII text. Unlike some text-colorizing programs that exist, Supercat does not require you to have to be a programmer to make colorization rules. debian/changelog0000644000000000000000000000303311312317454011040 0ustar supercat (0.5.5-4) unstable; urgency=low * debian/rules, debian/control: + Move to a build system without debhelper. + Move to 3.0 (quilt) format. -- Kumar Appaiah Wed, 16 Dec 2009 17:59:43 -0600 supercat (0.5.5-3) unstable; urgency=low * debian/control: + Update maintainer e-mail address. + Update Vcs-* locations. * debian/rules: + Update to fix detecting cross building. + Set default CFLAGS to -g -O2. -- Kumar Appaiah Sun, 20 Apr 2008 15:30:27 +0530 supercat (0.5.5-2) unstable; urgency=low * Clean .diff.gz by removing configure, config.log changes. -- Kumar Appaiah Thu, 21 Feb 2008 19:13:19 +0530 supercat (0.5.5-1) unstable; urgency=low * New upstream release. * debian/patches/manpage_fix.diff: + Updated for new release. -- Kumar Appaiah Tue, 19 Feb 2008 07:15:53 +0530 supercat (0.5.4-1) unstable; urgency=low * New upstream release. * debian/patches: + Remove manpage_fix.diff, as it is merged with upstream. * debian/control: + Standards Version is now 3.7.3. * Remove unnecessary whitespace in rules, control and copyright. -- Kumar Appaiah Mon, 10 Dec 2007 09:19:51 +0530 supercat (0.5.3-1) unstable; urgency=low * Initial release (Closes: #451082) * Provide a sane, default spcrc. * Add debian/patches/manpage_fix.diff to clean up man page hyphen escapes. -- Kumar Appaiah Tue, 13 Nov 2007 13:12:39 +0530 debian/source/0000755000000000000000000000000011312317454010467 5ustar debian/source/format0000644000000000000000000000001411312325404011667 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000004111135477211010036 0ustar doc/spc.txt debian/README.Debian debian/README.Debian0000644000000000000000000000060211135477211011227 0ustar supercat for Debian ------------------- The default spcrc uses a blue colour since I believe it should take care of situations where users have white or black terminal backgrounds. But if your background is the same blue, beware! Full details on how to write a configuration file are present in the man page. -- Kumar Appaiah , Tue, 13 Nov 2007 14:12:06 +0530