Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:seife:vdrdevel
vdradmin-am
vdradmin-am.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vdradmin-am.spec of Package vdradmin-am
# # spec file for package vdradmin-am # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2010-2024 B1 Systems GmbH, Vohburg, Germany # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: vdradmin-am Version: 3.6.13 Release: 0 Summary: Webinterface for managing the Linux Video Disk Recorder (VDR) License: GPL-2.0-or-later Group: Productivity/Multimedia/Other URL: http://andreas.vdr-developer.org Source: https://github.com/vdr-projects/vdradmin-am/archive/refs/tags/v%{version}.tar.gz Source1: vdradmin.service Source2: vdradmin.xml Patch1: 0001-Add-support-for-DESTDIR-on-install.sh.patch Patch2: vdradmin-3.6.9-recdetail-fix.diff BuildRequires: firewall-macros BuildRequires: perl(CGI) BuildRequires: perl(HTTP::Date) BuildRequires: perl(Locale::gettext) BuildRequires: perl(URI) Requires: perl(CGI) Requires: perl(HTTP::Daemon) Requires: perl(HTTP::Date) # or Locale::Messages Requires: perl(Locale::gettext) Requires: perl(URI) Recommends: perl(HTTP::Daemon:SSL) BuildArch: noarch %{?systemd_requires} AutoReqProv: on %global __provides_exclude_from ^/usr/share/vdradmin/.*$ %description Vdradmin provides a webinterface for managing the Linux Video Disk Recorder (VDR), it has a virtual remote to control your VDR and you can search for certain shows in the EPG %prep %autosetup -n %{name}-%{version} -p1 %build %install ./make.sh local DOCDIR=%{_docdir}/vdradmin \ VIDEODIR=/var/spool/video \ VDRCONF=/etc/vdr \ DESTDIR=%{buildroot} ./install.sh # the questions: # What's your VDR hostname (e.g video.intra.net)? [localhost]: # On which port does VDR listen to SVDRP queries? [2001]: # On which address should VDRAdmin-AM listen (0.0.0.0 for any)? [0.0.0.0]: # On which port should VDRAdmin-AM listen? [8001]: # Username? [linvdr]: Password? [linvdr]: # Where are your recordings stored? [/video]: # Where are your VDR's configuration files located? [/video] echo -e "\n6419\n\n\nvdradmin\nvdradmin\n/var/spool/video\n/etc/vdr\n" | ./vdradmind.pl --config # /* don't include build hostname in config file */ sed -i -e "s/^MAIL_FROM =.*/MAIL_FROM = from@address.tld/" \ -e "s/^MAIL_SERVER =.*/MAIL_SERVER = your.email.server/" vdradmind.conf install -m 755 -d %{buildroot}/etc/vdradmin/ install -m 644 vdradmind.conf %{buildroot}/etc/vdradmin/ install -m 0644 -D %{S:1} %{buildroot}/%{_unitdir}/vdradmin.service install -m 0644 -D %{S:2} %{buildroot}%{_prefix}/lib/firewalld/services/vdradmin.xml install -d %{buildroot}%{_sbindir} ln -s service %{buildroot}%{_sbindir}/rcvdradmin mkdir -p %{buildroot}/var/cache/vdradmin %find_lang vdradmin %files -f vdradmin.lang %{_docdir}/vdradmin %dir /etc/vdradmin %config(noreplace) /etc/vdradmin/vdradmind.conf %{_unitdir}/vdradmin.service %{_bindir}/vdradmind %{_sbindir}/rcvdradmin %{_mandir}/man8/vdradmind.8%{?ext_man} /usr/share/vdradmin %dir /var/cache/vdradmin %dir %{_prefix}/lib/firewalld %dir %{_prefix}/lib/firewalld/services %{_prefix}/lib/firewalld/services/vdradmin.xml %pre %service_add_pre vdradmin.service %post %service_add_post vdradmin.service %firewalld_reload %preun %service_del_preun vdradmin.service %postun %service_del_postun vdradmin.service %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor