proftpd/proftpd.spec

changeset 452
30449282a0c7
parent 182
42a8c8d745e6
equal deleted inserted replaced
0:5d797a363fba 1:34abbe1115f2
44 Distribution: OpenPKG Community 44 Distribution: OpenPKG Community
45 Class: BASE 45 Class: BASE
46 Group: FTP 46 Group: FTP
47 License: GPL 47 License: GPL
48 Version: %{V_proftpd} 48 Version: %{V_proftpd}
49 Release: 20090327 49 Release: 20090418
50 50
51 # package options 51 # package options
52 %option with_ifsession no 52 %option with_ifsession no
53 %option with_ctrls no 53 %option with_ctrls no
54 %option with_radius no 54 %option with_radius no
408 %endif 408 %endif
409 ./configure \ 409 ./configure \
410 --prefix=%{l_prefix} \ 410 --prefix=%{l_prefix} \
411 --sysconfdir=%{l_prefix}/etc/proftpd \ 411 --sysconfdir=%{l_prefix}/etc/proftpd \
412 --localstatedir=%{l_prefix}/var/proftpd \ 412 --localstatedir=%{l_prefix}/var/proftpd \
413 --mandir=%{l_prefix}/man \
413 --with-modules="$MOD" \ 414 --with-modules="$MOD" \
414 --with-includes="$MOD_INC" \ 415 --with-includes="$MOD_INC" \
415 --with-libraries="$MOD_LIB" \ 416 --with-libraries="$MOD_LIB" \
416 --enable-buffer-size=1024 \ 417 --enable-buffer-size=1024 \
417 %if "%{with_ctrls}" == "yes" 418 %if "%{with_ctrls}" == "yes"
443 prefix=$RPM_BUILD_ROOT%{l_prefix} \ 444 prefix=$RPM_BUILD_ROOT%{l_prefix} \
444 bindir=$RPM_BUILD_ROOT%{l_prefix}/bin \ 445 bindir=$RPM_BUILD_ROOT%{l_prefix}/bin \
445 sbindir=$RPM_BUILD_ROOT%{l_prefix}/sbin \ 446 sbindir=$RPM_BUILD_ROOT%{l_prefix}/sbin \
446 sysconfdir=$RPM_BUILD_ROOT%{l_prefix}/etc/proftpd \ 447 sysconfdir=$RPM_BUILD_ROOT%{l_prefix}/etc/proftpd \
447 localstatedir=$RPM_BUILD_ROOT%{l_prefix}/var/proftpd \ 448 localstatedir=$RPM_BUILD_ROOT%{l_prefix}/var/proftpd \
449 mandir=$RPM_BUILD_ROOT%{l_prefix}/man \
448 rundir=$RPM_BUILD_ROOT%{l_prefix}/var/proftpd 450 rundir=$RPM_BUILD_ROOT%{l_prefix}/var/proftpd
449 451
450 # strip installation 452 # strip installation
451 rm -f $RPM_BUILD_ROOT%{l_prefix}/sbin/in.proftpd 453 rm -f $RPM_BUILD_ROOT%{l_prefix}/sbin/in.proftpd
452 454

mercurial