Packaging

LSC RPM

LSC can be packaged as a RedHat package.

To achieve this, connect on a Fedora or a RedHat host and build a package through the classic Maven way in lsc source directory:

cd lsc ; mvn package ; cd ..

Create the rpm build structure and copy the required files:

cd
mkdir -p rpmbuild/{SOURCES,SPECS,RPMS,SRPMS,BUILD,BUILDROOT}
cp target/lsc-core-*-dist.tar.gz rpmbuild/SOURCES
cp src/install/lsc.spec rpmbuild/SPECS

Launch the build:

rpmbuild -ba rpmbuild/SPECS/lsc.spec

LSC Debian packaging

LSC can be packaged as a DEB package.

To achieve this, connect on a Debian or a Ubuntu host, build a package through the classic Maven way in lsc source directory:

cd lsc ; mvn clean package

Copy the debian build structure inside the dist directory:

cp -aR src/install/debian target/lsc-core-*-dist/lsc-*/

Launch the build:

cd target/lsc-core-*-dist/lsc-*/
dpkg-buildpackage -b -kLSC