Skip to content
Snippets Groups Projects
Commit d2ee3cc1 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

stub of debian package configuration files - smasch sources are deployed in /usr/lib/smasch

parent 4cea22a4
No related branches found
No related tags found
1 merge request!264Resolve "prepare installable debian package"
......@@ -33,3 +33,12 @@ smash/htmlcov/
run-coverage.sh
media
#debian package tmp files
smasch_*.debian.tar.xz
smasch_*.dsc
smasch_*.orig.tar.xz
smasch_*_all.deb
smasch_*_amd64.build
smasch_*_amd64.changes
debian/
#!/bin/bash
ROOT=`pwd`
rm -rf debian
rm smasch_*.debian.tar.xz smasch_*.dsc smasch_*.orig.tar.xz smasch_*_all.deb smasch_*_amd64.build smasch_*_amd64.changes
find . -name "*.py[co]" -exec rm -f {} \;
find . -name "__pycache__" -exec rm -rf {} \;
mkdir debian
mkdir debian/smash
cp -r smash/web debian/smash/web
cp -r smash/smash debian/smash/smash
cp -r smash/db_scripts debian/smash/db_scripts
cp smash/manage.py debian/smash/manage.py
cp -r debian-template debian/debian-template
cp CHANGELOG debian/debian-template/changelog
CURRENT_VERSION=`cat CHANGELOG |grep smasch |head -1 | cut -f2 -d'(' | cut -f1 -d')'`
cd debian
dh_make -p smasch_$CURRENT_VERSION -s --createorig -e piotr.gawron@uni.lu -y -t $ROOT/debian/debian-template
rm debian/*.ex
rm debian/*.EX
debuild -us -uc
smasch for Debian
----------------
SMart SCHeduling - research study scheduling program
The program controls and simplifies the scheduling, and is able to manage a
big data base of patients. Smasch is also used to organize the daily
planning’s (delegation of tasks) for the different medical professionals
such as doctors, nurses and neuropsychologists.
-- Piotr Gawron <piotr.gawron@uni.lu> Tue, 27 Oct 2020 13:19:16 +0100
9
Source: smasch
Section: science
Priority: optional
Maintainer: Piotr Gawron <piotr.gawron@uni.lu>
Build-Depends: debhelper (>=9)
Standards-Version: 3.9.7
Homepage: https://git-r3lab.uni.lu/NCER-PD/scheduling-system/
#Vcs-Git: git://anonscm.debian.org/collab-maint/smasch.git
Vcs-Browser: https://git-r3lab.uni.lu/NCER-PD/scheduling-system.git
Package: smasch
Architecture: all
Section: science
Depends: ${misc:Depends}, python3(>=3.6)
Description: SMart SCHeduling - research study scheduling program
The program controls and simplifies the scheduling, and is able to manage a
big data base of patients. Smasch is also used to organize the daily
planning’s (delegation of tasks) for the different medical professionals
such as doctors, nurses and neuropsychologists.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: smasch
Source: https://git-r3lab.uni.lu/NCER-PD/scheduling-system/
Files: *
Copyright: 2020 Piotr Gawron piotr.gawron@uni.lu
2020 Carlos Vega carlos.vega@uni.lu
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
smasch_0.15.0_all.deb science optional
smash/manage.py /usr/lib/smasch
smash/web /usr/lib/smasch
smash/smash /usr/lib/smasch
smash/db_scripts /usr/lib/smasch
#!/usr/bin/make -f
%:
dh $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment