diff --git a/COPYRIGHT b/COPYRIGHT index 9908b6b87..acaba6844 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1,6 +1,6 @@ klayout is packaged by Peter C.S. Scholtens and Matthias Köfferlein -and was obtained from https://www.klayout.org/downloads/source/klayout-0.27.4.tar.gz +and was obtained from https://www.klayout.org/downloads/source/klayout-%VERSION%.tar.gz Authors: Matthias Köfferlein diff --git a/Changelog.Debian.templ b/Changelog.Debian.templ new file mode 100644 index 000000000..9f2db588b --- /dev/null +++ b/Changelog.Debian.templ @@ -0,0 +1,7 @@ +klayout (%VERSION%) unstable; urgency=low + + * New features and bugfixes + - See changelog + + -- Matthias Köfferlein %NOW% + diff --git a/scripts/makedeb.sh b/scripts/makedeb.sh index 383531f99..9bf435bc2 100755 --- a/scripts/makedeb.sh +++ b/scripts/makedeb.sh @@ -39,7 +39,6 @@ version="${KLAYOUT_VERSION//-*/}" exe_name="klayout" bits=64 - umask 0022 echo "Checking $bits installation" @@ -101,8 +100,8 @@ mkdir -p makedeb-tmp/${bindir} cp etc/klayout.desktop makedeb-tmp/${sharedir}/applications cp etc/logo.png makedeb-tmp/${sharedir}/pixmaps/klayout.png cp Changelog makedeb-tmp/${sharedir}/doc/klayout/changelog -cp Changelog.Debian makedeb-tmp/${sharedir}/doc/klayout/changelog.Debian -cp COPYRIGHT makedeb-tmp/${sharedir}/doc/klayout/copyright +sed "s/%NOW%/$now/;s/%VERSION%/$version/" makedeb-tmp/${sharedir}/doc/klayout/changelog.Debian +sed "s/%VERSION%/$version/" makedeb-tmp/${sharedir}/doc/klayout/copyright cp -pd $bininstdir/strm* makedeb-tmp/${bindir} cp -pd $bininstdir/klayout makedeb-tmp/${bindir} @@ -115,7 +114,7 @@ for d in db tl rdb; do mkdir -p makedeb-tmp/${pylibdir}/$d cp -pd $bininstdir/pymod/klayout/$d/*py makedeb-tmp/${pylibdir}/$d done -sed "s/%VERSION%/${KLAYOUT_VERSION//-*/}/g" makedeb-tmp/${distpackdir}/klayout.egg-info +sed "s/%VERSION%/$version/g" makedeb-tmp/${distpackdir}/klayout.egg-info cd makedeb-tmp