/[smecontribs]/rpms/smeserver-madsonic/contribs10/smeserver-madsonic.spec
ViewVC logotype

Annotation of /rpms/smeserver-madsonic/contribs10/smeserver-madsonic.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (hide annotations) (download)
Wed Dec 7 06:08:13 2022 UTC (22 months, 3 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-madsonic-5_0_3761-9_el7_sme, HEAD
Changes since 1.8: +5 -1 lines
* Wed Dec 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-9.sme
- fix conflict for /var/madsonic [SME: 12255]

1 brianr 1.1 %define name smeserver-madsonic
2     %define version 5.0.3761
3 jpp 1.9 %define release 9
4 brianr 1.2 Summary: madsonic is a music streaming system
5 brianr 1.1 Name: %{name}
6     Version: %{version}
7     Release: %{release}%{?dist}
8     Distribution: SME Server
9     License: GNU GPL version 2
10     Group: SMEserver/addon
11     Source: smeserver-madsonic-%{version}.tar.gz
12 jpp 1.3 Patch0: smeserver-madsonic-5.0.3761-sme10.patch
13 jpp 1.5 Patch1: smeserver-madsonic-5.0.3761-bz12014-backup.patch
14 jpp 1.6 Patch2: smeserver-madsonic-5.0.3761-to62.patch
15 jpp 1.8 Patch3: smeserver-madsonic-5.0.3761-bz12239.patch
16 jpp 1.3
17 brianr 1.1 BuildArchitectures: noarch
18     BuildRoot: /var/tmp/%{name}-%{version}-buildroot
19     BuildRequires: e-smith-devtools
20     Requires: e-smith-release >= 8.0
21 jpp 1.6 Requires: madsonic >= 6.2.9092
22 jpp 1.3 Requires: alsa-utils
23 brianr 1.1 Requires: ffmpeg
24 jpp 1.6 Requires: java-1.8.0-openjdk >= 1.8
25     Requires: perl-DateTime
26 brianr 1.1 AutoReqProv: no
27    
28     %description
29 jpp 1.6 This is all the configurations needed to install madsonic as a contrib for SME Server
30 brianr 1.1
31     %changelog
32 jpp 1.9 * 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 jpp 1.8 * 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 brianr 1.7 * 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 jpp 1.5 * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-6.sme
43     - add to core backup [SME: 12014]
44 jpp 1.6 - update for 6.2 neededing java-1.8.0
45     - add local test webservices
46     - main rpm is now using systemd [SME: 11619]
47 jpp 1.5
48 jpp 1.4 * Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-5.sme
49 brianr 1.7 - Re-build and link to latest devtools services not restarted on install [SME: 11280]
50 jpp 1.4
51 jpp 1.3 * Fri Jun 04 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.0.3761-4.sme
52 brianr 1.7 - Re-build and link to latest devtools new configuration for madsonic 6 [SME: 11280]
53 jpp 1.3 add update event
54     - add madsonic user to audio group [SME: 10700]
55     - add /var/media folders and subfolders [SME: 10701]
56    
57 brianr 1.2 * Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 5.0.3761-3.sme
58     - Initial Import in SME10 [SME: 11280]
59    
60 brianr 1.1 * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 5.0.3761-1.sme
61     - initial import to SME9 contribs
62    
63     * Wed Nov 20 2013 CONTRIB MAKER <tests@pialasse.com> 5.0.3760-2.sme
64     - initial release
65     - builds from unchanged .tar.gz
66    
67     %pre
68     grep '^madsonic:' /etc/passwd > /dev/null || \
69     /usr/sbin/useradd -c "madsonic" -M -d /usr/share/madsonic -s /bin/bash madsonic
70 jpp 1.3 /usr/sbin/usermod -aG audio madsonic
71 brianr 1.1
72     %prep
73     %setup
74 jpp 1.3 %patch0 -p1
75 jpp 1.8 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 jpp 1.5 %patch1 -p1
77 jpp 1.6 %patch2 -p1
78 jpp 1.8 mkdir -p root/var/madsonic/lucene30/album root/var/madsonic/conversion/audio root/var/madsonic/conversion/video
79     %patch3 -p1
80 brianr 1.1
81     %build
82     perl createlinks
83    
84     %install
85     rm -rf $RPM_BUILD_ROOT
86     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
87     rm -f %{name}-%{version}-filelist
88     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
89 jpp 1.3 --dir /var/media/ 'attr(0755,madsonic,madsonic)' \
90 jpp 1.8 --dir /var/media/playlists/ 'attr(0750,madsonic,madsonic)' \
91     --dir /var/media/playlists/export/ 'attr(0750,madsonic,madsonic)' \
92     --dir /var/media/playlists/import/ 'attr(0750,madsonic,madsonic)' \
93 jpp 1.3 --dir /var/media/incoming/ 'attr(0750,madsonic,madsonic)' \
94     --dir /var/media/podcast/ 'attr(0750,madsonic,madsonic)' \
95     --dir /var/media/playlists/backup/ 'attr(0750,madsonic,madsonic)' \
96 jpp 1.8 --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 jpp 1.6 --file /var/www/backend/validateLicense.view 'attr(0750,www,www)' \
102     --dir /var/www/backend/ 'attr(0750,www,www)' \
103 jpp 1.9 --ignoredir /var/madsonic \
104 brianr 1.1 > %{name}-%{version}-filelist
105    
106     %clean
107     rm -rf $RPM_BUILD_ROOT
108    
109     %files -f %{name}-%{version}-filelist
110     %defattr(-,root,root)
111    
112    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed