Ticket #1326: athinfo-distutils.patch

File athinfo-distutils.patch, 4.2 KB (added by vasilvv, 9 years ago)
  • configure.in

     
    1 dnl Process this file with autoconf to produce a configure script. 
    2 AC_INIT(athinfo) 
    3  
    4 AC_PROG_INSTALL 
    5  
    6 AC_OUTPUT(Makefile) 
  • setup.py

     
     1#!/usr/bin/python 
     2 
     3from distutils.core import setup 
     4 
     5setup(name='athinfo', 
     6      version='10.1', 
     7      description='Retrieve information about Athena workstations', 
     8      author='Evan Broder', 
     9      scripts=['athinfo'] 
     10    ) 
  • MANIFEST.in

     
     1include *.1 
     2include bash_completion 
     3include MANIFEST.in 
     4 
  • Makefile.in

     
    1 # $Id: Makefile.in,v 1.3 1999-09-15 23:56:32 danw Exp $ 
    2  
    3 SHELL=/bin/sh 
    4 VPATH=@srcdir@ 
    5 INSTALL=@INSTALL@ 
    6 INSTALL_PROGRAM=@INSTALL_PROGRAM@ 
    7 srcdir=@srcdir@ 
    8 top_srcdir=@top_srcdir@ 
    9 prefix=@prefix@ 
    10 exec_prefix=@exec_prefix@ 
    11 bindir=@bindir@ 
    12 mandir=@mandir@ 
    13 sysconfdir=@sysconfdir@ 
    14  
    15 CC=@CC@ 
    16 DEFS=@DEFS@ 
    17 CPPFLAGS=@CPPFLAGS@ 
    18 CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS} 
    19 LDFLAGS=@LDFLAGS@ 
    20 LIBS=@LIBS@ 
    21 ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS} 
    22  
    23 all: 
    24  
    25 check: 
    26  
    27 install: 
    28         ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} 
    29         ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1 
    30         ${top_srcdir}/mkinstalldirs ${DESTDIR}${sysconfdir}/bash_completion.d 
    31         ${INSTALL_PROGRAM} athinfo ${DESTDIR}${bindir} 
    32         ${INSTALL} -m 444 ${srcdir}/athinfo.1 ${DESTDIR}${mandir}/man1 
    33         ${INSTALL} -m 644 ${srcdir}/bash_completion ${DESTDIR}${sysconfdir}/bash_completion.d/athinfo 
    34  
    35 clean: 
    36  
    37 distclean: clean 
    38         rm -f config.cache config.log config.status Makefile 
  • debian/control

     
    22Section: debathena/net 
    33Priority: extra 
    44Maintainer: Debathena Project <debathena@mit.edu> 
    5 Build-Depends: cdbs, debhelper, dh-buildinfo, autoconf 
     5# FIXME: python-support should be replaced with dh_python2 once lucid 
     6# is no longer supported. 
     7Build-Depends: debhelper (>= 7), dh-buildinfo, bash-completion, python-support 
    68Standards-Version: 3.9.3 
    79 
    810Package: debathena-athinfo 
  • debian/debathena-athinfo.bash-completion

     
     1bash_completion athinfo 
  • debian/changelog

     
    11debathena-athinfo (10.1-0debathena2) UNRELEASED; urgency=low 
    22 
     3  [ Jonathan Reed ] 
    34  * Switch from control.in to control (Trac: #561) 
    45  * Bump Standards-Version to 3.9.3 
    56  * Bump compat level to 7 
    67 
     8  [ Victor Vasiliev ] 
     9  * Use Python distutils instead of autoconf 
     10  * Use debhelper7 
     11 
    712 -- Jonathan Reed <jdreed@mit.edu>  Wed, 03 Apr 2013 13:59:27 -0400 
    813 
    914debathena-athinfo (10.1-0debathena1) unstable; urgency=low 
  • debian/rules

     
    11#!/usr/bin/make -f 
    22 
    3 DEB_AUTO_UPDATE_AUTOCONF = 2.50 
    4 include /usr/share/cdbs/1/rules/debhelper.mk 
    5 include /usr/share/cdbs/1/class/autotools.mk 
     3%: 
     4        dh $@ --with bash-completion 
    65 
    7 clean:: 
    8         rm -f configure 
  • debian/debathena-athinfo.manpages

     
     1athinfo.1 
  • debian/source/format

     
     13.0 (quilt)