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

Contents of /rpms/smeserver-madsonic/contribs8/smeserver-madsonic.spec

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


Revision 1.1 - (show annotations) (download)
Thu Nov 21 14:15:29 2013 UTC (11 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-madsonic-5_0_3760-2_el5_sme, smeserver-madsonic-5_0_3760-2, HEAD
Initial import

1 %define name smeserver-madsonic
2 %define version 5.0.3760
3 %define release 2
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 * Wed Nov 20 2013 CONTRIB MAKER <tests@pialasse.com> 5.0.3760-2.sme
26 - initial release
27 - builds from unchanged .tar.gz
28
29 %pre
30 grep '^madsonic:' /etc/passwd > /dev/null || \
31 /usr/sbin/useradd -c "madsonic" -M -d /usr/share/madsonic -s /bin/bash madsonic
32
33 %prep
34 %setup
35
36 %build
37 perl createlinks
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
42 rm -f %{name}-%{version}-filelist
43 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
44 > %{name}-%{version}-filelist
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files -f %{name}-%{version}-filelist
50 %defattr(-,root,root)
51
52

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