12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
Summary: A web-based music streamer, jukebox and Podcast receiver |
Summary: A web-based music streamer, jukebox and Podcast receiver |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
|
Source1: |
16 |
Patch0: madsonic-6.2.9084-test.patch |
Patch0: madsonic-6.2.9084-test.patch |
17 |
|
Patch1: madsonic-6.2.9084-sysconfig.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
19 |
BuildArch: noarch |
BuildArch: noarch |
20 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
27 |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-1.sme |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-1.sme |
28 |
- update with log4j fixes and more |
- update with log4j fixes and more |
29 |
- systemd capable |
- systemd capable |
30 |
- enable mediasonic.test by default |
- add mediasonic.test |
31 |
|
|
32 |
* Fri Jun 04 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9084-2.sme |
* Fri Jun 04 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9084-2.sme |
33 |
- fix permissions [SME: 10699] |
- fix permissions [SME: 10699] |
55 |
%prep |
%prep |
56 |
%setup |
%setup |
57 |
%patch0 -p1 |
%patch0 -p1 |
58 |
|
%patch1 -p1 |
59 |
|
mkdir -p root/usr/lib/systemd/system |
60 |
|
cp %{SOURCE1} root/usr/lib/systemd/system |
61 |
mkdir -p root/run/madsonic |
mkdir -p root/run/madsonic |
62 |
mkdir -p root/usr/lib/tmpfiles.d/ |
mkdir -p root/usr/lib/tmpfiles.d/ |
63 |
mkdir -p root/usr/bin |
mkdir -p root/usr/bin |
65 |
rm root/etc/init.d/madsonic |
rm root/etc/init.d/madsonic |
66 |
|
|
67 |
pushd root/usr/bin/ |
pushd root/usr/bin/ |
68 |
ln -sf root/usr/share/madsonic/madsonic.sh madsonic |
ln -sf /usr/share/madsonic/madsonic.sh madsonic |
69 |
popd |
popd |
70 |
|
|
71 |
|
|
77 |
--dir /usr/share/madsonic 'attr(0750,madsonic,madsonic)' \ |
--dir /usr/share/madsonic 'attr(0750,madsonic,madsonic)' \ |
78 |
--dir /var/madsonic 'attr(0750,madsonic,madsonic)' \ |
--dir /var/madsonic 'attr(0750,madsonic,madsonic)' \ |
79 |
--file /usr/lib/tmpfiles.d/madsonic.conf 'attr(0750,root,root)' \ |
--file /usr/lib/tmpfiles.d/madsonic.conf 'attr(0750,root,root)' \ |
80 |
|
--file /usr/lib/systemd/system/madsonic.service 'attr(0544,root,root)' \ |
81 |
--dir /run/madsonic 'attr(0755,madsonic,madsonic)' \ |
--dir /run/madsonic 'attr(0755,madsonic,madsonic)' \ |
82 |
--ignoredir /run \ |
--ignoredir /run \ |
83 |
--ignoredir "/etc/sysconfig/madsonic" \ |
--ignoredir "/etc/sysconfig/madsonic" \ |