Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3b555415f | ||
|
|
a5aebcd044 | ||
|
|
dc6e043fdb | ||
| 7194fb38dc |
6 changed files with 72 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
wput-0.6.1.tgz
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: wput
|
|
||||||
# $Id$
|
|
||||||
NAME := wput
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
92b41efed4db8eb4f3443c23bf7ceecf wput-0.6.1.tgz
|
||||||
14
wput-destdir.patch
Normal file
14
wput-destdir.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
diff -ruN wput-0.6.1.orig/Makefile.in wput-0.6.1.new/Makefile.in
|
||||||
|
--- wput-0.6.1.orig/Makefile.in 2007-12-12 15:30:04.000000000 -0200
|
||||||
|
+++ wput-0.6.1.new/Makefile.in 2008-10-26 20:09:36.000000000 -0200
|
||||||
|
@@ -16,8 +16,8 @@
|
||||||
|
|
||||||
|
install: all
|
||||||
|
cd po && $(MAKE) $(MAKEDEFS) $@
|
||||||
|
- install -m0755 wput $(bindir)
|
||||||
|
- install -m0644 doc/wput.1.gz $(mandir)
|
||||||
|
+ install -D -p -m 0755 wput $(DESTDIR)$(bindir)/wput
|
||||||
|
+ install -D -p -m 0644 doc/wput.1.gz $(DESTDIR)$(mandir)/wput.1.gz
|
||||||
|
@echo "----------------"
|
||||||
|
@echo "Wput installed. See 'wput -h' or 'man wput' for usage information."
|
||||||
|
@echo "Further documentation is located in the doc/USAGE.* files."
|
||||||
56
wput.spec
Normal file
56
wput.spec
Normal file
|
|
@ -0,0 +1,56 @@
|
||||||
|
Summary: A utility for uploading files or whole directories to remote ftp-servers
|
||||||
|
Name: wput
|
||||||
|
Version: 0.6.1
|
||||||
|
Release: 4%{?dist}
|
||||||
|
License: GPLv2+
|
||||||
|
Group: Applications/Internet
|
||||||
|
URL: http://wput.sourceforge.net/
|
||||||
|
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
Patch0: wput-destdir.patch
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: gnutls-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
Wput is a command-line ftp-client that looks like wget but instead of
|
||||||
|
downloading, uploads files or whole directories to remote ftp-servers.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-g-switch
|
||||||
|
|
||||||
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{__rm} -rf %{buildroot}
|
||||||
|
%{__make} install DESTDIR=%{buildroot}
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc ChangeLog COPYING INSTALL TODO doc
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
||||||
|
* Mon Oct 28 2008 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.6.1-4
|
||||||
|
- Changes bugzilla #468633 Comment #10 From Manuel Wolfshant ->
|
||||||
|
- BuildRequires: gettext / gnutls-devel
|
||||||
|
|
||||||
|
* Thu Oct 27 2008 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.6.1-3
|
||||||
|
- Start counting patches from 0 / Rename Patch1 to Patch0
|
||||||
|
- Fix Source0 Address
|
||||||
|
|
||||||
|
* Mon Oct 27 2008 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.6.1-2
|
||||||
|
- Changes bugzilla #468633 Comment #1 From Fabian Affolter ->
|
||||||
|
- Fix Release, %%files section and consistent use of macros
|
||||||
|
|
||||||
|
* Thu Oct 26 2008 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.6.1-1.0
|
||||||
|
- Initial package.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue