Packaging set up

jessie
John Ladan 9 years ago
parent 985355d780
commit ea4f7b8b0e
  1. 4
      debian/.gitignore
  2. 5
      debian/changelog
  3. 1
      debian/compat
  4. 13
      debian/control
  5. 31
      debian/copyright
  6. 42
      debian/rules
  7. 4
      setup.py

4
debian/.gitignore vendored

@ -0,0 +1,4 @@
library
files
*debhelper*
*.substvars

5
debian/changelog vendored

@ -0,0 +1,5 @@
library (1.0-1) UNRELEASED; urgency=low
* Initial release. (Closes: #XXXXXX)
-- John Ladan <jladan@taurine.csclub.uwaterloo.ca> Sun, 12 Jan 2014 19:19:10 -0500

1
debian/compat vendored

@ -0,0 +1 @@
9

13
debian/control vendored

@ -0,0 +1,13 @@
Source: library
Section: admin
Priority: optional
Maintainer: Systems Committee <syscom@csclub.uwaterloo.ca>
Uploaders: John Ladan <jladan@csclub.uwaterloo.ca>,
Build-Depends: debhelper (>= 5.0.0), python3 (>= 3.2)
Standards-Version: 1.0
Package: library
Architecture: all
Depends: sqlite3, python3 (>= 3.2), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
Description: Computer Science Club Library Program
This package contains the CSC Library program

31
debian/copyright vendored

@ -0,0 +1,31 @@
This package was debianized by Michael Spang <mspang@uwaterloo.ca> on
Thu, 28 Dec 2006 04:07:03 -0500.
Copyright (c) 2006-2007, Michael Spang
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the University of Waterloo Computer Science Club
nor the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

42
debian/rules vendored

@ -0,0 +1,42 @@
#!/usr/bin/make -f
build:
clean:
dh_testdir
dh_testroot
dh_clean
python3 setup.py -q clean -a --build-base=build-library
rm -rf build-library
install: build
dh_testdir
dh_testroot
dh_installdirs
python3 setup.py -q build --build-base=build-library install --no-compile -O0 --prefix=/usr --root=debian/library
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installinit --name ceod -- start 95 2 3 4 5 . stop 05 0 1 6 .
dh_install
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_python3
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary-indep:
binary: binary-indep binary-arch
.PHONY: clean build binary-indep binary-arch binary install

@ -1,8 +1,8 @@
from distutils.core import setup
setup(name="librarian",
description="Library Management Software for CSC",
author="jladan"
author="jladan",
version="1.0",
packages=['library','library.interface']
packages=['library','library.interface'],
scripts=["librarian"]
)

Loading…
Cancel
Save