/[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.6 by jpp, Sat Jul 23 14:22:31 2022 UTC Revision 1.11 by jpp, Fri Dec 30 05:35:57 2022 UTC
# Line 1  Line 1 
1  %define name madsonic  %define name madsonic
2  %define version 6.2.9092  %define version 6.2.9092
3  %define release 1  %define release 2
4  %define __os_install_post \  %define __os_install_post \
5         /usr/lib/rpm/brp-compress \         /usr/lib/rpm/brp-compress \
6         /usr/lib/rpm/brp-strip \         /usr/lib/rpm/brp-strip \
# Line 12  Version:        %{version} Line 12  Version:        %{version}
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:        madsonic.service
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
# Line 22  License:        GPLv3 Line 24  License:        GPLv3
24  URL:            http://madsonic.org  URL:            http://madsonic.org
25    
26  %changelog  %changelog
27    * Fri Dec 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-2.sme
28    - fix madsonic fails as starting before network
29    
30  * 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
31  - update with log4j fixes and more  - update with log4j fixes and more
32  - systemd capable  - systemd capable
33  - enable mediasonic.test by default  - add mediasonic.test
34    
35  * 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
36  - fix permissions [SME: 10699]  - fix permissions [SME: 10699]
# Line 53  Java 1.8 or higher is required to run Ma Line 58  Java 1.8 or higher is required to run Ma
58  %prep  %prep
59  %setup  %setup
60  %patch0 -p1  %patch0 -p1
61    %patch1 -p1
62    mkdir -p root/usr/lib/systemd/system
63    cp %{SOURCE1} root/usr/lib/systemd/system
64  mkdir -p root/run/madsonic  mkdir -p root/run/madsonic
65  mkdir -p root/usr/lib/tmpfiles.d/  mkdir -p root/usr/lib/tmpfiles.d/
66    mkdir -p root/usr/bin
67  echo "d /run/madsonic 0755 madsonic madsonic" > root/usr/lib/tmpfiles.d/madsonic.conf  echo "d /run/madsonic 0755 madsonic madsonic" > root/usr/lib/tmpfiles.d/madsonic.conf
68  rm root/etc/init.d/madsonic  rm root/etc/init.d/madsonic
69    
70  pushd root/usr/bin/  pushd root/usr/bin/
71  ln -sf  root/usr/share/madsonic/madsonic.sh madsonic  ln -sf  /usr/share/madsonic/madsonic.sh madsonic
72  popd  popd
73    
74    
# Line 72  rm -f %{name}-%{version}-filelist Line 80  rm -f %{name}-%{version}-filelist
80   --dir /usr/share/madsonic 'attr(0750,madsonic,madsonic)' \   --dir /usr/share/madsonic 'attr(0750,madsonic,madsonic)' \
81   --dir /var/madsonic 'attr(0750,madsonic,madsonic)' \   --dir /var/madsonic 'attr(0750,madsonic,madsonic)' \
82   --file /usr/lib/tmpfiles.d/madsonic.conf 'attr(0750,root,root)' \   --file /usr/lib/tmpfiles.d/madsonic.conf 'attr(0750,root,root)' \
83     --file /usr/lib/systemd/system/madsonic.service 'attr(0644,root,root)' \
84   --dir /run/madsonic 'attr(0755,madsonic,madsonic)' \   --dir /run/madsonic 'attr(0755,madsonic,madsonic)' \
85   --ignoredir /run \   --ignoredir /run \
86   --ignoredir "/etc/sysconfig/madsonic" \   --ignoredir "/etc/sysconfig/madsonic" \


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