From 52b8b334df177fde1126a8aace143f437667276b Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 24 Aug 2007 15:32:33 +0000 Subject: [PATCH 1/4] Initialize branch F-7 for wxdfast --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..c48525c --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-7 From 3c8c53582b8cfaa012fe914cafecbf4a7f110095 Mon Sep 17 00:00:00 2001 From: drago01 Date: Fri, 24 Aug 2007 16:27:01 +0000 Subject: [PATCH 2/4] Initial import --- .cvsignore | 1 + sources | 1 + wxdfast-autotools.patch | 37 +++++++++++++++++++++ wxdfast.spec | 71 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 110 insertions(+) create mode 100644 wxdfast-autotools.patch create mode 100644 wxdfast.spec diff --git a/.cvsignore b/.cvsignore index e69de29..5e56379 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +wxdfast_0.6.0.tar.gz diff --git a/sources b/sources index e69de29..1e8b549 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +05c2a71cc8f811d1ad5916fce29b7b3a wxdfast_0.6.0.tar.gz diff --git a/wxdfast-autotools.patch b/wxdfast-autotools.patch new file mode 100644 index 0000000..94f183f --- /dev/null +++ b/wxdfast-autotools.patch @@ -0,0 +1,37 @@ +--- src/Makefile.am.orig 2007-08-22 10:22:18.000000000 +0200 ++++ src/Makefile.am 2007-08-22 10:22:35.000000000 +0200 +@@ -17,11 +17,9 @@ + PORTABLE_FLAGS = -D WXDFAST_PORTABLE + endif + +-CFLAGS =\ +- -Wall -O2 $(DEBUG_FLAGS) $(XRC_FLAGS) $(PORTABLE_FLAGS) ++CFLAGS += $(DEBUG_FLAGS) $(XRC_FLAGS) $(PORTABLE_FLAGS) + +-CXXFLAGS =\ +- -Wall -O2 $(DEBUG_FLAGS) $(XRC_FLAGS) $(PORTABLE_FLAGS) ++CXXFLAGS += $(DEBUG_FLAGS) $(XRC_FLAGS) $(PORTABLE_FLAGS) + + wxdfast_SOURCES = \ + BoxFind.cpp\ +--- src/Makefile.in.orig 2007-08-22 10:24:23.000000000 +0200 ++++ src/Makefile.in 2007-08-22 10:27:03.000000000 +0200 +@@ -112,16 +112,14 @@ + AWK = @AWK@ + CC = @CC@ + CCDEPMODE = @CCDEPMODE@ +-CFLAGS = \ +- -Wall -O2 $(DEBUG_FLAGS) $(XRC_FLAGS) $(PORTABLE_FLAGS) ++CFLAGS = @CFLAGS@ $(DEBUG_FLAGS) $(XRC_FLAGS) $(PORTABLE_FLAGS) + + CPP = @CPP@ + CPPFLAGS = @CPPFLAGS@ + CXX = @CXX@ + CXXCPP = @CXXCPP@ + CXXDEPMODE = @CXXDEPMODE@ +-CXXFLAGS = \ +- -Wall -O2 $(DEBUG_FLAGS) $(XRC_FLAGS) $(PORTABLE_FLAGS) ++CXXFLAGS = @CXXFLAGS@ $(DEBUG_FLAGS) $(XRC_FLAGS) $(PORTABLE_FLAGS) + + CYGPATH_W = @CYGPATH_W@ + DEBUG_FALSE = @DEBUG_FALSE@ diff --git a/wxdfast.spec b/wxdfast.spec new file mode 100644 index 0000000..1e47cae --- /dev/null +++ b/wxdfast.spec @@ -0,0 +1,71 @@ +Name: wxdfast +Version: 0.6.0 +Release: 3%{?dist} +Summary: Multi-threaded download manager + +Group: Applications/Internet +License: GPLv2 +URL: http://dfast.sourceforge.net/ +Source0: http://prdownloads.sourceforge.net/sourceforge/dfast/%{name}_%{version}.tar.gz +Patch0: wxdfast-autotools.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: wxGTK-devel +BuildRequires: gettext +BuildRequires: desktop-file-utils + +%description +wxDownload Fast (also known as wxDFast) is an open source multi-threaded +download manager.This means that it can split a file into several pieces +and download the pieces simultaneously + +%prep +%setup -q +%patch0 + +find . -name '*.cpp' -exec chmod a-x {} ';' +find . -name '*.h' -exec chmod a-x {} ';' + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +desktop-file-install --vendor fedora \ + --delete-original \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ +$RPM_BUILD_ROOT%{_datadir}/applications/wxdfast.desktop + +chmod -x COPYING README AUTHORS ChangeLog + +%find_lang wxDFast + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -f wxDFast.lang +%defattr(-,root,root,-) +%{_bindir}/wxdfast +%{_datadir}/wxdfast +%{_mandir}/man1/wxdfast.1.gz +%{_mandir}/pt_BR/man1/wxdfast.1.gz +%{_datadir}/pixmaps/wxdfast.png +%{_datadir}/applications/fedora-wxdfast.desktop +%doc COPYING README AUTHORS ChangeLog + + + +%changelog +* Thu Aug 23 2007 Adel Gadllah 0.6.0-3 +- Fix source file permissions + +* Wed Aug 22 2007 Adel Gadllah 0.6.0-2 +- Add patches and specfile changes from Dan Horak (RH #249524) + +* Wed Jul 25 2007 Adel Gadllah 0.6.0-1 +- Initital Build From 88ef428b24141f7ed573705285fa2b5b7f0ffbc2 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:19:30 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5e61e27..a455f62 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: wxdfast -# $Id$ +# $Id: Makefile,v 1.1 2007/08/24 15:32:24 kevin Exp $ NAME := wxdfast 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 a502e919e64afa93dc1ac987f44938b4f3ad8d89 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:29:31 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch 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 a455f62..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: wxdfast -# $Id: Makefile,v 1.1 2007/08/24 15:32:24 kevin Exp $ -NAME := wxdfast -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 c48525c..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-7