15 Commits

Author SHA1 Message Date
be9f594b25 Update docs for new repo location 2025-11-22 13:16:37 -05:00
5bcbc9a935 1.35.4 release 2025-11-22 04:06:23 -05:00
1f61ec4888 Change SCRIPT_URL for gitea path 2025-11-22 04:06:05 -05:00
3c8ed002bb 1.35.3 release 2025-11-22 03:29:19 -05:00
7ef9669dec Update spec file for RPM 6.0 2025-11-21 21:25:15 -05:00
eb62392da7 Add RPM 6.0 support to rpmbuild 2025-11-21 16:07:49 -05:00
60961f8415 Add RPM 6.0 support to rpmbuild 2025-11-21 16:02:22 -05:00
e087248165 Add RPM 6.0 support to rpmbuild 2025-11-21 15:57:18 -05:00
90ea1e0fa4 Add RPM 6.0 support to rpmbuild 2025-11-21 15:49:36 -05:00
bafd812074 Add RPM 6.0 support to rpmbuild 2025-11-21 15:44:55 -05:00
75881d5ac1 Add RPM 6.0 support to rpmbuild 2025-11-21 15:38:07 -05:00
fd6d4d872f Add RPM 6.0 support to rpmbuild 2025-11-21 15:22:08 -05:00
c96ff1ed4b Use SHA256 checksums in rpmbuild 2025-11-21 15:00:11 -05:00
a37ae0b5f5 Run postbuild RPM routines 2025-11-21 14:49:47 -05:00
b8f64b3f0c Add rpm checksums 2025-11-21 14:41:28 -05:00
3 changed files with 17 additions and 21 deletions

View File

