File wxdfast.spec of Package wxdfast

# norootforbuild

Name:			wxdfast
Version:		0.6.0
Release:		0
Summary:		Multi-Threaded Download Manager with Metalink Support
# http://prdownloads.sourceforge.net/dfast/wxdfast_%{version}.tar.gz
Source:			wxdfast_%{version}.tar.bz2
Patch1:			wxdfast-fix-automake-flags.patch
URL:			http://dfast.sourceforge.net/
Group:			Productivity/Networking/Other
License:		GNU General Public License (GPL)
BuildRoot:		%{_tmppath}/build-%{name}-%{version}
BuildRequires:	wxWidgets-wxcontainer-devel libstdc++-devel
BuildRequires:	make gcc-c++ pkgconfig
BuildRequires:	autoconf automake libtool update-desktop-files
%if 0%{?suse_version} >= 1140
%define _use_internal_dependency_generator 0
%define __find_requires %wx_requires
%endif

%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.

Features:
- Faster downloads (with Segmented/Multi-threaded/Accelerated transfers)
- Download resuming (Pause and restart where you stopped)
- Download scheduling
- Organizes files you have already downloaded
- View server messages (HTTP, FTP, file://). No HTTPS support.
- Connection to FTP servers which require a password
- Calculates the MD5 checksum of downloaded files so they can be easily
  verified
- Metalink support


%prep
%setup -q
%patch1
touch INSTALL NEWS
%__chmod 0644 ChangeLog* COPYING README* TODO

%build
autoreconf -fiv

export CXXFLAGS="%{optflags} -fno-strict-aliasing"
%configure

%__make %{?jobs:-j%{jobs}}

%install
%makeinstall
%suse_update_desktop_file -r "%{name}" Network FileTransfer

%find_lang "wxDFast"

%clean
%__rm -rf "%{buildroot}"

%files -f "wxDFast.lang"
%defattr(-,root,root)
%doc AUTHORS ChangeLog* COPYING README* TODO
##%attr(0644,root,root) %doc AUTHORS ChangeLog* COPYING README* TODO
%{_bindir}/wxdfast
%{_datadir}/wxdfast
%doc %{_mandir}/man1/wxdfast.1*
%doc %{_mandir}/*/man1/wxdfast.1*
%{_datadir}/applications/wxdfast.desktop
%{_datadir}/pixmaps/wxdfast.png

%changelog
* Tue Mar  8 2011 Stanislav Brabec <sbrabec@suse.cz>
- Fixed use of wxWidgets.

* Fri Oct  5 2007 Pascal Bleser <guru@unixtech.be> 0.6.0
- moved to openSUSE Build Service

* Mon Mar 12 2007 Pascal Bleser <guru@unixtech.be> 0.6.0-1
- new upstream version

* Thu Dec 28 2006 Pascal Bleser <guru@unixtech.be> 0.5.4-1
- new upstream version

* Mon Oct 30 2006 Pascal Bleser <guru@unixtech.be> 0.5.3-1
- new upstream version

* Sun Oct 29 2006 Pascal Bleser <guru@unixtech.be> 0.5.2-1
- new upstream version

* Mon Oct  9 2006 Pascal Bleser <guru@unixtech.be> 0.5.1-1
- new package

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
openSUSE Build Service is sponsored by