From 7194fb38dcf8a6874a57bc825508274d0fb1a40f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 29 Oct 2008 21:25:27 +0000 Subject: [PATCH 1/4] Initialize branch F-9 for wput --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..1c26f78 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-9 From dc6e043fdb3b13e43b429360440ae5d9e372a5a4 Mon Sep 17 00:00:00 2001 From: Itamar Reis Peixoto Date: Thu, 30 Oct 2008 13:49:07 +0000 Subject: [PATCH 2/4] Initial Import --- .cvsignore | 1 + import.log | 1 + sources | 1 + wput-destdir.patch | 14 ++++++++++++ wput.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 73 insertions(+) create mode 100644 import.log create mode 100644 wput-destdir.patch create mode 100644 wput.spec diff --git a/.cvsignore b/.cvsignore index e69de29..43fc7af 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +wput-0.6.1.tgz diff --git a/import.log b/import.log new file mode 100644 index 0000000..bd15e60 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +wput-0_6_1-4_fc9:F-9:wput-0.6.1-4.fc9.src.rpm:1225374513 diff --git a/sources b/sources index e69de29..76a92fd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +92b41efed4db8eb4f3443c23bf7ceecf wput-0.6.1.tgz diff --git a/wput-destdir.patch b/wput-destdir.patch new file mode 100644 index 0000000..5324920 --- /dev/null +++ b/wput-destdir.patch @@ -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." diff --git a/wput.spec b/wput.spec new file mode 100644 index 0000000..91ae714 --- /dev/null +++ b/wput.spec @@ -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 - 0.6.1-4 +- Changes bugzilla #468633 Comment #10 From Manuel Wolfshant -> +- BuildRequires: gettext / gnutls-devel + +* Thu Oct 27 2008 Itamar Reis Peixoto - 0.6.1-3 +- Start counting patches from 0 / Rename Patch1 to Patch0 +- Fix Source0 Address + +* Mon Oct 27 2008 Itamar Reis Peixoto - 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 - 0.6.1-1.0 +- Initial package. \ No newline at end of file From a5aebcd044211743e67418117a16cd8892915a99 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:18:48 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1cdcd47..b3eb19d 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ 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 +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From d3b555415faee13bb986b67bb208d70fae1d5f39 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:26:12 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index b3eb19d..0000000 --- a/Makefile +++ /dev/null @@ -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 $$d/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) diff --git a/branch b/branch deleted file mode 100644 index 1c26f78..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-9 diff --git a/import.log b/import.log deleted file mode 100644 index bd15e60..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -wput-0_6_1-4_fc9:F-9:wput-0.6.1-4.fc9.src.rpm:1225374513