diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..43fc7af --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +wput-0.6.1.tgz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..76a92fd --- /dev/null +++ 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..4943c00 --- /dev/null +++ b/wput.spec @@ -0,0 +1,59 @@ +Summary: A utility for uploading files or whole directories to remote ftp-servers +Name: wput +Version: 0.6.1 +Release: 5%{?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 +* Wed Feb 25 2009 Fedora Release Engineering - 0.6.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + + +* 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