diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cf08cbc8147963f6057306be3e05d84a96370bf4..a9511707c42360aed250e393c11c97a1a748ce31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,11 +100,61 @@ create-debian-packages: %: ##TAB##dh \$@ --with dist-zilla RULES + - | + cat <<CONTROL | sed -e "s/##TAB##/\\t/g" > debian/control + Source: tools-for-technical-analysts + Priority: extra + Maintainer: andreas.romeyke@slub-dresden.de + Section: main + Build-Depends: apt-file, \ + apt-utils, \ + asciidoc-base, \ + asciidoctor, \ + bash, \ + build-essential, \ + coreutils, \ + cpanminus, \dh-make-perl, \ + dh-dist-zilla, \ + git, \ + libapp-cmd-perl, \ + libc-dev-bin, \ + libc6-dev, \ + libcryptx-perl, \ + libdate-calc-perl, \ + libdata-printer-perl, \ + libperl-prereqscanner-perl, \ + libperl-version-perl, \ + libregexp-optimizer-perl, \ + libsoap-lite-perl, \ + libssl-dev, \ + libsys-cpu-perl, \ + libtest-cmd-perl, \ + libtext-csv-perl, \ + libtext-csv-xs-perl, \ + zlib1g-dev + + Package: tools-for-technical-analysts + Architecture: any + Section: main + Priority: extra + Description: Tools for Technical Analysts for Archivematica, an open source based digital preservation system by Artefactual + Depends: libcryptx-perl, \ + libdate-calc-perl, \ + libdata-printer-perl, \ + libperl-prereqscanner-perl, \ + libperl-version-perl, \ + libregexp-optimizer-perl, \ + libsoap-lite-perl + CONTROL + - | + cat <<CHANGELOG > debian/changelog + tools-for-technical-analysts (1.0) stable; urgency=medium + CHANGELOG + - echo 10 > debian/compat + - echo "(c) 2015-2024 Romeyke @ SLUB Dresden" > debian/copyright - cat -e debian/rules - ls -lha ../ - - make -f debian/rules get-orig-source - - make -f debian/rules build - - make -f debian/rules install + - dpkg-buildpackage -uc -us - ls -lha ./ - ls -lha ../ #- cd ../ ; dh-make-perl ${CI_PROJECT_DIR}