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

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

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 17 19:25:15 2014 UTC (10 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-madsonic-5_0_3761-1, smeserver-madsonic-5_0_3761-1_el6_sme, HEAD
Initial import to v9

1 unnilennium 1.1 %define name smeserver-madsonic
2     %define version 5.0.3761
3     %define release 1
4     Summary: madsonic 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-madsonic-%{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: madsonic
17     Requires: ffmpeg
18     Requires: java-1.7.0-openjdk >= 1.7
19     AutoReqProv: no
20    
21     %description
22     madsonic is an application adapted as a contrib for SMEserver
23    
24     %changelog
25     * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 5.0.3761-1.sme
26     - initial import to SME9 contribs
27    
28     * Wed Nov 20 2013 CONTRIB MAKER <tests@pialasse.com> 5.0.3760-2.sme
29     - initial release
30     - builds from unchanged .tar.gz
31    
32     %pre
33     grep '^madsonic:' /etc/passwd > /dev/null || \
34     /usr/sbin/useradd -c "madsonic" -M -d /usr/share/madsonic -s /bin/bash madsonic
35    
36     %prep
37     %setup
38    
39     %build
40     perl createlinks
41    
42     %install
43     rm -rf $RPM_BUILD_ROOT
44     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
45     rm -f %{name}-%{version}-filelist
46     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
47     > %{name}-%{version}-filelist
48    
49     %clean
50     rm -rf $RPM_BUILD_ROOT
51    
52     %files -f %{name}-%{version}-filelist
53     %defattr(-,root,root)
54    
55    

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