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

Last change on this file since 1630 was 1610, checked in by Silvan Scherrer, 7 years ago

spec: ncftp: Release version 3.2.6-6.

File size: 2.9 KB
Line 
1%global ncftp_ico ncftp_os2.ico
2
3Summary: Improved console FTP client
4Name: ncftp
5Version: 3.2.6
6Release: 6%{?dist}
7License: Artistic clarified
8Group: Applications/Internet
9URL: http://www.ncftp.com/ncftp/
10
11Vendor: bww bitwise works GmbH
12%scm_source svn http://svn.netlabs.org/repos/ports/Ncftp/trunk 2341
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15
16BuildRequires: autoconf, automake, libtool, ncurses-devel
17BuildRequires: bww-resources-rpm-build
18Requires: bww-resources-rpm
19Requires: ncurses >= 5.9
20
21%description
22Ncftp is an improved FTP client. Ncftp's improvements include support
23for command line editing, command histories, recursive gets, automatic
24anonymous logins, and more.
25
26%debug_package
27
28%prep
29%scm_setup
30
31autoreconf -ifv -I autoconf_local
32
33%build
34
35export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
36export LIBS="-lcx -ltinfo"
37%configure
38make
39
40%install
41rm -rf %{buildroot}
42mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1}
43make install DESTDIR=%{buildroot}
44install -p -m0644 -D %{ncftp_ico} $RPM_BUILD_ROOT%{_datadir}/os2/icons/%{ncftp_ico}
45
46%clean
47rm -rf %{buildroot}
48
49%post
50if [ "$1" -ge 1 ]; then # (upon update)
51 %wps_object_delete_all
52fi
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
62if [ "$1" -eq 0 ]; then # (upon removal)
63 %wps_object_delete_all
64fi
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
Note: See TracBrowser for help on using the repository browser.