Rivendellaudio/rivendell.spec.in
Fred Gleason 1619184b64 2023-03-17 Fred Gleason <fredg@paravelsystems.com>
* Added API documentation and man pages to the 'rivendell-opsguide'
	RPM package.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-03-17 13:32:31 -04:00

562 lines
21 KiB
RPMSpec

## rivendell.spec.in
##
## The Rivendell Radio Automation System
## Copyright (C) 2002-2022 Fred Gleason <fredg@paravelsystems.com>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of version 2 of the GNU General Public License as
## published by the Free Software Foundation;
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330,
## Boston, MA 02111-1307 USA
##
# So python bytecompilation works correctly
%define __python /usr/bin/python3.6
Summary: Radio Broadcast Automation System
Name: rivendell
Version: @VERSION@
Release: @RPM_RELEASE@
License: GPL
Packager: Fred Gleason <fredg@paravelsystems.com>
Source: rivendell-@VERSION@.tar.gz
Requires: @MYSQL_PKG@, @QT4_MYSQL_PKG@, @APACHE_PKG@, curl, @USERMODE_PKG@, rivendell-pypad = @VERSION@, rsyslog libxslt
BuildRoot: /var/tmp/rivendell-@VERSION@
Obsoletes: rivendell-base rivendell-opsguide
Conflicts: rivendell-opsguide
%package importers
Summary: Library importers for the Rivendell Broadcast Automation System
Requires: rivendell = @VERSION@, madplay
%package opsguide
Summary: Rivendell Operations and Administration Guide
BuildArch: noarch
Conflicts: rivendell
%package webapi
Summary: Client libraries for interfacing with Rivendell's Web API.
%package devel
Summary: Header files and example code for development with Rivendell APIs
Requires: rivendell = @VERSION@, rivendell-webapi = @VERSION@
%package pypad
Summary: PyPAD Program Associated Data script system for Rivendell
Requires: python36, python36-pycurl, python36-requests, python36-pyserial, python36-mysql python36-urllib3
%package select
Summary: The RDSelect system selector tool for Rivendell.
Requires: rivendell = @VERSION@, autofs
%package webget
Summary: The WebGet audio fetcher service for Rivendell
Requires: rivendell = @VERSION@
%description
Rivendell is a complete radio broadcast automation solution, with
facilities for the acquisition, management, scheduling and playout of
audio content. Modules for the production and management of podcast
audio are also included.
%description importers
This package contains various importer scripts, which can be used to
import audio from existing legacy automation systems into Rivendell.
Currently, scripts exist for the AirForce Wings, Prophet NexGen and Sierra
Automated Systems SASAuto systems, as well as from another Rivendell system
(useful for 'merging' multiple databases). Additionally, scripts for
initializing switcher matrices for the Christian Radio Consortium
(CRC) Unity4000 network and copying RDCatch event lists between hosts
are included.
%description opsguide
This package contains the Rivendell Operations and Administration Guide,
in both HTML and PDF formats.
%description webapi
This package contains client libraries for interfacing with Rivendell's
Web API subsystem.
%description devel
This package contains header files and example code for development using
Rivendell's Web C API, which can be used to integrate with Rivendell Web
API Interface.
%description pypad
This package contains Rivendell's PyPAD scripting system for transmitting
Program Associated Data (PAD) using of Python scripts.
%description select
This package contains the RDMonitor/RDSelect tool for Rivendell, which can
be used to select which amoung multiple Rivendell instances a host should be
associated with.
%description webget
This package contains the WebGet audio fetching tool for Rivendell.
%prep
%setup
%build
export PYTHON=/usr/bin/python3.6
%configure --libexecdir=@libexecdir@ --sysconfdir=@sysconfdir@ @RDXPORTDEBUG@
make -j @CPUS_AVAIL@
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/@LOCAL_PREFIX@/@RD_LIB_PATH@/libqmysqlutf*
mkdir $RPM_BUILD_ROOT/.qt
touch $RPM_BUILD_ROOT/.qt/qt
rm -rf $RPM_BUILD_ROOT/@libexecdir@/logos
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
cp conf/logrotate-sample $RPM_BUILD_ROOT/etc/logrotate.d/rivendell
mkdir -p $RPM_BUILD_ROOT/@DOC_PATH@/logos
cp icons/webget_logo.png $RPM_BUILD_ROOT/@DOC_PATH@/logos/
cp AUTHORS $RPM_BUILD_ROOT/@DOC_PATH@/
cp ChangeLog $RPM_BUILD_ROOT/@DOC_PATH@/
cp COPYING $RPM_BUILD_ROOT/@DOC_PATH@/
cp INSTALL $RPM_BUILD_ROOT/@DOC_PATH@/
cp NEWS $RPM_BUILD_ROOT/@DOC_PATH@/
cp README $RPM_BUILD_ROOT/@DOC_PATH@/
cp UPGRADING $RPM_BUILD_ROOT/@DOC_PATH@/
cp CODINGSTYLE $RPM_BUILD_ROOT/@DOC_PATH@/
cp conf/*.conf $RPM_BUILD_ROOT/@DOC_PATH@/
cat conf/rd.conf-sample | sed s/SyslogFacility=1/SyslogFacility=23/ > $RPM_BUILD_ROOT/@DOC_PATH@/rd.conf-sample
cp conf/asound.conf-sample $RPM_BUILD_ROOT/@DOC_PATH@/
mkdir -p $RPM_BUILD_ROOT/@DOC_PATH@/misc
cp conf/syslog.conf-sample $RPM_BUILD_ROOT/@DOC_PATH@/
mkdir -p $RPM_BUILD_ROOT/etc/fail2ban/filter.d
cp conf/rivendell-webapi.conf $RPM_BUILD_ROOT/etc/fail2ban/filter.d/
cp docs/misc/colors $RPM_BUILD_ROOT/@DOC_PATH@/misc/
cp docs/misc/reports.txt $RPM_BUILD_ROOT/@DOC_PATH@/misc/
cp docs/misc/ALSA.txt $RPM_BUILD_ROOT/@DOC_PATH@/misc/
cp docs/misc/RDMONITOR.txt $RPM_BUILD_ROOT/@DOC_PATH@/misc/
cp docs/misc/scheduler_formats.ods $RPM_BUILD_ROOT/@DOC_PATH@/misc/
cp docs/misc/ando_interface.odt $RPM_BUILD_ROOT/@DOC_PATH@/misc/
mkdir -p $RPM_BUILD_ROOT/@DOC_PATH@
mkdir -p $RPM_BUILD_ROOT/@DOC_PATH@/apis
cp docs/apis/*.pdf $RPM_BUILD_ROOT/@DOC_PATH@/apis/
mkdir -p $RPM_BUILD_ROOT/@DOC_PATH@/dtds
cp docs/dtds/*.html $RPM_BUILD_ROOT/@DOC_PATH@/dtds/
cp docs/dtds/*.pdf $RPM_BUILD_ROOT/@DOC_PATH@/dtds/
mkdir -p $RPM_BUILD_ROOT/@DOC_PATH@/tables
cp docs/tables/*.txt $RPM_BUILD_ROOT/@DOC_PATH@/tables/
mkdir -p $RPM_BUILD_ROOT/@DOC_PATH@/scripts
cp scripts/rd_backup $RPM_BUILD_ROOT/@DOC_PATH@/scripts/
cp scripts/start_traverso.sh $RPM_BUILD_ROOT/@DOC_PATH@/scripts/
cp scripts/rd_mysql_enable_host.sh $RPM_BUILD_ROOT/@DOC_PATH@/scripts/
cp scripts/rd_backup_system.sh $RPM_BUILD_ROOT/@DOC_PATH@/scripts/
cp scripts/rd_restore_system.sh $RPM_BUILD_ROOT/@DOC_PATH@/scripts/
cp scripts/engine_conv.py $RPM_BUILD_ROOT/@DOC_PATH@
cp scripts/init_template_host.py $RPM_BUILD_ROOT/@DOC_PATH@
rm -f $RPM_BUILD_ROOT/etc/auto.rd.audiostore
rm -rf $RPM_BUILD_ROOT%{_libdir}/rivendell/pypad/__pycache__
rm -rf $RPM_BUILD_ROOT%{_libdir}/python3.6/site-packages/__pycache__
%post
/sbin/ldconfig
/bin/systemctl daemon-reload
/usr/sbin/groupadd -r -g 150 %{name} &>/dev/null || :
/usr/sbin/useradd -o -u 150 -g %{name} -s /bin/false -r -c "Rivendell radio automation system" -d /var/snd %{name} &>/dev/null || :
if test ! -e /var/snd ; then
mkdir -p /var/snd
chown rivendell:rivendell /var/snd
chmod 775 /var/snd
fi
if test ! -d /etc/rivendell.d ; then
mkdir -p /etc/rivendell.d
chmod 775 /etc/rivendell.d
fi
if test ! -e /etc/rd.conf ; then
cp @DOC_PATH@/rd.conf-sample /etc/rivendell.d/rd-default.conf
ln -s /etc/rivendell.d/rd-default.conf /etc/rd.conf
fi
if test ! -h /etc/rd.conf ; then
mv /etc/rd.conf /etc/rivendell.d/rd-default.conf
ln -s /etc/rivendell.d/rd-default.conf /etc/rd.conf
fi
if test ! -e /etc/asound.conf ; then
cp @DOC_PATH@/asound.conf-sample /etc/asound.conf
fi
@LOCAL_PREFIX@/sbin/rddbmgr --modify
/bin/systemctl restart rivendell
/bin/systemctl enable rivendell
if test "@DISTRO@" = "suse" ; then
/etc/init.d/apache2 restart
insserv -d -f /etc/init.d/apache2 /etc/init.d/rivendell $MYSQL_INIT
fi
if test "@DISTRO@" = "redhat" ; then
/bin/systemctl restart httpd
/bin/systemctl enable httpd
fi
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache -f --quiet %{_datadir}/icons/hicolor || :
fi
if test ! -e @libexecdir@/logos ; then
mkdir -p @libexecdir@/logos
fi
if test ! -f @libexecdir@/logos/webget_logo.png ; then
cp @DOC_PATH@/logos/webget_logo.png @libexecdir@/logos/webget_logo.png
fi
mkdir -p /var/log/rivendell
if test ! -e /etc/rsyslog.d/rivendell.conf ; then
cp @DOC_PATH@/syslog.conf-sample /etc/rsyslog.d/rivendell.conf
fi
/bin/systemctl restart rsyslog
exit 0
%preun
if test "$1" = "0" ; then
/bin/systemctl stop rivendell
if test "@DISTRO@" = "suse" ; then
insserv -r -d -f /etc/init.d/rivendell
fi
if test "@DISTRO@" = "redhat" ; then
/bin/systemctl disable rivendell
/bin/systemctl stop rivendell
fi
fi
exit 0
%postun
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
/bin/systemctl daemon-reload
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
@LOCAL_PREFIX@/bin/rdadmin
@LOCAL_PREFIX@/bin/rdairplay
@LOCAL_PREFIX@/bin/rdpanel
@LOCAL_PREFIX@/bin/rdcartslots
@LOCAL_PREFIX@/bin/rdcatch
@LOCAL_PREFIX@/bin/rdgen
@LOCAL_PREFIX@/bin/rdlibrary
@LOCAL_PREFIX@/bin/rdlogedit
@LOCAL_PREFIX@/bin/rdlogmanager
@LOCAL_PREFIX@/bin/rdcastmanager
@LOCAL_PREFIX@/bin/rdlogin
@LOCAL_PREFIX@/bin/rmlsend
@LOCAL_PREFIX@/bin/rdsoftkeys
@LOCAL_PREFIX@/bin/rdpopup
@LOCAL_PREFIX@/bin/rdalsaconfig
@LOCAL_PREFIX@/bin/rdalsaconfig-root
@LOCAL_PREFIX@/bin/rdgpimon
@LOCAL_PREFIX@/bin/rdclilogedit
@LOCAL_PREFIX@/bin/rddbconfig
@LOCAL_PREFIX@/bin/rddbconfig-root
@LOCAL_PREFIX@/bin/rddelete
@LOCAL_PREFIX@/bin/rdexport
@LOCAL_PREFIX@/bin/rdimport
@LOCAL_PREFIX@/bin/rdmetadata
@LOCAL_PREFIX@/bin/rdmaint
@LOCAL_PREFIX@/bin/rdcollect
@LOCAL_PREFIX@/bin/rdconvert
@LOCAL_PREFIX@/bin/rdcheckcuts
@LOCAL_PREFIX@/bin/rd_audio_sync
@LOCAL_PREFIX@/bin/rd_config
@LOCAL_PREFIX@/bin/sage_endec_rwt.sh
@LOCAL_PREFIX@/bin/rd_backup
@LOCAL_PREFIX@/bin/rdmemcheck.sh
@LOCAL_PREFIX@/bin/rdrender
@LOCAL_PREFIX@/share/rivendell/*.qm
@LOCAL_PREFIX@/share/rivendell/*.xsl
@LOCAL_PREFIX@/share/icons/hicolor/16x16/apps/rivendell.png
@LOCAL_PREFIX@/share/icons/hicolor/16x16/apps/rdadmin.png
@LOCAL_PREFIX@/share/icons/hicolor/16x16/apps/rdairplay.png
@LOCAL_PREFIX@/share/icons/hicolor/16x16/apps/rdcartslots.png
@LOCAL_PREFIX@/share/icons/hicolor/16x16/apps/rdcastmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/16x16/apps/rdcatch.png
@LOCAL_PREFIX@/share/icons/hicolor/16x16/apps/rdlibrary.png
@LOCAL_PREFIX@/share/icons/hicolor/16x16/apps/rdlogedit.png
@LOCAL_PREFIX@/share/icons/hicolor/16x16/apps/rdlogmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/16x16/apps/rdpanel.png
@LOCAL_PREFIX@/share/icons/hicolor/22x22/apps/rivendell.png
@LOCAL_PREFIX@/share/icons/hicolor/22x22/apps/rdadmin.png
@LOCAL_PREFIX@/share/icons/hicolor/22x22/apps/rdairplay.png
@LOCAL_PREFIX@/share/icons/hicolor/22x22/apps/rdcartslots.png
@LOCAL_PREFIX@/share/icons/hicolor/22x22/apps/rdcastmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/22x22/apps/rdcatch.png
@LOCAL_PREFIX@/share/icons/hicolor/22x22/apps/rdlibrary.png
@LOCAL_PREFIX@/share/icons/hicolor/22x22/apps/rdlogedit.png
@LOCAL_PREFIX@/share/icons/hicolor/22x22/apps/rdlogmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/22x22/apps/rdpanel.png
@LOCAL_PREFIX@/share/icons/hicolor/32x32/apps/rivendell.png
@LOCAL_PREFIX@/share/icons/hicolor/32x32/apps/rdadmin.png
@LOCAL_PREFIX@/share/icons/hicolor/32x32/apps/rdairplay.png
@LOCAL_PREFIX@/share/icons/hicolor/32x32/apps/rdcartslots.png
@LOCAL_PREFIX@/share/icons/hicolor/32x32/apps/rdcastmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/32x32/apps/rdcatch.png
@LOCAL_PREFIX@/share/icons/hicolor/32x32/apps/rdlibrary.png
@LOCAL_PREFIX@/share/icons/hicolor/32x32/apps/rdlogedit.png
@LOCAL_PREFIX@/share/icons/hicolor/32x32/apps/rdlogmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/32x32/apps/rdpanel.png
@LOCAL_PREFIX@/share/icons/hicolor/64x64/apps/rivendell.png
@LOCAL_PREFIX@/share/icons/hicolor/64x64/apps/rdadmin.png
@LOCAL_PREFIX@/share/icons/hicolor/64x64/apps/rdairplay.png
@LOCAL_PREFIX@/share/icons/hicolor/64x64/apps/rdcartslots.png
@LOCAL_PREFIX@/share/icons/hicolor/64x64/apps/rdcastmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/64x64/apps/rdcatch.png
@LOCAL_PREFIX@/share/icons/hicolor/64x64/apps/rdlibrary.png
@LOCAL_PREFIX@/share/icons/hicolor/64x64/apps/rdlogedit.png
@LOCAL_PREFIX@/share/icons/hicolor/64x64/apps/rdlogmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/64x64/apps/rdpanel.png
@LOCAL_PREFIX@/share/icons/hicolor/128x128/apps/rivendell.png
@LOCAL_PREFIX@/share/icons/hicolor/128x128/apps/rdadmin.png
@LOCAL_PREFIX@/share/icons/hicolor/128x128/apps/rdairplay.png
@LOCAL_PREFIX@/share/icons/hicolor/128x128/apps/rdcartslots.png
@LOCAL_PREFIX@/share/icons/hicolor/128x128/apps/rdcastmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/128x128/apps/rdcatch.png
@LOCAL_PREFIX@/share/icons/hicolor/128x128/apps/rdlibrary.png
@LOCAL_PREFIX@/share/icons/hicolor/128x128/apps/rdlogedit.png
@LOCAL_PREFIX@/share/icons/hicolor/128x128/apps/rdlogmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/128x128/apps/rdpanel.png
@LOCAL_PREFIX@/share/icons/hicolor/256x256/apps/rivendell.png
@LOCAL_PREFIX@/share/icons/hicolor/256x256/apps/rdadmin.png
@LOCAL_PREFIX@/share/icons/hicolor/256x256/apps/rdairplay.png
@LOCAL_PREFIX@/share/icons/hicolor/256x256/apps/rdcartslots.png
@LOCAL_PREFIX@/share/icons/hicolor/256x256/apps/rdcastmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/256x256/apps/rdcatch.png
@LOCAL_PREFIX@/share/icons/hicolor/256x256/apps/rdlibrary.png
@LOCAL_PREFIX@/share/icons/hicolor/256x256/apps/rdlogedit.png
@LOCAL_PREFIX@/share/icons/hicolor/256x256/apps/rdlogmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/256x256/apps/rdpanel.png
@LOCAL_PREFIX@/share/icons/hicolor/512x512/apps/rivendell.png
@LOCAL_PREFIX@/share/icons/hicolor/512x512/apps/rdadmin.png
@LOCAL_PREFIX@/share/icons/hicolor/512x512/apps/rdairplay.png
@LOCAL_PREFIX@/share/icons/hicolor/512x512/apps/rdcartslots.png
@LOCAL_PREFIX@/share/icons/hicolor/512x512/apps/rdcastmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/512x512/apps/rdcatch.png
@LOCAL_PREFIX@/share/icons/hicolor/512x512/apps/rdlibrary.png
@LOCAL_PREFIX@/share/icons/hicolor/512x512/apps/rdlogedit.png
@LOCAL_PREFIX@/share/icons/hicolor/512x512/apps/rdlogmanager.png
@LOCAL_PREFIX@/share/icons/hicolor/512x512/apps/rdpanel.png
@LOCAL_PREFIX@/share/X11/fvwm2/pixmaps/mini.rivendell.xpm
@LOCAL_PREFIX@/share/X11/fvwm2/pixmaps/rivendell.xpm
@LOCAL_PREFIX@/share/applications/rivendell-rdadmin.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdlogin.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdairplay.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdmonitor.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdpanel.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdcartslots.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdcatch.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdgpimon.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdalsaconfig-root.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rddbconfig-root.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdlibrary.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdlogedit.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdlogmanager.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdcastmanager.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rmlsend.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdsoftkeys.desktop
@LOCAL_PREFIX@/share/desktop-directories/rivendell-configuration.directory
@LOCAL_PREFIX@/share/desktop-directories/rivendell-documentation.directory
@LOCAL_PREFIX@/share/desktop-directories/rivendell-logtools.directory
@LOCAL_PREFIX@/share/desktop-directories/rivendell-rivendell.directory
@LOCAL_PREFIX@/share/desktop-directories/rivendell-utilities.directory
/etc/xdg/menus/applications-merged/rivendell-rivendell.menu
/etc/logrotate.d/rivendell
/.qt/qt
@libexecdir@/*.gif
@libexecdir@/*.html
@libexecdir@/editcart.js
@libexecdir@/editcut.js
@libexecdir@/utils.js
@libexecdir@/*.png
%attr(6755,root,root) @libexecdir@/rdxport.cgi
@sysconfdir@/rd-bin.conf
/etc/security/console.apps/rdalsaconfig-root
/etc/pam.d/rdalsaconfig-root
/etc/security/console.apps/rddbconfig-root
/etc/pam.d/rddbconfig-root
/etc/pam.d/rivendell
/etc/fail2ban/filter.d/rivendell-webapi.conf
/lib/systemd/system/rivendell.service
%{_mandir}/man1/rdairplay.1.gz
%{_mandir}/man1/rdalsaconfig.1.gz
%{_mandir}/man1/rdclilogedit.1.gz
%{_mandir}/man1/rdconvert.1.gz
%{_mandir}/man1/rdexport.1.gz
%{_mandir}/man1/rdimport.1.gz
%{_mandir}/man1/rdlogmanager.1.gz
%{_mandir}/man1/rdmetadata.1.gz
%{_mandir}/man1/rdrender.1.gz
%{_mandir}/man1/rmlsend.1.gz
%{_mandir}/man1/rdsoftkeys.1.gz
%{_mandir}/man5/rd.conf.5.gz
%{_mandir}/man8/rddbmgr.8.gz
%{_mandir}/man8/rdmarkerset.8.gz
%{_mandir}/man8/rdservice.8.gz
@DOC_PATH@/*
@LOCAL_PREFIX@/@RD_LIB_PATH@/librd-@VERSION@.so
@LOCAL_PREFIX@/@RD_LIB_PATH@/librd.a
@LOCAL_PREFIX@/@RD_LIB_PATH@/librd.la
@LOCAL_PREFIX@/@RD_LIB_PATH@/librd.so
@LOCAL_PREFIX@/sbin/rdservice
@LOCAL_PREFIX@/sbin/caed
@LOCAL_PREFIX@/sbin/ripcd
@LOCAL_PREFIX@/sbin/rdcatchd
@LOCAL_PREFIX@/sbin/rdvairplayd
@LOCAL_PREFIX@/sbin/rdrepld
@LOCAL_PREFIX@/sbin/rdpadd
@LOCAL_PREFIX@/sbin/rdpadengined
@LOCAL_PREFIX@/sbin/rdrssd
@LOCAL_PREFIX@/sbin/rdmarkerset
@LOCAL_PREFIX@/sbin/rdcleandirs
@LOCAL_PREFIX@/sbin/rddbmgr
@HPI_FILE1@
@HPI_FILE2@
@HPI_FILE3@
@HPI_FILE4@
/etc/auto.master.d/rd.audiostore.autofs
@LOCAL_PREFIX@/share/rivendell/opsguide.pdf
@LOCAL_PREFIX@/share/rivendell/html
@LOCAL_PREFIX@/share/rivendell/manpages
@LOCAL_PREFIX@/share/rivendell/manpages/html
@LOCAL_PREFIX@/share/rivendell/apis
@LOCAL_PREFIX@/share/rivendell/apis/html
%files webapi
@LOCAL_PREFIX@/@RD_LIB_PATH@/librivwebcapi.so.@INTERFACE_RIVWEBCAPI_MAJOR@
@LOCAL_PREFIX@/@RD_LIB_PATH@/librivwebcapi.so.@INTERFACE_RIVWEBCAPI_MAJOR@.@INTERFACE_RIVWEBCAPI_MINOR@.@INTERFACE_RIVWEBCAPI_POINT@
%files importers
@LOCAL_PREFIX@/bin/wings_filter
@LOCAL_PREFIX@/bin/rivendell_filter
@LOCAL_PREFIX@/bin/nexgen_filter
@LOCAL_PREFIX@/bin/sas_filter
@LOCAL_PREFIX@/bin/crc-unity4k.sh
@LOCAL_PREFIX@/bin/rdcatch_copy
@LOCAL_PREFIX@/bin/panel_copy
@LOCAL_PREFIX@/bin/rddgimport
@LOCAL_PREFIX@/bin/rddiscimport
@LOCAL_PREFIX@/share/applications/rivendell-rddgimport.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rddiscimport.desktop
%files opsguide
@LOCAL_PREFIX@/share/rivendell/opsguide.pdf
@LOCAL_PREFIX@/share/rivendell/html/*
@LOCAL_PREFIX@/share/rivendell/apis
@LOCAL_PREFIX@/share/rivendell/manpages
%files devel
@LOCAL_PREFIX@/@RD_LIB_PATH@/librivwebcapi.so
@LOCAL_PREFIX@/@RD_LIB_PATH@/librivwebcapi.a
@LOCAL_PREFIX@/@RD_LIB_PATH@/librivwebcapi.la
@LOCAL_PREFIX@/@RD_LIB_PATH@/pkgconfig/rivwebcapi.pc
@LOCAL_PREFIX@/include/rivwebcapi/*
@LOCAL_PREFIX@/share/man/man7/rd_addcart.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_addcut.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_addlog.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_assignschedcode.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_audioinfo.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_audiostore.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_copyaudio.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_createticket.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_deleteaudio.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_deletelog.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_deletepodcast.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_editcart.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_editcut.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_export.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_exportpeaks.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_getuseragent.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_getversion.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_import.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listcart.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listcartcuts.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listcarts.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listcartscuts.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listcartschedcodes.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listcut.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listcuts.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listgroup.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listgroups.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listlog.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listlogs.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listschedcodes.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listservices.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_listsystemsettings.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_postimage.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_postpodcast.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_postrss.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_removecart.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_removecut.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_removeimage.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_removepodcast.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_removerss.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_savelog.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_savepodcast.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_trimaudio.7.gz
@LOCAL_PREFIX@/share/man/man7/rd_unassignschedcode.7.gz
%files pypad
%{_libdir}/rivendell/pypad/*
%{_libdir}/python3.6/site-packages/pypad*
%{_libdir}/python3.6/site-packages/__pycache__/pypad*
%post pypad
/usr/sbin/groupadd -r -g 151 pypad &>/dev/null || :
/usr/sbin/useradd -o -u 151 -g pypad -s /bin/false -r -c "Rivendell PyPAD scripts" -d /dev/null pypad &>/dev/null || :
%files select
@LOCAL_PREFIX@/bin/rdselect
%attr(4755,root,root) @LOCAL_PREFIX@/bin/rdselect_helper
@LOCAL_PREFIX@/bin/rdmonitor
/etc/X11/xinit/xinitrc.d/start-rdmonitor.sh
%files webget
%attr(6755,root,root) @libexecdir@/webget.cgi
@libexecdir@/webget.js
%post select
touch /etc/auto.rd.audiostore
systemctl restart autofs
%postun select
systemctl restart autofs
%changelog
* @RPM_DATESTAMP@ Fred Gleason <fredg@paravelsystems.com> - @VERSION@-@RPM_RELEASE@
-- Autogenerated from build tree.