diff options
author | Gavin Romig-Koch <gavin@localhost.localdomain> | 2009-08-18 12:55:19 -0400 |
---|---|---|
committer | Gavin Romig-Koch <gavin@localhost.localdomain> | 2009-08-18 12:55:19 -0400 |
commit | c238b074feb5cc0fcd7bcac331036b09aa80a7a1 (patch) | |
tree | 564d70f61cea2a984a57638ba08e65bf5e134853 /fastback.spec | |
parent | 08fdfa8c2b7511a0886fc04787e07cf608abbc98 (diff) | |
download | fastback-c238b074feb5cc0fcd7bcac331036b09aa80a7a1.tar.gz fastback-c238b074feb5cc0fcd7bcac331036b09aa80a7a1.tar.xz fastback-c238b074feb5cc0fcd7bcac331036b09aa80a7a1.zip |
Improve Makefile and specfile to allow mock building
Diffstat (limited to 'fastback.spec')
-rw-r--r-- | fastback.spec | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/fastback.spec b/fastback.spec index f3a89a1..fe329c8 100644 --- a/fastback.spec +++ b/fastback.spec @@ -1,6 +1,6 @@ Name: fastback Version: 1 -Release: 1%{?dist} +Release: 1 Summary: File uploader, configureable file uploader Group: support @@ -9,6 +9,24 @@ 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 +Requires: curl +%else +BuildRequires: libcurl-devel +Requires: libcurl +%endif +%endif + +%if 0%{?fedora} +BuildRequires: libcurl-devel +Requires: libcurl +%endif + %description Fastback is a command line tool to upload files to a ticketing system, or other configurable URL (FTP,SCP,...). |