--- gliese-3.0.95.orig/debian/control +++ gliese-3.0.95/debian/control @@ -0,0 +1,21 @@ +Source: gliese +Section: non-free/science +Priority: optional +Maintainer: Francisco Manuel Garcia Claramonte +Uploaders: Javier Fernandez-Sanguino Pen~a , Kevin B. McCarty +Build-Depends: debhelper (>> 7.0.0) +Standards-Version: 3.8.4 +Homepage: http://starplot.org/datafiles.html + +Package: gliese +Architecture: all +Suggests: stardata-common, gliese-viewer +Depends: ${misc:Depends} +Description: stellar data set from the Third Catalogue of Nearby Stars + This package provides a star catalog which contains approximately + 3800 star records including the known stars nearer to Earth than + approximately 80 light-years, taken from the Third Catalogue of Nearby + Stars (preliminary edition), Gliese and Jahreiss, 1991. + . + This stellar data set may be viewed with the StarPlot program available + from Debian, but can also be used with other astronomical software. --- gliese-3.0.95.orig/debian/watch +++ gliese-3.0.95/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://starplot.org/datafiles.html data/gliese(\d+)-(.*)\.tar\.gz --- gliese-3.0.95.orig/debian/prerm +++ gliese-3.0.95/debian/prerm @@ -0,0 +1,26 @@ +#! /bin/sh +# postrm script for gliese + +set -e + +case "$1" in + remove|upgrade|deconfigure) + if [ -x /usr/sbin/register-stardata ] ; then + register-stardata remove gliese all + fi + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + + --- gliese-3.0.95.orig/debian/postinst +++ gliese-3.0.95/debian/postinst @@ -0,0 +1,32 @@ +#! /bin/sh +# postinst script for gliese +# + +set -e + + +ORIGDATA=/usr/share/stardata/gliese + +case "$1" in + configure) + if [ -x /usr/sbin/register-stardata ] ; then + register-stardata install gliese all + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- gliese-3.0.95.orig/debian/compat +++ gliese-3.0.95/debian/compat @@ -0,0 +1 @@ +7 --- gliese-3.0.95.orig/debian/rules +++ gliese-3.0.95/debian/rules @@ -0,0 +1,56 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + + +export ORIGDIR=$(CURDIR)/debian/gliese/usr/share/stardata/gliese + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + # nothing to do here either; due to copyright issues, we must + # create gliese.stars at install time (in the postinst script) + # rather than at build time + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + install -m 0644 orig-data/catalog.dat $(ORIGDIR) + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do here. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- gliese-3.0.95.orig/debian/docs +++ gliese-3.0.95/debian/docs @@ -0,0 +1,2 @@ +README +orig-data/ReadMe --- gliese-3.0.95.orig/debian/README.Debian +++ gliese-3.0.95/debian/README.Debian @@ -0,0 +1,27 @@ +Notes regarding this package +---------------------------- + +This package, from version 1.1-13, follows the stardata-common +policy. Thus it uses register-stardata to register this catalogue to +astronomy programs available in the system, converting this dataset to +their own data formats and uninstalling them when removing those programs or +this catalogue. + +If an astronomy program is installed that can use the Gliese data, +register-stardata stores the generated files in /var/lib/ +and it makes a symlink to this file from +/usr/share//gliese.dat, +removing both when uninstalling this package. + +Read more about stardata-common in http://alioth.debian.org/stardata-common + +-- Francisco Garcia Fri, 3 Jun 2005 00:30:16 +0200 + +--------------------------------------------------------- +It can also be used by other astronomical software which can understand +the 'Standard for Documentation of Astronomical Catalogues' (available at +several places including http://vizier.u-strasbg.fr/doc/catstd.htx). + +-- Javier Fernandez-Sanguino +Wed, 28 May 2003 16:28:31 +0200 + --- gliese-3.0.95.orig/debian/copyright +++ gliese-3.0.95/debian/copyright @@ -0,0 +1,61 @@ +This package was debianized by Javier Fernandez-Sanguino Peña +Tue, 13 Mar 2001 01:28:57 +0100. + +It was originally downloaded from +http://www.princeton.edu/~kmccarty/starplot.html +and was available to the public at http://adc.gsfc.nasa.gov. + +As of october 1, 2002, however, NASA discontinued the publication of this +data is now available at other Astronomical Data Center such as +CDS-France. The CDS service for astronomical catalogues is available at +http://cdsweb.u-strasbg.fr/cats/Cats.htx, and specifically, the catalog +of "Nearby Stars, Preliminary 3rd Version (Gliese+ 1991)" can be +retrieved from: http://cdsweb.u-strasbg.fr/viz-bin/Cat?V/70A + +Upstream Author: GLIESE W., JAHREISS H. + + +Copyright: +1991 (c) GLIESE W., JAHREISS H. + +COPYRIGHT NOTE + +It is safe to redistribute the files in the orig-data directory, +which, as noted above, are freely available on Astronomical Data Center +web sites. However, since these are copyrighted data, you may NOT redistribute +modified versions of them. This is why some astronomic software in Debian +which uses this data has to either use this raw data or, if the program +wants to use another format, needs to parse and reformat this package's +data on postinst. For example, starplot will generate StarPlot-format data +files (*.stars) at install time instead of providing them in the package. +I would advise that you NOT redistribute these *.stars data files. See +below for a detailed explanation. + + +The Makefile and .spec file of this data set are licensed under the GNU GPL +either version 2 of the License, or (at your option) any later version. +(GPL license file located in /usr/share/common-licenses/GPL-2), +of which you should have received a copy with the StarPlot documentation. +The GPL also applies to the text documentation (README, INSTALL) for this data +set, except where it would conflict with the licensing requirements described +below. The GPL does ***NOT*** apply to the star data files enclosed or +generated. The data files in the orig-data directory originate from the +Astronomical Data Center (http://adc.gsfc.nasa.gov) at NASA Goddard Space +Flight Center, and are copyrighted by their respective authors. Upon asking +the ADC about the permissibility of their redistribution, I was told the +following: + + Yes, you are free to distribute the files with your program. + Although, we do ask that you acknowledge, your source (the ADC) + and the original authors. + See: http://adc.gsfc.nasa.gov/adc/acknowledge_adc.html + for more information. + +My conclusions are that (1) you are free to redistribute the ADC data files. +However, (2) you must not delete any documentation giving credit for the data +files, for example in the README; and (3) the data files must NOT be altered in +any way (without permission of the original authors). Therefore (4) it is NOT +permissible to redistribute the *.stars files which the StarPlot conversion +program creates from the ADC data files. I have confirmed these conclusions +with the ADC. + --- gliese-3.0.95.orig/debian/changelog +++ gliese-3.0.95/debian/changelog @@ -0,0 +1,166 @@ +gliese (3.0.95-2) unstable; urgency=low + + * Updated to Debian policy 3.8.4 + * Added ${misc:Depends} depends to binary package, required by debhelper. + + -- Francisco Manuel Garcia Claramonte Thu, 18 Mar 2010 00:20:28 +0100 + +gliese (3.0.95-1) unstable; urgency=low + + * New upstream release. + * Updated to Debian policy 3.8.3 + * Updated Maintainer control field to @debian.org. + * Changed GPL reference to GPL-2 in debian/copyright. + * Added Homepage control field. + * Cleaned up debian/rules. + * Added debian/watch file. + + -- Francisco Manuel Garcia Claramonte Sat, 26 Sep 2009 18:22:06 +0200 + +gliese (1.1-16) unstable; urgency=low + + * Updated to Debian Policy 3.8.0.1 + * Updated depends control field from debhelper version 5 to 7. + * Modified debian/compat debhelper compatibility file to 7. + * Changed debian/rules install target to avoid a lintian warning. + * Changed debian/copyright to fix the .spec and Makefile license. + + -- Francisco Garcia Fri, 06 Feb 2009 00:44:33 +0100 + +gliese (1.1-15) unstable; urgency=low + + * No longer install gliese.spec; a newer version is installed elsewhere + (and has been for some time) by the starplot package. + + -- Kevin B. McCarty Fri, 11 Apr 2008 09:20:08 -0700 + +gliese (1.1-14) unstable; urgency=low + + * Updated to Debian Policy 3.7.3 + * Modified long description control field. Removed the spacechart + reference. + * Modified debian/rules clean process to catch error messages from + the clean or distclean rules. + * Modified the Build-Depends-Indep to Build-Depends control field. + + -- Francisco Garcia Sun, 10 Feb 2008 19:12:06 +0100 + +gliese (1.1-13) unstable; urgency=low + + * Changed the postinst and prerm scripts files according to stardata-common + policy. + * Added suggests relationship with stardata-common package and gliese-viewer + virtual package. + * Changed the extended description field in debian/control file. + * Updated to Debian Policy 3.6.2.1 + + -- Francisco Garcia Fri, 3 Jun 2005 00:31:49 +0200 + +gliese (1.1-12) unstable; urgency=low + + * New postinst change _really_ fixing the "upgrade when a symlink exists" + problem. + * Small changes to the postinst to make it more readable. + + -- Javier Fernandez-Sanguino Pen~a Wed, 8 Sep 2004 09:04:40 +0200 + +gliese (1.1-11) unstable; urgency=low + + [ As suggested by Kevin B. McCarty ] + * Adjusted postinst so that the target file is removed even if it's + a symlink to avoid the postinst from breaking in some upgrades. + * Removed trailing / in the OUTFILE definition + + -- Javier Fernandez-Sanguino Pen~a Mon, 6 Sep 2004 23:38:44 +0200 + +gliese (1.1-10) unstable; urgency=low + + * Fixed postinst code so that it will behave properly when installing + spacechart or starplot versions that do _not_ have /var/lib/ directories. + + -- Javier Fernandez-Sanguino Pen~a Sun, 5 Sep 2004 10:35:35 +0200 + +gliese (1.1-9) unstable; urgency=low + + * New maintainer, I'm setting myself as co-maintainer (Closes: #216878) + * Change perl check to -x check of the gliese2spacechart script + (so it can be written in other programming languages in the future) + * Fix postinst removing uneeded comments and coping with the fact that the + copyright warning might need to indicate more than one file. Also, + fix file locations (/usr/share has symlinks to files at /var/lib) + * Use gliese2spacechart (no .pl) and check if the output directory + exists before running the script + * Simplify removal process and take into account starplot symlinks + (might appear in some versions) + + -- Javier Fernandez-Sanguino Pen~a Fri, 3 Sep 2004 23:12:00 +0200 + +gliese (1.1-8) unstable; urgency=low + + * In postinst script converts the catalogue to spacechart data format + if it is installed. + * Changed the Section field in debian/control to non-free/science + * Updated to Debian Policy 3.6.1 + * Cleanup the unused calls in rules file + * Added the GPL file location to copyright + * Removed the INSTALL file from docs, unneeded in the + binary package + * Declared the Build-Depends-Indep control file field + + -- Francisco Garcia Mon, 26 Apr 2004 23:58:36 +0200 + +gliese (1.1-7) unstable; urgency=low + + * Added Build-Depends (Closes: #260008) + + -- Javier Fernandez-Sanguino Pen~a Sun, 18 Jul 2004 12:07:39 +0200 + +gliese (1.1-6) unstable; urgency=low + + * Fixed postinst so that the 'which' call does not break it + (should have know that this was going to happen due to the + set -e) + * Changed installation to /usr/share/stardata (that's where + starplot looks it in) + + -- Javier Fernandez-Sanguino Pen~a Thu, 29 May 2003 12:59:47 +0200 + +gliese (1.1-5) unstable; urgency=low + + * No longer depends on starplot being available, starconvert is + only run if it exists. + * No longer Depends: on starplot but Recommends: it + * TODO: Move data files from /usr/share/starplot to some common + place for all astronomical software (/usr/share/star-catalogue?) + * Updated Standards-Version + * Removed references to starplot-gliese-333 and changed them to just 'gliese' + + -- Javier Fernandez-Sanguino Pen~a Thu, 29 May 2003 10:34:38 +0200 + +gliese (1.1-4) unstable; urgency=low + + * Modifed debian/copyright + - Tried to clarify the issue better + - Added pointers to alternative locations (NASA has suspended ADS) + * Added more information on README.Debian and debian/control on + why it depends on starplot + + -- Javier Fernandez-Sanguino Pen~a Wed, 28 May 2003 16:10:59 +0200 + +gliese (1.1-3) unstable; urgency=low + + * Fixed description (Closes: #124677) + + -- Javier Fernandez-Sanguino Pen~a Tue, 3 Dec 2002 21:39:08 +0100 + +gliese (1.1-2) unstable; urgency=low + + * Information for the starplot package is not made after installation (Closes: #108447) + + -- Javier Fernandez-Sanguino Pen~a Wed, 15 Aug 2001 16:39:04 +0200 + +gliese (1.1-1) unstable; urgency=low + + * Initial Release. + + -- Javier Fernandez-Sanguino Pen~a Tue, 13 Mar 2001 01:28:57 +0100 --- gliese-3.0.95.orig/debian/dirs +++ gliese-3.0.95/debian/dirs @@ -0,0 +1 @@ +usr/share/stardata/gliese