--- liboglappth-0.96.orig/debian/control +++ liboglappth-0.96/debian/control @@ -0,0 +1,28 @@ +Source: liboglappth +Priority: optional +Maintainer: Debichem Team +Uploaders: LI Daobing , Michael Banck +Build-Depends: debhelper (>= 5), autotools-dev, dpatch, libgl1-mesa-dev, + libglu1-mesa-dev, freeglut3-dev +Standards-Version: 3.7.3 +Section: libs +Homepage: http://bioinformatics.org/ghemical/ghemical/ +Vcs-Browser: http://svn.debian.org/wsvn/debichem/ +Vcs-Svn: svn+ssh://svn.debian.org/svn/debichem/unstable/liboglappth/ + +Package: liboglappth-dev +Section: libdevel +Architecture: any +Depends: liboglappth1 (= ${binary:Version}), freeglut3-dev, + libglu1-mesa-dev, libgl1-mesa-dev +Description: Oglappth Library (Development Files) + A library for creating portable OpenGL applications with easy-to-code + scene setup and selection operations. + +Package: liboglappth1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Oglappth Library + A library for creating portable OpenGL applications with easy-to-code + scene setup and selection operations. --- liboglappth-0.96.orig/debian/compat +++ liboglappth-0.96/debian/compat @@ -0,0 +1 @@ +5 --- liboglappth-0.96.orig/debian/liboglappth-dev.install +++ liboglappth-0.96/debian/liboglappth-dev.install @@ -0,0 +1,4 @@ +usr/include +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* --- liboglappth-0.96.orig/debian/watch +++ liboglappth-0.96/debian/watch @@ -0,0 +1,4 @@ +# See uscan(1) for format + +version=3 +http://bioinformatics.org/ghemical/download/current/liboglappth-([\d\.]+)\.tar\.gz --- liboglappth-0.96.orig/debian/changelog +++ liboglappth-0.96/debian/changelog @@ -0,0 +1,19 @@ +liboglappth (0.96-3) unstable; urgency=low + + * debian/copyright: Point to GPL-2, not GPL. + + -- Michael Banck Sat, 05 Jan 2008 18:29:05 +0100 + +liboglappth (0.96-2) unstable; urgency=low + + * debian/copyright: Clarify that liboglappth is GPLv2only. + * debian/control (Uploaders): Added myself. + + -- Michael Banck Sun, 30 Dec 2007 01:52:22 +0100 + +liboglappth (0.96-1) unstable; urgency=low + + * Initial release (Closes: #447745). + + -- LI Daobing Tue, 23 Oct 2007 21:56:49 +0800 + --- liboglappth-0.96.orig/debian/copyright +++ liboglappth-0.96/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by LI Daobing on +Tue, 23 Oct 2007 21:56:49 +0800. + +It was downloaded from http://bioinformatics.org/ghemical/download/current/ + +Upstream Author: + + Tommi Hassinen + +Copyright: + + Copyright (C) 1998, 1999, 2005 Tommi Hassinen + +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; version 2 dated June, 1991. + + 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-2'. + +The Debian packaging is (C) 2007, LI Daobing and +is licensed under the GPL, see above. --- liboglappth-0.96.orig/debian/rules +++ liboglappth-0.96/debian/rules @@ -0,0 +1,101 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +# shared library versions, option 1 +version=2.0.5 +major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + # Add here commands to configure the package. +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 --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp +build-stamp: patch config.status + dh_testdir + $(MAKE) + touch $@ + +clean: clean1 unpatch +clean1: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + rm -f stamp.h + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- liboglappth-0.96.orig/debian/liboglappth1.install +++ liboglappth-0.96/debian/liboglappth1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- liboglappth-0.96.orig/debian/patches/01_liboglappth_pc_in.dpatch +++ liboglappth-0.96/debian/patches/01_liboglappth_pc_in.dpatch @@ -0,0 +1,17 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_liboglappth_pc_in.dpatch by LI Daobing +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: liboglappth should links with "-lglut -lGLU -lGL". + +@DPATCH@ +diff -urNad liboglappth~/liboglappth.pc.in liboglappth/liboglappth.pc.in +--- liboglappth~/liboglappth.pc.in 2007-08-17 17:15:31.000000000 +0800 ++++ liboglappth/liboglappth.pc.in 2007-11-09 03:07:59.000000000 +0800 +@@ -6,5 +6,5 @@ + Name: liboglappth + Description: A library for creating portable OpenGL applications with easy-to-code scene setup and selection operations. + Version: @VERSION@ +-Libs: -L${libdir} -loglappth ++Libs: -L${libdir} -loglappth -lglut -lGLU -lGL + Cflags: -I${includedir}/oglappth --- liboglappth-0.96.orig/debian/patches/00list +++ liboglappth-0.96/debian/patches/00list @@ -0,0 +1 @@ +01_liboglappth_pc_in