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

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

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


Revision 1.1 - (show annotations) (download)
Thu Aug 23 01:29:22 2012 UTC (12 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-qmHandle-1_4-1_el5_sme
Initial import

1 %define name smeserver-qmHandle
2 Name: %{name}
3 %define version 1.4
4 %define release 1
5 Version: %{version}
6 Release: %{release}%{?dist}
7 BuildArch: noarch
8 License: GPL
9 Group: Networking/Info
10 Summary: adds a panel for managing the Qmail queues using qmHandle
11 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
12 Source: %{name}-%{version}.tgz
13 Obsoletes: qmHandle
14 Obsoletes: e-smith-qmail-view
15 Obsoletes: e-smith-qmHandle
16 Obsoletes: smeserver-saco-qmHandle
17 Provides: smeserver-qmHandle
18 Requires: e-smith-base
19 Requires: e-smith-lib
20 Requires: perl
21 Requires: smeserver-release >= 8
22
23 AutoReqProv: no
24
25 %description
26 A panel for managing the Qmail queues using qmHandle
27 (http://sourceforge.net/projects/qmhandle)
28
29 %changelog
30 * Thu Aug 23 2012 JP Pialasse <tests@pialasse.com> 1.4-1.sme
31 - Initial release
32
33 %prep
34 %setup
35
36 %build
37 perl createlinks
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
43 rm -f e-smith-%{version}-filelist
44 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files -f %{name}-%{version}-filelist
50
51 %defattr(-,root,root)
52 %attr(4750 root admin) "/etc/e-smith/web/functions/qmh"
53 %attr(0755 root root) "/usr/bin/qmHandle"
54
55 %pre
56
57 %post -p /bin/sh
58 /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1
59
60 %preun
61
62 %postun -p /bin/sh
63 /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1
64

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