@@ -5,12 +5,12 @@ This program installs [url=https://www.jriver.com/]JRiver Media Center[/url] and
You can find the latest version of installJRMC, changelog, and documentation in [url=https://git.bryanroessler.com/bryan/installJRMC]my repository[/url]. You can find the latest version of installJRMC, changelog, and documentation in [url=https://git.bryanroessler.com/bryan/installJRMC]my repository[/url].
[size=18pt]tl;dr (One-line MC install)[/size] [size=18pt]tl;dr (One-line MC install)[/size]
[code]curl https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC|bash[/code] [code]curl https://git.bryanroessler.com/bryan/installJRMC/raw/branch/master/installJRMC|bash[/code]
[size=18pt]Instructions[/size] [size=18pt]Instructions[/size]
Download and unzip installJRMC from the attachment below or grab the latest stable version directly: Download and unzip installJRMC from the attachment below or grab the latest stable version directly:
[code]curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && [code]curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/branch/master/installJRMC &&
chmod +x ./installJRMC && chmod +x ./installJRMC &&
./installJRMC [--option [ARGUMENT]] ./installJRMC [--option [ARGUMENT]]
[/code] [/code]

View File

@@ -13,7 +13,7 @@ Specifying `--build`, `--createrepo`, `--service`, or `--uninstall` disables the
### tl;dr ### tl;dr
`curl https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC|bash` `curl https://git.bryanroessler.com/bryan/installJRMC/raw/branch/master/installJRMC|bash`
## Options ## Options

View File

@@ -21,12 +21,12 @@
# shellcheck disable=SC2329 # shellcheck disable=SC2329
shopt -s extglob shopt -s extglob
declare -g SCRIPT_VERSION="1.35.2" declare -g SCRIPT_VERSION="1.35.5-dev"
declare -g MC_VERSION_HARDCODE="35.0.24" # do find all replace declare -g MC_VERSION_HARDCODE="35.0.24" # do find all replace
declare -g MC_REPO_HARDCODE="bookworm" # should match the MC_VERSION_HARDCODE declare -g MC_REPO_HARDCODE="bookworm" # should match the MC_VERSION_HARDCODE
declare -g BOARD_ID="92.0" # MC35 board ID for legacy latest version detection declare -g BOARD_ID="92.0" # MC35 board ID for legacy latest version detection
declare -gi SELF_UPDATE_SWITCH=1 # 0 to disable installJRMC self-update declare -gi SELF_UPDATE_SWITCH=1 # 0 to disable installJRMC self-update
declare -g SCRIPT_URL="https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC" # self-update URL declare -g SCRIPT_URL="https://git.bryanroessler.com/bryan/installJRMC/raw/branch/master/installJRMC" # self-update URL
# declare -g SCRIPT_URL="https://raw.githubusercontent.com/cryobry/installJRMC/refs/heads/master/installJRMC" # backup URL # declare -g SCRIPT_URL="https://raw.githubusercontent.com/cryobry/installJRMC/refs/heads/master/installJRMC" # backup URL
declare -gi DEBUG=${DEBUG:-0} # set default debug and allow DEBUG env override (default: disabled) declare -gi DEBUG=${DEBUG:-0} # set default debug and allow DEBUG env override (default: disabled)
@@ -997,27 +997,26 @@ build_rpm() {
Release: $MC_RELEASE Release: $MC_RELEASE
Summary: JRiver Media Center Summary: JRiver Media Center
Group: Applications/Media Group: Applications/Media
License: LicenseRef-JRiver-Proprietary
URL: https://www.jriver.com/
Source0: $MC_SOURCE Source0: $MC_SOURCE
%define _rpmfilename %%{ARCH}/%%{NAME}-%%{version}-%%{release}.%%{ARCH}.rpm
AutoReq: 0 BuildArch: $ARCH
%global _rpmfilename %%{ARCH}/%%{NAME}-%%{version}-%%{release}.%%{ARCH}.rpm
AutoReqProv: no
$requires_str $requires_str
$recommends_str $recommends_str
Conflicts: MediaCenter
Provides: mediacenter$MC_MVERSION Provides: mediacenter$MC_MVERSION
License: Copyright 1998-$(date +%Y), JRiver, Inc. All rights reserved. Protected by U.S. patents #7076468 and #7062468
URL: https://www.jriver.com/
%define __provides_exclude_from ^%{_libdir}/jriver/.*/.*\\.so.*$ %define __provides_exclude_from ^%{_libdir}/jriver/.*/.*\\.so.*$
%description %description
Media Center is more than a world class player. Media Center is more than a world class player.
%global __os_install_post %{nil}
%prep %prep
%build %build
@@ -1025,9 +1024,6 @@ build_rpm() {
%install %install
dpkg -x %{S:0} %{buildroot} dpkg -x %{S:0} %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%{_bindir}/mediacenter$MC_MVERSION %{_bindir}/mediacenter$MC_MVERSION
$stub $stub
@@ -1233,10 +1229,10 @@ run_createrepo() {
fi fi
# Run createrepo # Run createrepo
local -a cr_opts=(-q "$CREATEREPO_WEBROOT") local -a cr_opts=(--update)
# [[ -d "$CREATEREPO_WEBROOT/repodata" ]] && cr_opts+=(--update) # TODO temporarily disabled for legacy createrepo # [[ -d "$CREATEREPO_WEBROOT/repodata" ]] && cr_opts+=(--update) # TODO temporarily disabled for legacy createrepo
if ! execute sudo -u "$CREATEREPO_USER" createrepo "${cr_opts[@]}"; then if ! execute sudo -u "$CREATEREPO_USER" createrepo "${cr_opts[@]}" "$CREATEREPO_WEBROOT"; then
if ! (execute sudo createrepo "${cr_opts[@]}" && execute sudo chown -R "$CREATEREPO_USER:$CREATEREPO_USER" "$CREATEREPO_WEBROOT"); then if ! (execute sudo createrepo "${cr_opts[@]}" "$CREATEREPO_WEBROOT" && execute sudo chown -R "$CREATEREPO_USER:$CREATEREPO_USER" "$CREATEREPO_WEBROOT"); then
err "createrepo failed" err "createrepo failed"
return 1 return 1
fi fi