introduce spec file and related build scripts

The repository now contains a Vagrantfile for running the testing script
against an RPM package created locally using `make rpm`. To run this
test use `make vagrant-test`. setup.py was also modified to adhere to
packaging guidelines and not to install system-level executables.
The lincense is now included in the Python package using the MANIFEST.in
file.
This commit is contained in:
Martin Sehnoutka 2019-07-17 15:53:21 +02:00 committed by Lars Karlitski
parent c5ec09a230
commit 3c19420b3e
7 changed files with 141 additions and 11 deletions

View file

@ -1,8 +1,8 @@
base:
$(OSBUILD) --input $(BASE_INPUT) --output $(BASE_OUTPUT) 1-create-base.json
up:
vagrant up
web:
$(OSBUILD) --input $(BASE_OUTPUT) --output $(WEB_OUTPUT) 2-configure-web-server.json
install-deps:
vagrant provision
qcow2:
$(OSBUILD) --input $(WEB_OUTPUT) --output $(QCOW2_OUTPUT) 3-compose-qcow2.json
run-tests-remotely:
vagrant ssh -c 'pushd /vagrant; sudo python3 run-tests.py'