1 |
%define name smeserver-madsonic |
%define name smeserver-madsonic |
2 |
%define version 5.0.3761 |
%define version 5.0.3761 |
3 |
%define release 6 |
%define release 9 |
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} |
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 |
Patch1: smeserver-madsonic-5.0.3761-bz12014-backup.patch |
14 |
Patch2: smeserver-madsonic-5.0.3761-to62.patch |
Patch2: smeserver-madsonic-5.0.3761-to62.patch |
15 |
|
Patch3: smeserver-madsonic-5.0.3761-bz12239.patch |
16 |
|
|
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
29 |
This is all the configurations needed to install madsonic as a contrib for SME Server |
This is all the configurations needed to install madsonic as a contrib for SME Server |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Wed Dec 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-9.sme |
33 |
|
- fix conflict for /var/madsonic [SME: 12255] |
34 |
|
|
35 |
|
* Tue Nov 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-8.sme |
36 |
|
- remove remaining sysvinit files [SME: 12239] |
37 |
|
- fix few minors issues, typo and cosmetics |
38 |
|
|
39 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 5.0.3761-7.sme |
40 |
|
- Re-build and link to latest devtools [SME: 11997] |
41 |
|
|
42 |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-6.sme |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-6.sme |
43 |
- add to core backup [SME: 12014] |
- add to core backup [SME: 12014] |
44 |
- update for 6.2 neededing java-1.8.0 |
- update for 6.2 neededing java-1.8.0 |
46 |
- main rpm is now using systemd [SME: 11619] |
- main rpm is now using systemd [SME: 11619] |
47 |
|
|
48 |
* 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 |
49 |
- fix services not restarted on install [SME: 11280] |
- Re-build and link to latest devtools services not restarted on install [SME: 11280] |
50 |
|
|
51 |
* Fri Jun 04 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-4.sme |
* Fri Jun 04 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-4.sme |
52 |
- fix new configuration for madsonic 6 [SME: 11280] |
- Re-build and link to latest devtools new configuration for madsonic 6 [SME: 11280] |
53 |
add update event |
add update event |
54 |
- add madsonic user to audio group [SME: 10700] |
- add madsonic user to audio group [SME: 10700] |
55 |
- add /var/media folders and subfolders [SME: 10701] |
- add /var/media folders and subfolders [SME: 10701] |
72 |
%prep |
%prep |
73 |
%setup |
%setup |
74 |
%patch0 -p1 |
%patch0 -p1 |
75 |
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/playlists/export root/var/media/playlists/import root/var/media/incoming root/var/media/podcast root/var/media/playlists/backup |
76 |
%patch1 -p1 |
%patch1 -p1 |
77 |
%patch2 -p1 |
%patch2 -p1 |
78 |
|
mkdir -p root/var/madsonic/lucene30/album root/var/madsonic/conversion/audio root/var/madsonic/conversion/video |
79 |
|
%patch3 -p1 |
80 |
|
|
81 |
%build |
%build |
82 |
perl createlinks |
perl createlinks |
87 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
88 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
89 |
--dir /var/media/ 'attr(0755,madsonic,madsonic)' \ |
--dir /var/media/ 'attr(0755,madsonic,madsonic)' \ |
90 |
--dir /var/media/playlist/ 'attr(0750,madsonic,madsonic)' \ |
--dir /var/media/playlists/ 'attr(0750,madsonic,madsonic)' \ |
91 |
--dir /var/media/playlist/export/ 'attr(0750,madsonic,madsonic)' \ |
--dir /var/media/playlists/export/ 'attr(0750,madsonic,madsonic)' \ |
92 |
--dir /var/media/playlist/import/ 'attr(0750,madsonic,madsonic)' \ |
--dir /var/media/playlists/import/ 'attr(0750,madsonic,madsonic)' \ |
93 |
--dir /var/media/incoming/ 'attr(0750,madsonic,madsonic)' \ |
--dir /var/media/incoming/ 'attr(0750,madsonic,madsonic)' \ |
94 |
--dir /var/media/podcast/ 'attr(0750,madsonic,madsonic)' \ |
--dir /var/media/podcast/ 'attr(0750,madsonic,madsonic)' \ |
95 |
--dir /var/media/playlists/backup/ 'attr(0750,madsonic,madsonic)' \ |
--dir /var/media/playlists/backup/ 'attr(0750,madsonic,madsonic)' \ |
96 |
|
--dir /var/madsonic/lucene30 'attr(0750,madsonic,madsonic)' \ |
97 |
|
--dir /var/madsonic/lucene30/album 'attr(0750,madsonic,madsonic)' \ |
98 |
|
--dir /var/madsonic/conversion 'attr(0750,madsonic,madsonic)' \ |
99 |
|
--dir /var/madsonic/conversion/video 'attr(0750,madsonic,madsonic)' \ |
100 |
|
--dir /var/madsonic/conversion/audio 'attr(0750,madsonic,madsonic)' \ |
101 |
--file /var/www/backend/validateLicense.view 'attr(0750,www,www)' \ |
--file /var/www/backend/validateLicense.view 'attr(0750,www,www)' \ |
102 |
--dir /var/www/backend/ 'attr(0750,www,www)' \ |
--dir /var/www/backend/ 'attr(0750,www,www)' \ |
103 |
|
--ignoredir /var/madsonic \ |
104 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
105 |
|
|
106 |
%clean |
%clean |