summaryrefslogtreecommitdiffstats
path: root/fastback.spec
blob: 9ab89eef9856e329e5cf591c4e76c1298e0a54bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Name:           fastback
Version:        2
Release:        2
Summary:        File uploader, configureable file uploader

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)

BuildRequires: openssl-devel
Requires: openssl

%if 0%{?rhel}
%if 0%{?rhel} <= 5
BuildRequires: curl-devel
%else
BuildRequires: libcurl-devel
%endif
%else
BuildRequires: libcurl-devel
%endif

%description
Fastback is a command line tool to upload files to a ticketing system, or
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 README FIXME
/bin/fastback
/bin/fastback-unload-receipt
%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.