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