SPECS: safecat.spec (NEW) - new

glen glen at pld-linux.org
Sun May 7 21:27:56 CEST 2006


Author: glen                         Date: Sun May  7 19:27:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   safecat.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/safecat.spec
diff -u /dev/null SPECS/safecat.spec:1.1
--- /dev/null	Sun May  7 21:27:56 2006
+++ SPECS/safecat.spec	Sun May  7 21:27:51 2006
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+Summary:	safecat: Write Data Safely to a Directory
+Name:		safecat
+Version:	1.13
+Release:	1
+License:	BSD
+Group:		Applications/File
+Source0:	http://jeenyus.net/~budney/linux/software/safecat/%{name}-%{version}.tar.gz
+# Source0-md5:	41f76b6c8c47f467556651855ea027a7
+Patch0:		%{name}.patch
+URL:		http://jeenyus.net/~budney/linux/software/safecat.html
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+safecat implements Dan Bernstein's maildir algorithm, copying standard
+input safely to a specified directory. With safecat, the user is
+offered two assurances. First, if safecat returns successfully, then
+all data is guaranteed to be saved in the destination directory.
+Second, if a file exists in the destination directory, placed there by
+safecat, then the file is guaranteed to be complete.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+echo '%{__cc} %{rpmcflags}' > conf-cc
+echo '%{__cc}' > conf-ld
+echo '%{_prefix}' > conf-root
+%{__make} -j1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+%{__make} setup \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/maildir
+%attr(755,root,root) %{_bindir}/safecat
+%{_mandir}/man1/maildir.1*
+%{_mandir}/man1/safecat.1*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/05/07 19:27:51  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list