1 | Summary: Improved console FTP client
|
---|
2 | Name: ncftp
|
---|
3 | Version: 3.2.6
|
---|
4 | Release: 5%{?dist}
|
---|
5 | License: Artistic clarified
|
---|
6 | Group: Applications/Internet
|
---|
7 | URL: http://www.ncftp.com/ncftp/
|
---|
8 |
|
---|
9 | Vendor: bww bitwise works GmbH
|
---|
10 | %scm_source svn http://svn.netlabs.org/repos/ports/Ncftp/trunk 2131
|
---|
11 |
|
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
---|
13 |
|
---|
14 | BuildRequires: autoconf, automake, libtool, ncurses-devel
|
---|
15 | BuildRequires: bww-resources-rpm-build
|
---|
16 | Requires: bww-resources-rpm
|
---|
17 | Requires: ncurses >= 5.9
|
---|
18 |
|
---|
19 | %description
|
---|
20 | Ncftp is an improved FTP client. Ncftp's improvements include support
|
---|
21 | for command line editing, command histories, recursive gets, automatic
|
---|
22 | anonymous logins, and more.
|
---|
23 |
|
---|
24 | %debug_package
|
---|
25 |
|
---|
26 | %prep
|
---|
27 | %scm_setup
|
---|
28 |
|
---|
29 | autoreconf -ifv -I autoconf_local
|
---|
30 |
|
---|
31 | %build
|
---|
32 |
|
---|
33 | export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
|
---|
34 | export LIBS="-lcx -ltinfo"
|
---|
35 | %configure
|
---|
36 | make
|
---|
37 |
|
---|
38 | %install
|
---|
39 | rm -rf %{buildroot}
|
---|
40 | mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1}
|
---|
41 | make install DESTDIR=%{buildroot}
|
---|
42 | install -p -m0644 -D ncftp_os2.ico $RPM_BUILD_ROOT%{_datadir}/os2/icons/ncftp_os2.ico
|
---|
43 |
|
---|
44 | %clean
|
---|
45 | rm -rf %{buildroot}
|
---|
46 |
|
---|
47 | %post
|
---|
48 | if [ "$1" -ge 1 ]; then # (upon update)
|
---|
49 | %wps_object_delete_all
|
---|
50 | fi
|
---|
51 | # for the definition of the parameters see macros.bww
|
---|
52 | %bww_folder -s Y
|
---|
53 | %bww_app -e %{name} -s Y -i ncftp_os2.ico
|
---|
54 | %bww_app -e ncftpbookmarks -t bookmarks
|
---|
55 | %bww_readme -r README.txt
|
---|
56 |
|
---|
57 | %postun
|
---|
58 | if [ "$1" -eq 0 ]; then # (upon removal)
|
---|
59 | %wps_object_delete_all
|
---|
60 | fi
|
---|
61 |
|
---|
62 | %files
|
---|
63 | %defattr(-,root,root,-)
|
---|
64 | %doc README* doc/html/
|
---|
65 | %doc doc/CHANGELOG.txt doc/FIREWALLS_AND_PROXIES.txt doc/LICENSE.txt
|
---|
66 | %doc doc/READLINE.txt doc/what_changed_between_v2_v3.txt
|
---|
67 | %{_bindir}/ncftp.exe
|
---|
68 | %{_bindir}/ncftpget.exe
|
---|
69 | %{_bindir}/ncftpput.exe
|
---|
70 | %{_bindir}/ncftpbatch.exe
|
---|
71 | %{_bindir}/ncftpls.exe
|
---|
72 | %{_bindir}/ncftpbookmarks.exe
|
---|
73 | %{_bindir}/ncftpspooler.exe
|
---|
74 | %{_mandir}/man1/ncftp.1*
|
---|
75 | %{_mandir}/man1/ncftpget.1*
|
---|
76 | %{_mandir}/man1/ncftpput.1*
|
---|
77 | %{_mandir}/man1/ncftpbatch.1*
|
---|
78 | %{_mandir}/man1/ncftpls.1*
|
---|
79 | %{_mandir}/man1/ncftpspooler.1*
|
---|
80 | %{_datadir}/os2/icons/ncftp_os2.ico
|
---|
81 |
|
---|
82 | %changelog
|
---|
83 | * Wed Jun 28 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 3.2.6-5
|
---|
84 | - rebuild with latest macro.bww
|
---|
85 |
|
---|
86 | * Fri Mar 10 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 3.2.6-4
|
---|
87 | - change the way to add a icon
|
---|
88 | - adjust to latest bww res macro
|
---|
89 |
|
---|
90 | * Fri Feb 17 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 3.2.6-3
|
---|
91 | - add icon to ncftp.exe
|
---|
92 | - use new scm_source and scm_setup macro
|
---|
93 | - add wps objects
|
---|
94 |
|
---|
95 | * Sat Jan 14 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 3.2.6-2
|
---|
96 | - fixed lpage issue (ticket #216)
|
---|
97 | - fixed case sensitivity (ticket #218)
|
---|
98 | - fixed ncftpbookmarks flaw (ticket #217), needs ncurses >=5.9
|
---|
99 |
|
---|
100 | * Thu Dec 29 2016 Elbert Pol <elbert.pol@gmail.com> 3.2.6-1
|
---|
101 | - Initial package for version 3.2.6
|
---|