forked from sebastinas/yafc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyafc.spec.in
72 lines (58 loc) · 1.75 KB
/
yafc.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
%define name @PACKAGE@
%define version @VERSION@
%define release 1
%define prefix /usr
Summary: Yafc - yet another ftp client.
Name: %{name}
Version: %{version}
Release: %{release}
Prefix: %{prefix}
Copyright: GPL
Group: Applications/Internet
URL: http://www.stacken.kth.se/~mhe/yafc/
Vendor: Martin Hedenfalk <[email protected]>
Source: ftp://mayer.physto.se/pub/yafc/%{name}-%{version}.tar.bz2
BuildRoot: /var/tmp/%{name}-%{version}
%description
Yafc is yet another ftp client, similar to ftp(1).
It is an interactive interface to the FTP protocol.
FEATURES
* cached directory listings
* uses readline (tab completion, emacs/vi editing keys, history file, etc.)
* extensive tab completion
* multiple connections open
* aliases
* colored ls (ie, ls --color, uses $LS_COLORS like GNU ls)
* autologin and bookmarks
* Kerberos authentication support
* recursive get/put/rm/ls
* nohup mode get and put
* tagging (queueing) of files for later transferring
* automagically enters nohup-mode when SIGHUP received (in get and put)
* redirection to local command or file ('>', '>>' and '|')
* uses autoconf and automake
* proxy support
* Kerberos authentication
* more...
%prep
%setup -q
%build
%configure --prefix=%{prefix}
make
%install
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
mkdir -p $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install
%clean
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
%post
/sbin/install-info --info-dir=%{prefix}/info %{prefix}/info/yafc.info
%preun
/sbin/install-info --info-dir=%{prefix}/info --remove yafc.info
%files
%defattr(-,root,root)
%doc contrib BUGS COPYING NEWS README THANKS TODO inputrc.sample yafcrc.sample
%{prefix}/bin/yafc
%{prefix}/info/yafc.info
%{prefix}/share/locale/*/LC_MESSAGES/yafc.mo
%changelog