rpms/wxdfast/F-7 wxdfast-autotools.patch, NONE, 1.1 wxdfast.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Adel Gadllah (drago01) fedora-extras-commits at redhat.com
Fri Aug 24 16:27:33 UTC 2007


Author: drago01

Update of /cvs/pkgs/rpms/wxdfast/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32178/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	wxdfast-autotools.patch wxdfast.spec 
Log Message:


Initial import


wxdfast-autotools.patch:

--- NEW FILE wxdfast-autotools.patch ---
--- 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@


--- NEW FILE wxdfast.spec ---
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 <adel.gadllah at gmail.com> 0.6.0-3
- Fix source file permissions

* Wed Aug 22 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.6.0-2
- Add patches and specfile changes from Dan Horak (RH #249524)

* Wed Jul 25 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.6.0-1
- Initital Build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/wxdfast/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	24 Aug 2007 15:32:24 -0000	1.1
+++ .cvsignore	24 Aug 2007 16:27:01 -0000	1.2
@@ -0,0 +1 @@
+wxdfast_0.6.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/wxdfast/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Aug 2007 15:32:24 -0000	1.1
+++ sources	24 Aug 2007 16:27:01 -0000	1.2
@@ -0,0 +1 @@
+05c2a71cc8f811d1ad5916fce29b7b3a  wxdfast_0.6.0.tar.gz




More information about the fedora-extras-commits mailing list