Packaging set up
This commit is contained in:
parent
985355d780
commit
ea4f7b8b0e
|
@ -0,0 +1,4 @@
|
||||||
|
library
|
||||||
|
files
|
||||||
|
*debhelper*
|
||||||
|
*.substvars
|
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
9
|
|
@ -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
|
|
@ -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.
|
|
@ -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
|
4
setup.py
4
setup.py
|
@ -1,8 +1,8 @@
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
setup(name="librarian",
|
setup(name="librarian",
|
||||||
description="Library Management Software for CSC",
|
description="Library Management Software for CSC",
|
||||||
author="jladan"
|
author="jladan",
|
||||||
version="1.0",
|
version="1.0",
|
||||||
packages=['library','library.interface']
|
packages=['library','library.interface'],
|
||||||
scripts=["librarian"]
|
scripts=["librarian"]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue