File gftp.spec of Package gftp
#
# spec file for package gftp (Version 2.0.19)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gftp
BuildRequires: docbook-toys fdupes gtk2-devel indent jadetex openssl-devel readline-devel texlive texlive-latex texlive-latex-doc translation-update-upstream update-desktop-files
License: GPL v2 or later
Group: Productivity/Networking/Ftp/Clients
Version: 2.0.19
Release: 1
Source0: %{name}-%{version}.tar.bz2
Url: http://www.gftp.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Multithreaded FTP Client for X11
Requires: %{name}-lang = %{version}
%description
GFTP is a multithreaded FTP client for X11 written using Gtk. It has
the following features: simultaneous downloads, resume of interrupted
file transfers, file transfer queues, download of entire directories,
ftp proxy support, remote directory caching, passive and nonpassive
file transfers, drag and drop support, a very nice connection manager,
and others.
Authors:
--------
Brian Masney <masneyb@newwave.net>
%lang_package
%prep
%setup
translation-update-upstream
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make %{?jobs:-j%jobs}
cd docs
db2html gftp-faq.sgml
db2pdf gftp-faq.sgml
chmod og+rx gftp-faq
%install
make DESTDIR=$RPM_BUILD_ROOT install
# Make gftp find its license:
#rm $RPM_BUILD_ROOT%{_datadir}/gftp/COPYING
%suse_update_desktop_file -N "Gnome FTP" -G "File Transfer" -r %{name} Network FileTransfer
# rename sr@Latin to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%find_lang %{name}
%fdupes -s $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc ChangeLog COPYING README README.html THANKS TODO docs/USERS-GUIDE docs/gftp-faq.pdf docs/gftp-faq
%{_datadir}/applications/gftp.desktop
%{_datadir}/gftp
%{_datadir}/pixmaps/*.png
%{_bindir}/*
%doc %{_mandir}/man?/*.*
%files lang -f %{name}.lang
%changelog