/[smecontribs]/rpms/qmqtool/contribs10/qmqtool.spec
ViewVC logotype

Annotation of /rpms/qmqtool/contribs10/qmqtool.spec

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


Revision 1.1 - (hide annotations) (download)
Fri Apr 2 01:39:49 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: qmqtool-1_14-1_el7_sme, qmqtool-1_14-1_el7_fws, HEAD
qmqtool

1 jpp 1.1 %define name qmqtool
2     %define version 1.14
3     %define release 1
4    
5    
6     Summary: A qmail queue manipulation program
7     Name: %{name}
8     Version: %{version}
9     Release: %{release}%{?dist}
10     License: Artistic License
11     Group: Applications/System
12     BuildArch: noarch
13     Url: http://jeremy.kister.net/code/qmqtool
14     Source0: http://jeremy.kister.net/code/qmqtool/files/%{name}-%{version}.tgz
15     Patch0: qmqtool-1.14-dont_check_qmaildir.patch
16    
17     Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18    
19     %description
20     qmqtool is a qmail queue manipulation program geared towards the
21     viewing and safe modification of the contents in a qmail queue.
22    
23     %prep
24     %setup -q -n %{name}-%{version}
25     %patch0 -p1
26    
27     %build
28     ./configure --qmaildir=/var/qmail
29     %{__make}
30    
31     %install
32     rm -rf %{buildroot}
33     %{__mkdir_p} %{buildroot}%{_bindir}
34     %{__mkdir_p} %{buildroot}%{_mandir}/man8
35     %{__install} -m 755 qmqtool %{buildroot}%{_bindir}
36     %{__install} -m 644 qmqtool.8 %{buildroot}%{_mandir}/man8/
37    
38     %clean
39     rm -rf %{buildroot}
40    
41    
42     %files
43     %defattr(-, root, root, -)
44     %doc Artistic README ChangeLog FAQ INSTALL contrib
45     %{_bindir}/*
46     %{_mandir}/man8/*
47    
48     %changelog
49     * Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> - 1.14-1
50     - First package

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