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

Diff of /rpms/madsonic/contribs10/madsonic.spec

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

Revision 1.1 by jpp, Thu Jun 3 15:20:24 2021 UTC Revision 1.4 by jpp, Sat Jul 23 01:54:44 2022 UTC
# Line 1  Line 1 
1  %define name madsonic  %define name madsonic
2  %define version 5.0.3760  %define version 6.2.9092
3  %define release 1  %define release 1
4  %define __os_install_post \  %define __os_install_post \
5         /usr/lib/rpm/brp-compress \         /usr/lib/rpm/brp-compress \
# Line 21  License:        GPLv3 Line 21  License:        GPLv3
21  URL:            http://madsonic.org  URL:            http://madsonic.org
22    
23  %changelog  %changelog
24    * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-1.sme
25    - update with log4j fixes and more
26    
27    * Fri Jun 04 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9084-2.sme
28    - fix permissions [SME: 10699]
29    - fix noise on start with initial install [SME: 8016]
30    
31    * Thu Jun 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9084-1.sme
32    - update to 6.2.9084
33    - first build for SME10
34    
35  * Sun Nov 17 2013 JP Pialasse <tests@pialasse.com> 5.0.3760-1.sme  * Sun Nov 17 2013 JP Pialasse <tests@pialasse.com> 5.0.3760-1.sme
36  - first build for sme  - first build for sme
37  - adding noarch  - adding noarch
# Line 45  rm -rf $RPM_BUILD_ROOT Line 56  rm -rf $RPM_BUILD_ROOT
56  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
57  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
58  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
59     --dir /usr/share/madsonic 'attr(0750,madsonic,madsonic)' \
60     --dir /var/madsonic 'attr(0750,madsonic,madsonic)' \
61  | grep -v "/etc/sysconfig/madsonic" \  | grep -v "/etc/sysconfig/madsonic" \
62  | grep -v   "/etc/init.d$" \  | grep -v   "/etc/init.d$" \
63  | grep -v   "/etc/sysconfig$"\  | grep -v   "/etc/sysconfig$"\
# Line 58  rm -rf $RPM_BUILD_ROOT Line 71  rm -rf $RPM_BUILD_ROOT
71  %config(noreplace) /etc/sysconfig/madsonic  %config(noreplace) /etc/sysconfig/madsonic
72    
73  %pre  %pre
74    grep '^madsonic:' /etc/passwd > /dev/null || \
75    /usr/sbin/useradd -c "madsonic" -M -d /usr/share/madsonic   -s /bin/bash madsonic
76    /usr/sbin/usermod -aG audio madsonic
77    
78  # Stop Madsonic service.  # Stop Madsonic service.
79  if [ -e /etc/init.d/madsonic ]; then  if [ -e /etc/init.d/madsonic ]; then
80    service madsonic stop    service madsonic stop
# Line 82  rm -rf /var/madsonic/jetty Line 99  rm -rf /var/madsonic/jetty
99  chcon -t java_exec_t /etc/init.d/madsonic 2>/dev/null  chcon -t java_exec_t /etc/init.d/madsonic 2>/dev/null
100    
101  # Configure and start Madsonic service.  # Configure and start Madsonic service.
102  chkconfig --add madsonic  #chkconfig --add madsonic
103  service madsonic start  #service madsonic start
104    
105  exit 0  exit 0
106  %preun  %preun


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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