diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..e7c2110 --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,4 @@ +library +files +*debhelper* +*.substvars diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6375984 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +library (1.0-1) UNRELEASED; urgency=low + + * Initial release. (Closes: #XXXXXX) + + -- John Ladan Sun, 12 Jan 2014 19:19:10 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d4f9551 --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: library +Section: admin +Priority: optional +Maintainer: Systems Committee +Uploaders: John Ladan , +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 diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..76f0cb7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Michael Spang 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. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6182178 --- /dev/null +++ b/debian/rules @@ -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 diff --git a/setup.py b/setup.py index 91a9e7e..03209ee 100644 --- a/setup.py +++ b/setup.py @@ -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"] )