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

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

spec: ncftp: Release version 3.2.6-2.

File size: 2.2 KB
Line 
1#define svn_url g:/ncftp/trunk
2%define svn_url http://svn.netlabs.org/repos/ports/Ncftp/trunk
3%define svn_rev 1918
4
5Summary: Improved console FTP client
6Name: ncftp
7Version: 3.2.6
8Release: 2%{?dist}
9License: Artistic clarified
10Group: Applications/Internet
11URL: http://www.ncftp.com/ncftp/
12Vendor: bww bitwise works GmbH
13Source: %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
16
17BuildRequires: autoconf, automake, libtool, ncurses-devel
18Requires: ncurses >= 5.9
19
20%description
21Ncftp is an improved FTP client. Ncftp's improvements include support
22for command line editing, command histories, recursive gets, automatic
23anonymous logins, and more.
24
25%debug_package
26
27%prep
28%if %{?svn_rev:%(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')}%{!?svn_rev):0}
29%setup -q
30%else
31%setup -n "%{name}-%{version}" -Tc
32svn export %{?svn_rev:-r %{svn_rev}} %{svn_url} . --force
33rm -f "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip"
34(cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" "%{name}-%{version}")
35%endif
36
37autoreconf -ifv -I autoconf_local
38
39%build
40
41export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
42export LIBS="-lcx -ltinfo"
43%configure
44make
45
46%install
47rm -rf %{buildroot}
48mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1}
49make install DESTDIR=%{buildroot}
50
51%clean
52rm -rf %{buildroot}
53
54%files
55%defattr(-,root,root,-)
56%doc README* doc/html/
57%doc doc/CHANGELOG.txt doc/FIREWALLS_AND_PROXIES.txt doc/LICENSE.txt
58%doc doc/READLINE.txt doc/what_changed_between_v2_v3.txt
59%{_bindir}/ncftp.exe
60%{_bindir}/ncftpget.exe
61%{_bindir}/ncftpput.exe
62%{_bindir}/ncftpbatch.exe
63%{_bindir}/ncftpls.exe
64%{_bindir}/ncftpbookmarks.exe
65%{_bindir}/ncftpspooler.exe
66%{_mandir}/man1/ncftp.1*
67%{_mandir}/man1/ncftpget.1*
68%{_mandir}/man1/ncftpput.1*
69%{_mandir}/man1/ncftpbatch.1*
70%{_mandir}/man1/ncftpls.1*
71%{_mandir}/man1/ncftpspooler.1*
72
73%changelog
74* Sat Jan 14 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 3.2.6-2
75- fixed lpage issue (ticket #216)
76- fixed case sensitivity (ticket #218)
77- fixed ncftpbookmarks flaw (ticket #217), needs ncurses >=5.9
78
79* Thu Dec 29 2016 Elbert Pol <elbert.pol@gmail.com> 3.2.6-1
80- Initial package for version 3.2.6
Note: See TracBrowser for help on using the repository browser.