debian/resize-gd-debian

changeset 0:5fa0beba15d8

inital commit
author meillo@marmaro.de
date Sat, 14 Jun 2008 19:19:02 +0200
parents
children 69dc44a72af3
files changelog compat control copyright rules
diffstat 5 files changed, 120 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/changelog	Sat Jun 14 19:19:02 2008 +0200
     1.3 @@ -0,0 +1,6 @@
     1.4 +resize-gd (0.2-1) unstable; urgency=low
     1.5 +
     1.6 +  * Initial release (Closes: #nnnn)
     1.7 +
     1.8 + -- markus schnalke <meillo@marmaro.de>  Sat, 14 Jun 2008 18:12:24 +0200
     1.9 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/compat	Sat Jun 14 19:19:02 2008 +0200
     2.3 @@ -0,0 +1,1 @@
     2.4 +5
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/control	Sat Jun 14 19:19:02 2008 +0200
     3.3 @@ -0,0 +1,27 @@
     3.4 +Source: resize-gd
     3.5 +Section: graphics
     3.6 +Priority: extra
     3.7 +Maintainer: markus schnalke <meillo@marmaro.de>
     3.8 +Homepage: http://prog.marmaro.de/resize-gd
     3.9 +Build-Depends: debhelper (>= 5), libgd2-noxpm-dev | libgd2-xpm-dev
    3.10 +Standards-Version: 3.8.0
    3.11 +
    3.12 +Package: resize-gd
    3.13 +Architecture: i386
    3.14 +Depends: ${shlibs:Depends}
    3.15 +Description: resizes images using the gd-library
    3.16 + The program has two modes:
    3.17 + * aspect ratio of the images is preserved and only shrinking is done. Smaller
    3.18 +   images remain unmodified.
    3.19 + * the images are resized to match a specific size. The images probably get
    3.20 +   stretched and enlarged.
    3.21 + .
    3.22 + All resizing is done in-place.
    3.23 + .
    3.24 + Only JPEG and PNG files are supported. The filetype is detected by the
    3.25 + filename suffix which has to be either ‘.jpg’ or ‘.png’ (in lowercase
    3.26 + letters). Unsupported files get skipped.
    3.27 + .
    3.28 + This program is meant to be a small(er) alternative to the mogrify -resize
    3.29 + command of ImageMagick. Mainly because ImageMagick has lots of dependencies,
    3.30 + while the GD-Library has less.
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/copyright	Sat Jun 14 19:19:02 2008 +0200
     4.3 @@ -0,0 +1,26 @@
     4.4 +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
     4.5 +Debianized-By: markus schnalke <meillo@marmaro.de>
     4.6 +Debianized-Date: Sat, 14 Jun 2008 18:16:40 +0200
     4.7 +Original-Source: http://prog.marmaro.de/resize-gd
     4.8 +
     4.9 +Files: *
    4.10 +Copyright: 2008 by markus schnalke <meillo@marmaro.de>
    4.11 +License: MIT/X Consortium
    4.12 + Permission is hereby granted, free of charge, to any person obtaining
    4.13 + a copy of this software and associated documentation files (the
    4.14 + "Software"), to deal in the Software without restriction, including
    4.15 + without limitation the rights to use, copy, modify, merge, publish,
    4.16 + distribute, sublicense, and/or sell copies of the Software, and to
    4.17 + permit persons to whom the Software is furnished to do so, subject to
    4.18 + the following conditions:
    4.19 + .
    4.20 + The above copyright notice and this permission notice shall be included
    4.21 + in all copies or substantial portions of the Software.
    4.22 + .
    4.23 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    4.24 + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    4.25 + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    4.26 + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    4.27 + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    4.28 + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    4.29 + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/rules	Sat Jun 14 19:19:02 2008 +0200
     5.3 @@ -0,0 +1,60 @@
     5.4 +#!/usr/bin/make -f
     5.5 +
     5.6 +
     5.7 +#CFLAGS = -Wall -g
     5.8 +
     5.9 +#ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
    5.10 +#CFLAGS += -O0
    5.11 +#else
    5.12 +#CFLAGS += -O2
    5.13 +#endif
    5.14 +
    5.15 +
    5.16 +
    5.17 +build: build-stamp
    5.18 +
    5.19 +build-stamp:
    5.20 +	dh_testdir
    5.21 +	$(MAKE)
    5.22 +	touch $@
    5.23 +
    5.24 +
    5.25 +clean:
    5.26 +	dh_testdir
    5.27 +	dh_testroot
    5.28 +	rm -f build-stamp
    5.29 +	-$(MAKE) realclean
    5.30 +	dh_clean
    5.31 +
    5.32 +
    5.33 +install: build
    5.34 +	dh_testdir
    5.35 +	dh_testroot
    5.36 +	dh_clean -k
    5.37 +	dh_installdirs
    5.38 +	$(MAKE) DESTDIR=$(CURDIR)/debian/resize-gd install PREFIX=/usr
    5.39 +
    5.40 +binary: binary-arch binary-indep
    5.41 +binary-indep:
    5.42 +# Build architecture-dependent files here.
    5.43 +binary-arch: build install
    5.44 +	dh_testdir
    5.45 +	dh_testroot
    5.46 +	dh_installchangelogs
    5.47 +	dh_installdocs
    5.48 +	dh_installexamples
    5.49 +#	dh_install
    5.50 +	dh_installman
    5.51 +	dh_link
    5.52 +	dh_strip
    5.53 +	dh_compress
    5.54 +	dh_fixperms
    5.55 +	dh_makeshlibs
    5.56 +	dh_installdeb
    5.57 +	dh_shlibdeps
    5.58 +	dh_gencontrol
    5.59 +	dh_md5sums
    5.60 +	dh_builddeb
    5.61 +
    5.62 +
    5.63 +.PHONY: build clean binary binary-arch binary-indep install