/[smeserver]/rpms/safecat/sme8/safecat.spec
ViewVC logotype

Contents of /rpms/safecat/sme8/safecat.spec

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


Revision 1.2 - (show annotations) (download)
Wed Apr 9 13:51:56 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -0 lines
Add Id to top of spec

1 # $Id$
2
3 Name: safecat
4 Summary: safe maildir/file delivery
5 Version: 1.11
6 Release: 3%{?dist}
7 URL: http://mysite.verizon.net/vze1ypud/linux/software/safecat.html
8 Source: http://mysite.verizon.net/vze1ypud/linux/software/safecat/%{name}-%{version}.tar.gz
9 Patch: safecat.errno.patch
10 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
11 Group: Applications/File
12 License: BSD
13 BuildRequires: groff
14
15 %description
16 safecat implements Dan Bernstein's maildir algorithm, copying standard
17 input safely to a specified directory. With safecat, the user is
18 offered two assurances. First, if safecat returns successfully, then
19 all data is guaranteed to be saved in the destination directory.
20 Second, if a file exists in the destination directory, placed there by
21 safecat, then the file is guaranteed to be complete.
22
23 %prep
24
25 %setup -q
26 %patch
27
28 %build
29
30 echo gcc $RPM_OPT_FLAGS > conf-cc
31 echo gcc -s $RPM_OPT_FLAGS > conf-ld
32 echo %{_prefix} > conf-root
33
34 make
35
36 %install
37 rm -fR %{buildroot}
38
39 # The following DJB-specfile trick (for nonroot builds) unfortunately
40 # installs manpages under /usr/man, rather than the rh7 preferred
41 # /usr/share/man. So, we skip it and do the hier.c work ourselves.
42 #echo $RPM_BUILD_ROOT/usr > conf-root
43 #rm -f auto_home.[co] install
44 #make setup check
45
46 install -d %{buildroot}%{_bindir}
47 install -d %{buildroot}%{_mandir}/man1
48
49 install -m 755 safecat %{buildroot}%{_bindir}/
50 install -m 755 maildir %{buildroot}%{_bindir}/
51 gzip *.1
52 install *.1.gz %{buildroot}%{_mandir}/man1/
53
54 %files
55 %defattr(-,root,root)
56 %doc CHANGES COPYING INSTALL README
57 %attr(0755,root,root) %{_bindir}/*
58 %{_mandir}/man1/*
59
60
61 %changelog
62 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
63 - Clean up spec so package can be built by koji/plague
64
65 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
66 - Update to new release naming. No functional changes.
67 - Make Packager generic
68
69 * Tue Aug 3 2004 Japheth Cleaver <cleaver@rohan.sdsu.edu> 1.11-3
70 - Minor specfile tweaks
71 - URL update
72 * Tue Feb 24 2004 JC Cleaver <cleaver@rohan.sdsu.edu>
73 - Build on Fedora Core 1
74 - Errno bugfix patch
75 * Tue Jul 01 2003 L Budney <lbudney@pobox.com>
76 - Minor bug fix to sources
77 * Tue Jun 03 2003 L Budney <lbudney@pobox.com>
78 - Update for 1.10
79 * Mon Nov 04 2002 MJ Pomraning <mjp@securepipe.com>
80 - Update for 1.9
81 * Mon Sep 24 2001 MJ Pomraning <mjp@securepipe.com>
82 - Update 1.2 -> 1.8 (nonroot build)
83 * Tue May 09 2000 MJ Pomraning <mjp@securepipe.com>
84 - first cut at an RPM package

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