summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@localhost.localdomain>2009-09-02 11:01:06 -0400
committerGavin Romig-Koch <gavin@localhost.localdomain>2009-09-02 11:01:06 -0400
commitb8148f68586d849c0021908a6b0ecee0dc60946a (patch)
treeb360b945ee121f60433750dc581491ffea435b88
parent899717a3954b800abd9c03c1e9a0af7670d9ce29 (diff)
downloadfastback-b8148f68586d849c0021908a6b0ecee0dc60946a.tar.gz
fastback-b8148f68586d849c0021908a6b0ecee0dc60946a.tar.xz
fastback-b8148f68586d849c0021908a6b0ecee0dc60946a.zip
Clean up documentation and spec file, resolve rpmlint issues
-rw-r--r--Makefile2
-rw-r--r--fastback.cpp29
-rw-r--r--fastback.spec26
3 files changed, 40 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index 774c20e..13b3998 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ clean:
# Maintainer
#
-TARFILES=fastback.cpp Makefile fastback.conf fastback-check test fastback-unload-receipt
+TARFILES=fastback.cpp Makefile fastback.conf fastback-check test fastback-unload-receipt README FIXME INSTALL COPYING fastback-setup-server-anonftp
TARFILENAME=$(NAME)-$(VERSION).tar.gz
# This should be changed to build on dist, when I build a dist
diff --git a/fastback.cpp b/fastback.cpp
index 61e66e2..8f21a77 100644
--- a/fastback.cpp
+++ b/fastback.cpp
@@ -1,6 +1,33 @@
+/*
+ fastback.cpp
+ Copyright (C) 2009 Gavin Romig-Koch <gavin@redhat.com>
+ Copyright (C) 2009 Red Hat Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+/*
+
+Fastback uploads a file to a pre-configurable place. Fastback can be
+configured to send files (core files, log files, sos reports, etc) to
+places like your company's helpdesk, or support provider so that when
+something goes wrong you can concentrate on sending the file, not on
+remembering where or how to send the file. Fastback can also be included
+in automated scripts for delivering files.
-/*
The file is named on the command line.
An option to the command will cause the file to be encrypted before upload, and the output of the command will include the encryption key used.
diff --git a/fastback.spec b/fastback.spec
index d458fa1..9ab89ee 100644
--- a/fastback.spec
+++ b/fastback.spec
@@ -1,10 +1,10 @@
Name: fastback
Version: 2
-Release: 1
+Release: 2
Summary: File uploader, configureable file uploader
-Group: support
-License: GPL
+Group: System Environment/Base
+License: GPLv2+
URL: http://fedorahosted.org/fastback
Source0: fastback-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -15,16 +15,11 @@ Requires: openssl
%if 0%{?rhel}
%if 0%{?rhel} <= 5
BuildRequires: curl-devel
-Requires: curl
%else
BuildRequires: libcurl-devel
-Requires: libcurl
%endif
-%endif
-
-%if 0%{?fedora}
+%else
BuildRequires: libcurl-devel
-Requires: libcurl
%endif
%description
@@ -34,33 +29,34 @@ other configurable URL (FTP,SCP,...).
%prep
%setup -q
-
%build
make %{?_smp_mflags}
-
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
-
%clean
rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
-%doc
+%doc README FIXME
/bin/fastback
/bin/fastback-unload-receipt
-/etc/fastback.conf
+%attr(0644,root,root) %config(noreplace) /etc/fastback.conf
%changelog
+* Mon Sep 2 2009 Gavin Romig-Koch <gavin@redhat.com> 2-2
+- clean up documentation
+- clean up spec file (for rpmlint)
+
* Mon Aug 17 2009 Gavin Romig-Koch <gavin@redhat.com> 2-1
- added support for SCP and HTTP
- improved the documentation
- improved the error handling
+
* Mon Aug 17 2009 Gavin Romig-Koch <gavin@redhat.com> 0.1-1
- Initial version.