]> git.pld-linux.org Git - packages/ftp.git/commitdiff
- release 7: use new rpm automation.
authorkloczek <kloczek@pld-linux.org>
Mon, 23 Oct 2000 20:35:03 +0000 (20:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ftp.spec -> 1.21

ftp.spec

index 88beef269f95d6fa4335ce7c4693acb8100d43af..f4f291cccff093fbad67fba405328d76c4c21a46 100644 (file)
--- a/ftp.spec
+++ b/ftp.spec
@@ -5,13 +5,14 @@ Summary(pl):  Standardowy klient ftp (file transfer protocol)
 Summary(tr):   Standart UN*X ftp istemcisi
 Name:          ftp
 Version:       0.17
-Release:       1
+Release:       7
 License:       BSD
 Group:         Applications/Networking
+Group(de):     Applikationen/Netzwerkwesen
 Group(pl):     Aplikacje/Sieciowe
 Source0:       ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
-Source1:       ftp.1.pl
-Patch0:                netkit-ftp-macro-quit.patch
+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)
@@ -52,14 +53,13 @@ iletimi i
 %patch0 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" \
-LDFLAGS="-s" \
+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}/man1/{,pl}/man1}
 
 %{__make} install \
        BINDIR=$RPM_BUILD_ROOT%{_bindir} \
@@ -72,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.083385 seconds and 4 git commands to generate.