2021-05-17 Fred Gleason <fredg@paravelsystems.com>

* Added code to generate 'debian/changelog' and 'debian/control'
	automatically.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-05-17 12:55:17 -04:00
parent f702dc2da1
commit 0c600c7466
6 changed files with 23 additions and 8 deletions

View File

@ -21695,3 +21695,6 @@
* Fixed a regressions that broke the 'make deb' target. * Fixed a regressions that broke the 'make deb' target.
2021-05-17 Fred Gleason <fredg@paravelsystems.com> 2021-05-17 Fred Gleason <fredg@paravelsystems.com>
* Added 'compile' to the 'MAINTAINERCLEANFILES' rule. * Added 'compile' to the 'MAINTAINERCLEANFILES' rule.
2021-05-17 Fred Gleason <fredg@paravelsystems.com>
* Added code to generate 'debian/changelog' and 'debian/control'
automatically.

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
## ##
## (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com> ## (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
## ##
## Adapted from './autogen.sh' in the Jack Audio Connection Kit. ## Adapted from './autogen.sh' in the Jack Audio Connection Kit.
## Copyright (C) 2001-2003 Paul Davis, et al. ## Copyright (C) 2001-2003 Paul Davis, et al.
@ -20,6 +20,13 @@
## Boston, MA 02111-1307 USA ## Boston, MA 02111-1307 USA
## ##
#
# Generate Debian packaging metadata
#
DATESTAMP=`date +%a,\ %d\ %B\ %Y\ %T\ %z`
sed s/@VERSION@/`cat PACKAGE_VERSION`/ < debian/control.src > debian/control
sed s/@VERSION@/`cat PACKAGE_VERSION`/ < debian/changelog.src | sed "s/@DATESTAMP@/$DATESTAMP/" > debian/changelog
mkdir -p m4 mkdir -p m4
libtoolize=libtoolize libtoolize=libtoolize

5
debian/Makefile.am vendored
View File

@ -23,9 +23,14 @@
SUBDIRS = source SUBDIRS = source
EXTRA_DIST = changelog\ EXTRA_DIST = changelog\
changelog.src\
control\ control\
control.src\
copyright\ copyright\
postinst\ postinst\
postrm\ postrm\
prerm\ prerm\
rules rules
MAINTAINERCLEANFILES = changelog\
control

5
debian/changelog vendored
View File

@ -1,5 +0,0 @@
rivendell (4.0.0beta0-1) unstable; urgency=medium
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Fred Gleason <fredg@paravelsystems.com> Wed, 05 May 2021 14:12:22 -0400

5
debian/changelog.src vendored Normal file
View File

@ -0,0 +1,5 @@
rivendell (@VERSION@-1) unstable; urgency=medium
* Beta release (see ChangeLog for details)
-- Fred Gleason <fredg@paravelsystems.com> @DATESTAMP@

View File

@ -7,7 +7,7 @@ Standards-Version: 4.4.1
Package: rivendell Package: rivendell
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, mysql-client, libqt5sql5-mysql, apache2, curl, rsyslog, rivendell-pypad (= @VERSION@)
Description: Radio Broadcast Automation System Description: Radio Broadcast Automation System
Rivendell is a complete radio broadcast automation solution, with Rivendell is a complete radio broadcast automation solution, with
facilities for the acquisition, management, scheduling and playout of facilities for the acquisition, management, scheduling and playout of
@ -16,7 +16,7 @@ Description: Radio Broadcast Automation System
Package: rivendell-importers Package: rivendell-importers
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, rivendell
Description: Library importers for the Rivendell Broadcast Automation System Description: Library importers for the Rivendell Broadcast Automation System
This package contains various importer scripts, which can be used to This package contains various importer scripts, which can be used to
import audio from existing legacy automation systems into Rivendell. import audio from existing legacy automation systems into Rivendell.