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