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

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

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


Revision 1.1 - (hide annotations) (download)
Sat Oct 26 20:57:06 2013 UTC (11 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-subsonic-4_8-1
Initial import

1 unnilennium 1.1 %define name smeserver-subsonic
2     %define version 4.8
3     %define release 1
4     Summary: subsonic is a helpdesk system
5     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-subsonic-%{version}.tar.gz
12     BuildArchitectures: noarch
13     BuildRoot: /var/tmp/%{name}-%{version}-buildroot
14     BuildRequires: e-smith-devtools
15     Requires: e-smith-release >= 8.0
16     Requires: subsonic
17     AutoReqProv: no
18    
19    
20    
21     %description
22     subsonic is an application adapted as a contrib for SMEserver
23    
24     %changelog
25     * Sat Oct 26 2013 CONTRIB MAKER <tests@pialasse.com> 4.8-1.sme
26     - initial release
27     - builds from unchanged .tar.gz
28    
29     %prep
30     %setup
31     #-c -n %{name}
32    
33     %build
34     perl createlinks
35    
36     %install
37     rm -rf $RPM_BUILD_ROOT
38     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
39     rm -f %{name}-%{version}-filelist
40     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
41     > %{name}-%{version}-filelist
42    
43     %clean
44     rm -rf $RPM_BUILD_ROOT
45    
46     %files -f %{name}-%{version}-filelist
47     %defattr(-,root,root)
48    
49    
50     #%build
51     #drop in an unchanged .tgz, if required rename directory here, eg remove version number.
52     #mkdir -p root/opt/
53     #mv %{name} root/opt/subsonic
54    
55     #%install
56     #rm -rf $RPM_BUILD_ROOT
57     #(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
58     #rm -f %{name}-%{version}-filelist
59     #/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
60     # > %{name}-%{version}-filelist
61    
62     #%clean
63     #cd ..
64     #rm -rf %{name}
65    
66     #%files -f %{name}-%{version}-filelist
67     #%defattr(-,root,root)
68    
69     %post
70     #(needed if a contrib and it contains DB templates)
71     #/etc/e-smith/events/actions/initialize-default-databases
72     #expand-template /etc/e-smith/sql/init/loggerdemo-create-schema.sql
73     #/etc/rc.d/init.d/mysql.init start
74     #true

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