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

Annotation of /rpms/dot-forward/sme7/dot-forward.spec

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 15:05:49 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: dot-forward-0_71-4_el4_sme
Import on branch sme7 of package dot-forward-0.71-4.el4.sme.src.rpm

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