]> git.pld-linux.org Git - packages/proftpd.git/commitdiff
- fix build ftptop with ncurses, BR: ncurses-devel, release 3 auto/ac/proftpd-1_2_9-3
authorundefine <undefine@pld-linux.org>
Tue, 10 Feb 2004 11:04:19 +0000 (11:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    proftpd.spec -> 1.175

proftpd.spec

index 8a899d3ed777a1fa5822bd110842fe43578542fd..b59d3c6234e0e1dc26dedd28cf72ccae3fcac5bb 100644 (file)
@@ -16,7 +16,7 @@ Summary(pt_BR):       Servidor FTP profissional, com sintaxe de configura
 Summary(zh_CN):        Ò×ÓÚ¹ÜÀíµÄ,°²È«µÄ FTP ·þÎñÆ÷
 Name:          proftpd
 Version:       1.2.9
-Release:       2
+Release:       3
 Epoch:         1
 License:       GPL v2+
 Group:         Daemons
@@ -42,10 +42,11 @@ BuildRequires:      autoconf
 BuildRequires: automake
 BuildRequires: libwrap-devel
 %{?_with_mysql:BuildRequires:  mysql-devel}
-%{?_with_pgsql:BuildRequires:  postgresql-devel}
+BuildRequires: ncurses-devel
 %{?_with_ldap:BuildRequires:   openldap-devel}
 %{?!_without_ssl:BuildRequires:        openssl-devel >= 0.9.7c}
 %{?!_without_pam:BuildRequires:        pam-devel}
+%{?_with_pgsql:BuildRequires:  postgresql-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/ftpd
@@ -182,6 +183,8 @@ standalone.
 cp -f /usr/share/automake/config.sub .
 %{__autoconf}
 RUN_DIR=%{_localstatedir} ; export RUN_DIR
+CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+CPPFLAGS="%{rpmcflags} -I/usr/include/ncurses"
 %configure \
        --enable-autoshadow \
        --with-modules=mod_ratio:mod_readme%{?!_without_ssl::mod_tls}%{?!_without_ipv6::mod_wrap}%{?!_without_pam::mod_auth_pam}%{?_with_ldap::mod_ldap}%{?_with_quota::mod_quota}%{?_with_linuxprivs::mod_linuxprivs}%{?_with_mysql::mod_sql:mod_sql_mysql}%{?_with_pgsql::mod_sql:mod_sql_postgres} \
This page took 0.195004 seconds and 4 git commands to generate.