]> git.pld-linux.org Git - packages/apcupsd.git/commitdiff
- network,snmp and usb enabled by default
authormarcus <marcus@pld-linux.org>
Sun, 4 Dec 2005 19:25:09 +0000 (19:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apcupsd.spec -> 1.56

apcupsd.spec

index 2e0d0f4b7eadec7691e5810136ce1d7e1b60ffc1..3f7c589c6674dc8df53e0173fd6b93bf98295c36 100644 (file)
@@ -1,8 +1,9 @@
 #
 # Conditional build:
 %bcond_without test    # without TEST support
-%bcond_with    usb     # with USB support
-%bcond_with    net     # with network support
+%bcond_without usb     # with USB support
+%bcond_without net     # with network support
+%bcond_without snmp    # with SNMP support
 #
 Summary:       Power management software for APC UPS hardware
 Summary(pl):   Oprogramowanie do zarz±dzania energi± dla UPS-ów APC
@@ -55,11 +56,10 @@ cd ..
        --with-stat-dir=%{_var}/lib/apcupsd \
        %{?with_test:--enable-test} \
        %{?with_net:--enable-net} \
+       %{?with_net:--enable-snmp} \
 %if %{with usb}
        --enable-usb \
        --with-serial-dev=/dev/usb/hiddev[0-15] \
-       --with-upstype=usb \
-       --with-upscable=usb
 %endif
 
 %{__make}
This page took 0.080172 seconds and 4 git commands to generate.