/[smecontribs]/rpms/smeserver-subsonic/contribs8/smeserver-subsonic.spec
ViewVC logotype

Diff of /rpms/smeserver-subsonic/contribs8/smeserver-subsonic.spec

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

Revision 1.1 by unnilennium, Sat Oct 26 20:57:06 2013 UTC Revision 1.2 by unnilennium, Sun Oct 27 00:59:44 2013 UTC
# Line 1  Line 1 
1  %define name smeserver-subsonic  %define name smeserver-subsonic
2  %define version 4.8  %define version 4.8
3  %define release 1  %define release 4
4  Summary: subsonic is a helpdesk system  Summary: subsonic is a helpdesk system
5  Name: %{name}  Name: %{name}
6  Version: %{version}  Version: %{version}
# Line 9  Distribution: SME Server Line 9  Distribution: SME Server
9  License: GNU GPL version 2  License: GNU GPL version 2
10  Group: SMEserver/addon  Group: SMEserver/addon
11  Source: smeserver-subsonic-%{version}.tar.gz  Source: smeserver-subsonic-%{version}.tar.gz
12    Patch0:  smeserver-subsonic-4.8-patch0.patch
13    Patch1:  smeserver-subsonic-4.8-patch1.patch
14    Patch2: smeserver-subsonic-4.8-patch2.patch
15    Patch3: smeserver-subsonic-4.8-patch3.patch
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: subsonic  Requires: subsonic
21    Requires: ffmpeg
22    Requires: java
23  AutoReqProv: no  AutoReqProv: no
24    
25    %changelog
26    * Sat Oct 26 2013 JP Pialasse <tests@pialasse.com> 4.8-4.sme
27    - fixing some generator errors
28    - adding configurations described in wiki manual installation
29    - adding java and ffmpeg requirement
30    
31    * Sat Oct 26 2013  Contrib Maker <tests@pialasse.com> 4.8-1.sme
32    - initial release
33    - builds from unchanged .tar.gz
34    
35    
36  %description  %description
37  subsonic is an application adapted as a contrib for SMEserver  subsonic is an application adapted as a contrib for SMEserver
38    
39  %changelog  %pre
40  * Sat Oct 26 2013  CONTRIB MAKER <tests@pialasse.com> 4.8-1.sme  
41  - initial release  grep '^subsonic:' /etc/passwd > /dev/null || \
42  - builds from unchanged .tar.gz  /usr/sbin/useradd -c "subsonic" -M -d /usr/share/subsonic   -s /bin/bash subsonic
43    
44    
45  %prep  %prep
46  %setup    %setup  
47  #-c -n %{name}  %patch0 -p1
48    %patch1 -p1
49    %patch2 -p1
50    %patch3 -p1
51    
52  %build  %build
53  perl createlinks  perl createlinks
# Line 47  rm -rf $RPM_BUILD_ROOT Line 66  rm -rf $RPM_BUILD_ROOT
66  %defattr(-,root,root)  %defattr(-,root,root)
67    
68    
 #%build  
 #drop in an unchanged .tgz, if required rename directory here, eg remove version number.  
 #mkdir -p root/opt/  
 #mv %{name} root/opt/subsonic  
   
 #%install  
 #rm -rf $RPM_BUILD_ROOT  
 #(cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  
 #rm -f %{name}-%{version}-filelist  
 #/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  
 #    > %{name}-%{version}-filelist  
   
 #%clean  
 #cd ..  
 #rm -rf %{name}  
   
 #%files -f %{name}-%{version}-filelist  
 #%defattr(-,root,root)  
   
69  %post  %post
70  #(needed if a contrib and it contains DB templates)  #(needed if a contrib and it contains DB templates)
71  #/etc/e-smith/events/actions/initialize-default-databases  #/etc/e-smith/events/actions/initialize-default-databases


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