/[smeserver]/rpms/fastforward/sme10/fastforward.spec
ViewVC logotype

Contents of /rpms/fastforward/sme10/fastforward.spec

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


Revision 1.1 - (show annotations) (download)
Sun Feb 7 14:12:56 2016 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: fastforward-0_51-04_el7_sme, HEAD
* Sun Feb 7 2016 stephane de Labrusse <stephdl@de-labrusse.fr>
- New build for sme10

1 # $Id: fastforward.spec,v 1.1 2013/02/07 22:11:06 slords Exp $
2
3 #
4 # RPM spec file for Dan Bernstein's fastforward package
5 #
6 # $Id: fastforward.spec,v 1.1 2013/02/07 22:11:06 slords Exp $
7 #
8 Summary: fastforward handles qmail forwarding according to a cdb database
9 %define name fastforward
10 Name: %{name}
11 %define version 0.51
12 %define release 04
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 Provides: fastforward
22 Requires: qmail
23 BuildRequires: groff
24 AutoReqProv: no
25
26 %description
27 fastforward handles qmail forwarding according to a cdb database. It
28 can create forwarding databases from a sendmail-style /etc/aliases or
29 from user-oriented virtual-domain tables.
30
31 fastforward supports external mailing lists, stored in a binary format
32 for fast access. It has a tool to convert sendmail-style include files
33 into binary lists.
34
35 fastforward is more reliable than sendmail. sendmail can't deal with
36 long aliases, or deeply nested aliases, or deeply nested include
37 files; fastforward has no limits other than memory. sendmail can
38 produce corrupted alias files if the system crashes; fastforward is
39 crashproof.
40
41 fastforward's database-building tools are much faster than sendmail's
42 newaliases. Even better, fastforward deliveries don't pause while the
43 database is being rebuilt.
44
45 fastforward does not support insecure sendmail-style program
46 deliveries from include files; you can use qmail's secure built-in
47 mechanisms instead. fastforward does support program deliveries from
48 /etc/aliases.
49
50 %changelog
51 * Sun Feb 7 2016 stephane de Labrusse <stephdl@de-labrusse.fr>
52 - New build for sme10
53
54 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
55 - Clean up spec so package can be built by koji/plague
56
57 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
58 - Update to new release naming. No functional changes.
59 - Make Packager generic
60
61 * Tue Oct 11 2005 Charlie Brady <charlieb@e-smith.com> 0.51-04
62 - Rebuild under CentOS 4. Includes errno.h compiler configuration
63 fix.
64
65 * Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com>
66 - Rolling release number for GPG signing.
67
68 * Mon Feb 5 2001 Peter Samuel <peters@e-smith.com>
69 - [0.51-02]
70 - Now installs in its own root area prior to creating binary RPM.
71
72 * Mon Mar 29 1999 Joseph Morrison <jdm@e-smith.com>
73 - [0.51-1]
74 - initial release
75
76 %prep
77 %setup
78
79 # This patch allows files to be installed in a relative directory prior
80 # to creating the binary RPM. It does not change the files or their
81 # final installed locations.
82
83 %patch0 -p1
84
85 # Create the relative installation directory.
86
87 mkdir -p ./root/var/qmail
88
89 %build
90 echo gcc --include /usr/include/errno.h > conf-cc
91 make
92
93 %install
94 make setup
95 make check
96 rm -rf $RPM_BUILD_ROOT
97 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %files
103 %attr(755,root,root) /var/qmail/bin/fastforward
104 %attr(755,root,root) /var/qmail/bin/printforward
105 %attr(755,root,root) /var/qmail/bin/setforward
106 %attr(755,root,root) /var/qmail/bin/newaliases
107 %attr(755,root,root) /var/qmail/bin/printmaillist
108 %attr(755,root,root) /var/qmail/bin/setmaillist
109 %attr(755,root,root) /var/qmail/bin/newinclude
110 %attr(755,root,root) %dir /var/qmail/doc/fastforward
111 %attr(644,root,root) /var/qmail/doc/fastforward/ALIASES
112 %attr(644,root,root) /var/qmail/man/man1/fastforward.1
113 %attr(644,root,root) /var/qmail/man/man1/printforward.1
114 %attr(644,root,root) /var/qmail/man/man1/setforward.1
115 %attr(644,root,root) /var/qmail/man/man1/newaliases.1
116 %attr(644,root,root) /var/qmail/man/man1/printmaillist.1
117 %attr(644,root,root) /var/qmail/man/man1/setmaillist.1
118 %attr(644,root,root) /var/qmail/man/man1/newinclude.1
119 %attr(644,root,root) /var/qmail/man/cat1/fastforward.0
120 %attr(644,root,root) /var/qmail/man/cat1/printforward.0
121 %attr(644,root,root) /var/qmail/man/cat1/setforward.0
122 %attr(644,root,root) /var/qmail/man/cat1/newaliases.0
123 %attr(644,root,root) /var/qmail/man/cat1/printmaillist.0
124 %attr(644,root,root) /var/qmail/man/cat1/setmaillist.0
125 %attr(644,root,root) /var/qmail/man/cat1/newinclude.0

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