/[smeserver]/rpms/dot-forward/sme9/dot-forward.spec
ViewVC logotype

Contents of /rpms/dot-forward/sme9/dot-forward.spec

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


Revision 1.1 - (show annotations) (download)
Thu Feb 7 22:09:55 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: dot-forward-0_71-4_el6_sme, HEAD
Initial import

1 # $Id: dot-forward.spec,v 1.2 2008/04/09 13:51:47 slords Exp $
2
3 #
4 # RPM spec file for Dan Bernstein's dot-forward package
5 #
6 # $Id: dot-forward.spec,v 1.2 2008/04/09 13:51:47 slords Exp $
7 #
8 Summary: dot-forward reads sendmail's .forward files under qmail
9 %define name dot-forward
10 Name: %{name}
11 %define version 0.71
12 %define release 4
13 Version: %{version}
14 Release: %{release}%{?dist}
15 License: Daniel J. Bernstein
16 Group: Networking/Daemons
17 Source: http://cr.yp.to/software/%{name}-%{version}.tar.gz
18 URL: http://cr.yp.to/%{name}.html
19 Patch0: %{name}-%{version}.patch.2001020500
20 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21 Requires: qmail
22 Provides: dot-forward
23 AutoReqProv: no
24 BuildRequires: groff
25
26 %description
27 dot-forward reads sendmail's .forward files under qmail. You can run
28 it in the qmail startup script to support all your existing .forward
29 files automatically. Individual users can switch to the .qmail
30 mechanism at their leisure.
31
32 dot-forward supports forwarding, program deliveries, and comments. It
33 does not support file deliveries or :include:. (However, it recognizes
34 file delivery attempts, and defers delivery to give you a chance to
35 set up a .qmail file.)
36
37 %changelog
38 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
39 - Clean up spec so package can be built by koji/plague
40
41 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
42 - Update to new release naming. No functional changes.
43 - Make Packager generic
44
45 * Tue Oct 11 2005 Charlie Brady <charlieb@e-smith.com> 0.71-03
46 - Rebuild under CentOS 4. Includes errno.h compiler configuration
47 fix.
48
49 * Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com>
50 - Rolling release number for GPG signing.
51
52 * Mon Feb 5 2001 Peter Samuel <peters@e-smith.com>
53 - [0.71-02]
54 - Now installs in its own root area prior to creating binary RPM.
55
56 * Mon Mar 29 1999 Joseph Morrison <jdm@e-smith.com>
57 - [0.71-1]
58 - initial release
59
60 %prep
61 %setup
62
63 # This patch allows files to be installed in a relative directory prior
64 # to creating the binary RPM. It does not change the files or their
65 # final installed locations.
66
67 %patch0 -p1
68
69 # Create the relative installation directory.
70
71 mkdir -p ./root/var/qmail
72
73 %build
74 echo gcc --include /usr/include/errno.h > conf-cc
75 make
76
77 %install
78 make setup
79 make check
80 rm -rf $RPM_BUILD_ROOT
81 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %attr(755,root,root) /var/qmail/bin/dot-forward
88 %attr(644,root,root) /var/qmail/man/man1/dot-forward.1
89 %attr(644,root,root) /var/qmail/man/cat1/dot-forward.0

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