--- yale-5.0.95.orig/debian/control +++ yale-5.0.95/debian/control @@ -0,0 +1,20 @@ +Source: yale +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: yale +Architecture: all +Suggests: stardata-common, yale-viewer +Depends: ${misc:Depends} +Description: stellar data set from the Yale Bright Star Catalog + These data come from the [Yale] Bright Star Catalog, 5th Rev. Ed. + (preliminary), Hoffleit and Warren, 1991. It contains all + the stars with apparent magnitude brighter than +6.5. + . + This stellar data set may be viewed with StarPlot program available from + Debian, but can be used with other astronomical software. --- yale-5.0.95.orig/debian/watch +++ yale-5.0.95/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://starplot.org/datafiles.html data/yale(\d+)-(.*)\.tar\.gz + --- yale-5.0.95.orig/debian/prerm +++ yale-5.0.95/debian/prerm @@ -0,0 +1,27 @@ +#! /bin/sh +# prerm script for starplot-yale-5 +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + remove|upgrade|deconfigure) + if [ -x /usr/sbin/register-stardata ] ; then + register-stardata remove yale all + fi + ;; + failed-upgrade) + ;; + *) + echo "prerm 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 --- yale-5.0.95.orig/debian/postinst +++ yale-5.0.95/debian/postinst @@ -0,0 +1,32 @@ +#! /bin/sh +# postinst script for yale +# +# see: dh_installdeb(1) + +set -e + + + +case "$1" in + configure) + if [ -x /usr/sbin/register-stardata ] ; then + register-stardata install yale 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 --- yale-5.0.95.orig/debian/compat +++ yale-5.0.95/debian/compat @@ -0,0 +1 @@ +7 --- yale-5.0.95.orig/debian/rules +++ yale-5.0.95/debian/rules @@ -0,0 +1,62 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + + +# This is where to put the star data for use by the postinst script. +export ORIGDIR=$(CURDIR)/debian/yale/usr/share/stardata/yale + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + # nothing to do here + + 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 yale.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 + + # Add here commands to install the package into debian/yale/ + install -m 0644 orig-data/catalog.dat orig-data/notes.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 --- yale-5.0.95.orig/debian/docs +++ yale-5.0.95/debian/docs @@ -0,0 +1,2 @@ +README +orig-data/ReadMe --- yale-5.0.95.orig/debian/README.Debian +++ yale-5.0.95/debian/README.Debian @@ -0,0 +1,27 @@ +Notes regarding this package +---------------------------- + +This package, from version 1.0-12, follows the stardata-common +policy. Thus it uses register-stardata on installing and uninstalling. +It converts this stardata catalogue to data formats of all compatible +stardata viewer programs available in the system, and removes the +generated files on uninstall. + +If an astronomy program is installed that can use the Yale data, +register-stardata stores the generated files in /var/lib/ +and it makes a symlink to this file from +/usr/share//yale.stars, +removing both when uninstalling this package. + +Read more about stardata-common in http://alioth.debian.org/stardata-common + +-- Francisco Garcia Mon, 13 Jun 2005 21:31:32 +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 + --- yale-5.0.95.orig/debian/copyright +++ yale-5.0.95/debian/copyright @@ -0,0 +1,65 @@ +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 Bright Star Catalogue, 5th Revised Ed. (Preliminary Version)" +can be retrieved from: +http://cdsweb.u-strasbg.fr/viz-bin/Cat?V/50 + +Upstream Author: Hoffleit E.D., Warren Jr. W.H. + + + +Copyright: +1991 (c) Hoffleit E.D., Warren Jr. W.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. + --- yale-5.0.95.orig/debian/changelog +++ yale-5.0.95/debian/changelog @@ -0,0 +1,161 @@ +yale (5.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 Sun, 28 Feb 2010 11:41:19 +0100 + +yale (5.0.95-1) unstable; urgency=low + + * New upstream release + * Updated to Debian policy 3.8.3 + * Updated Maintainer control field to @debian.org. + * Added Homepage control field. + * Changed GPL reference to GPL-2 in debian/copyright. + * Added debian/watch file. + * Cleaned up debian/rules file. + + -- Francisco Manuel Garcia Claramonte Thu, 01 Oct 2009 11:50:41 +0200 + +yale (1.0-15) 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/copyright to fix the Makefile and .spec license. + * Fixed the debian/postinst and debian/prerm scripts according to + Debian Policy. + * Changed debian/rules install target to avoid a lintian warning. + + -- Francisco Garcia Mon, 09 Feb 2009 11:19:01 +0100 + +yale (1.0-14) unstable; urgency=low + + * No longer install yale.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:06:21 -0700 + +yale (1.0-13) unstable; urgency=low + + * Updated to Debian Policy 3.7.3 + * Changed the short description control field to make it more + clear. (Closes: #464434) + * Modified the Build-Depends-Indep to Build-Depends control field. + * Modified debian/rules clean process to catch error messages from + the clean or distclean rules. + * Added debian/compat file with compatibility version 5. + + -- Francisco Garcia Sun, 10 Feb 2008 17:48:55 +0100 + +yale (1.0-12) unstable; urgency=low + + * Changed the postinst and prerm scripts files according to stardata-common + policy. + * Added suggests relationship with stardata-common package and yale-viewer + virtual package. + * Changed the extended description field in debian/control file. + * Updated to Debian Policy 3.6.2.1 + + -- Francisco Garcia Tue, 14 Jun 2005 00:38:26 +0200 + +yale (1.0-11) 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:03:49 +0200 + +yale (1.0-10) 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:43 +0200 + +yale (1.0-9) 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:38:18 +0200 + +yale (1.0-8) unstable; urgency=low + + * New maintainer, I'm setting myself as co-maintainer (Closes: #216877) + * Change perl check to -x check of the gliese2spacechart script + (so it can be written in other programming languages in the future) + * Remove unneeded echo from the postinst + * Simplify removal process and take into account starplot symlinks + (might appear in some versions) + + -- Javier Fernandez-Sanguino Pen~a Fri, 3 Sep 2004 23:46:34 +0200 + +yale (1.0-7) unstable; urgency=low + + * Changed debian/control section field from non-free/math + to non-free/science + * Removed the Recommends field in debian/control + * Updated to Debian Policy 3.6.1 + * Cleanup the unused calls in rules file + * Added debhelper in Build-Depends-Indep control + file field + * Removed INSTALL from docs file, unneeded in the binary + file + * Added the GPL file location to copyright + + -- Francisco Garcia Fri, 30 Apr 2004 18:13:37 +0200 + +yale (1.0-6) unstable; urgency=low + + * Added Build-Depends (Closes: #260017) + + -- Javier Fernandez-Sanguino Pen~a Sun, 18 Jul 2004 12:06:46 +0200 + +yale (1.0-5) 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:58:32 +0200 + +yale (1.0-4) 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-yale-5 and changed them to just 'yale' + + -- Javier Fernandez-Sanguino Pen~a Thu, 29 May 2003 10:31:53 +0200 + +yale (1.0-3) unstable; urgency=low + + * Modified debian/copyright: + - add more information on were to obtain this catalogue + - better description of the copyright issues + * 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:20:31 +0200 + +yale (1.0-2) unstable; urgency=low + + * Changed package so the starplot data is generated on postinst. + + -- Javier Fernandez-Sanguino Pen~a Wed, 15 Aug 2001 17:29:00 +0200 + +yale (1.0-1) unstable; urgency=low + + * Initial Release. + + -- Javier Fernandez-Sanguino Pen~a Tue, 13 Mar 2001 01:28:57 +0100 --- yale-5.0.95.orig/debian/dirs +++ yale-5.0.95/debian/dirs @@ -0,0 +1 @@ +usr/share/stardata/yale