source: spec/trunk/SPECS/ncftp.spec@ 1193

Last change on this file since 1193 was 1053, checked in by Silvan Scherrer, 9 years ago

spec: ncftp: Release version 3.2.6-4.

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