]> git.pld-linux.org Git - packages/ftp.git/blobdiff - ftp.spec
- fix: duplicated man1 in %install.
[packages/ftp.git] / ftp.spec
index f8ffc855cf7beb08483f70477e89292b29c6f57d..0da464fc978e2201431efa82506b6b8b2f0f1e2c 100644 (file)
--- a/ftp.spec
+++ b/ftp.spec
@@ -4,13 +4,15 @@ Summary(fr):  Client ftp (file transfer protocol) standard d'Unix
 Summary(pl):   Standardowy klient ftp (file transfer protocol)
 Summary(tr):   Standart UN*X ftp istemcisi
 Name:          ftp
-Version:       0.16
-Release:       6
+Version:       0.17
+Release:       7
 License:       BSD
 Group:         Applications/Networking
+Group(de):     Applikationen/Netzwerkwesen
 Group(pl):     Aplikacje/Sieciowe
-Source0:       ftp://sunsite.unc.edu/pub/Linux/system/network/file-transfer/netkit-%{name}-%{version}.tar.gz
-Source1:       ftp.1.pl
+Source0:       ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
+Source1:       %{name}.1.pl
+Patch0:                netkit-%{name}-macro-quit.patch
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: readline-devel >= 4.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -48,16 +50,16 @@ iletimi i
 
 %prep
 %setup -q -n netkit-ftp-%{version}
+%patch0 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" \
-LDFLAGS="-s" \
-./configure
+CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" \
+./configure --with-c-compiler=gcc
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/{man1,pl/man1}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/{,pl}/man1}
 
 %{__make} install \
        BINDIR=$RPM_BUILD_ROOT%{_bindir} \
@@ -70,8 +72,6 @@ echo ".so ftp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
 
 echo ".so ftp.1" > $RPM_BUILD_ROOT%{_mandir}/pl/man1/pftp.1
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man1/*,pl/man1/*}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.062409 seconds and 4 git commands to generate.