File yafc.spec of Package yafc
#
# spec file for package yafc (Version 1.1.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: yafc
BuildRequires: krb5-devel openssl-devel readline-devel
Summary: Yet Another FTP Client
Version: 1.1.1
Release: 40
License: GNU General Public License (GPL)
Group: Productivity/Networking/Ftp/Clients
URL: http://yafc.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prefix: /usr
PreReq: %install_info_prereq
Patch: patch_utils.diff
Patch1: kerberos_warnings.diff
Patch2: remove_bsd_code.diff
Patch3: yafc-krb5.diff
%description
Yafc is an OpenSource console mode FTP client. It has support for
Kerberos 4/5 authentication and sftp (ssh2). Other features include tab
completion, directory cache, powerful aliases, recursive file commands
and bookmarks with autologin.
Authors:
--------
Martin Hedenfalk <mhe@home.se>
%prep
%setup -q
%patch
%patch1
%patch2
%patch3
%build
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=%{prefix} --infodir=%{_infodir} --mandir=%{_mandir}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files
%defattr(-,root,root)
%doc BUGS COPYING NEWS README THANKS TODO inputrc.sample yafcrc.sample
%doc %{_mandir}/man1/yafc.1.gz
%{_bindir}/yafc
%{_infodir}/yafc.info.gz
%changelog -n yafc
* Sun Jan 28 2007 - ro@suse.de
- do apply patch2
- fix build (include krb5.h instead of krb5_err.h)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 22 2005 - sscheler@suse.de
- removed 4-clause-bsd-license base64 code (#134885)
- added gpl code instead
* Wed Nov 09 2005 - sscheler@suse.de
- kerberos 4/5 support added
* Fri Nov 04 2005 - sscheler@suse.de
- initial version