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

Last change on this file since 1330 was 1199, checked in by Silvan Scherrer, 8 years ago

spec: ncftp: Release version 3.2.6-5.

File size: 2.6 KB
Line 
1Summary: Improved console FTP client
2Name: ncftp
3Version: 3.2.6
4Release: 5%{?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: bww-resources-rpm-build
16Requires: bww-resources-rpm
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%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
58if [ "$1" -eq 0 ]; then # (upon removal)
59 %wps_object_delete_all
60fi
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
Note: See TracBrowser for help on using the repository browser.