1 |
%define name smeserver-madsonic |
%define name smeserver-madsonic |
2 |
%define version 5.0.3761 |
%define version 5.0.3761 |
3 |
%define release 5 |
%define release 6 |
4 |
Summary: madsonic is a music streaming system |
Summary: madsonic is a music streaming system |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
10 |
Group: SMEserver/addon |
Group: SMEserver/addon |
11 |
Source: smeserver-madsonic-%{version}.tar.gz |
Source: smeserver-madsonic-%{version}.tar.gz |
12 |
Patch0: smeserver-madsonic-5.0.3761-sme10.patch |
Patch0: smeserver-madsonic-5.0.3761-sme10.patch |
13 |
|
Patch1: smeserver-madsonic-5.0.3761-bz12014-backup.patch |
14 |
|
Patch2: smeserver-madsonic-5.0.3761-to62.patch |
15 |
|
|
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
18 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
19 |
Requires: e-smith-release >= 8.0 |
Requires: e-smith-release >= 8.0 |
20 |
Requires: madsonic |
Requires: madsonic >= 6.2.9092 |
21 |
Requires: alsa-utils |
Requires: alsa-utils |
22 |
Requires: ffmpeg |
Requires: ffmpeg |
23 |
Requires: java-1.7.0-openjdk >= 1.7 |
Requires: java-1.8.0-openjdk >= 1.8 |
24 |
|
Requires: perl-DateTime |
25 |
AutoReqProv: no |
AutoReqProv: no |
26 |
|
|
27 |
%description |
%description |
28 |
madsonic is an application adapted as a contrib for SMEserver |
This is all the configurations needed to install madsonic as a contrib for SME Server |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-6.sme |
32 |
|
- add to core backup [SME: 12014] |
33 |
|
- update for 6.2 neededing java-1.8.0 |
34 |
|
- add local test webservices |
35 |
|
- main rpm is now using systemd [SME: 11619] |
36 |
|
|
37 |
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-5.sme |
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-5.sme |
38 |
- fix services not restarted on install [SME: 11280] |
- fix services not restarted on install [SME: 11280] |
39 |
|
|
62 |
%setup |
%setup |
63 |
%patch0 -p1 |
%patch0 -p1 |
64 |
mkdir -p root/var/media/playlist/export root/var/media/playlist/import root/var/media/incoming root/var/media/podcast root/var/media/playlists/backup |
mkdir -p root/var/media/playlist/export root/var/media/playlist/import root/var/media/incoming root/var/media/podcast root/var/media/playlists/backup |
65 |
|
%patch1 -p1 |
66 |
|
%patch2 -p1 |
67 |
|
|
68 |
%build |
%build |
69 |
perl createlinks |
perl createlinks |
80 |
--dir /var/media/incoming/ 'attr(0750,madsonic,madsonic)' \ |
--dir /var/media/incoming/ 'attr(0750,madsonic,madsonic)' \ |
81 |
--dir /var/media/podcast/ 'attr(0750,madsonic,madsonic)' \ |
--dir /var/media/podcast/ 'attr(0750,madsonic,madsonic)' \ |
82 |
--dir /var/media/playlists/backup/ 'attr(0750,madsonic,madsonic)' \ |
--dir /var/media/playlists/backup/ 'attr(0750,madsonic,madsonic)' \ |
83 |
|
--file /var/www/backend/validateLicense.view 'attr(0750,www,www)' \ |
84 |
|
--dir /var/www/backend/ 'attr(0750,www,www)' \ |
85 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
86 |
|
|
87 |
%clean |
%clean |