stun/stun.spec

changeset 417
76ceb617f880
parent 85
e6a1cd7ed6ba
child 418
680c3f7768b0
     1.1 --- a/stun/stun.spec	Fri Mar 30 18:55:41 2012 +0200
     1.2 +++ b/stun/stun.spec	Fri Apr 13 17:49:04 2012 +0200
     1.3 @@ -21,10 +21,6 @@
     1.4  ##  SUCH DAMAGE.
     1.5  ##
     1.6  
     1.7 -#   package version
     1.8 -%define       V_dist  0.96_Aug13
     1.9 -%define       V_opkg  0.96
    1.10 -
    1.11  #   package information
    1.12  Name:         stun
    1.13  Summary:      STUN Client & Server
    1.14 @@ -35,11 +31,11 @@
    1.15  Class:        EVAL
    1.16  Group:        VoIP
    1.17  License:      Open Source
    1.18 -Version:      %{V_opkg}
    1.19 -Release:      20090106
    1.20 +Version:      0.97
    1.21 +Release:      20120208
    1.22  
    1.23  #   list of sources
    1.24 -Source0:      http://switch.dl.sourceforge.net/stun/stund_%{V_dist}.tgz
    1.25 +Source0:      http://switch.dl.sourceforge.net/stun/stund-%{version}.tgz
    1.26  Source1:      rc.stun
    1.27  Patch0:       stun.patch
    1.28  
    1.29 @@ -65,7 +61,7 @@
    1.30  
    1.31  %track
    1.32      prog stun = {
    1.33 -        version   = %{V_dist}
    1.34 +        version   = %{version}
    1.35          url       = http://prdownloads.sourceforge.net/stun/
    1.36          regex     = stund_(.+?)\.tgz
    1.37      }
    1.38 @@ -77,7 +73,7 @@
    1.39          *-sunos* )
    1.40              %{l_shtool} subst \
    1.41                  -e 's;^\(LDFLAGS\)+=.*;\1=;' \
    1.42 -                -e 's;^#\(LDFLAGS+=\) -lnsl -lsocket;\1-lsocket -lnsl;' \
    1.43 +                -e 's;^#\(LDFLAGS+=\) -lnsl -lsocket;\1-lsocket -lnsl -ldl;' \
    1.44                  Makefile
    1.45              ;;
    1.46          * )
    1.47 @@ -88,7 +84,7 @@
    1.48      esac
    1.49  
    1.50  %build
    1.51 -    %{l_make} %{l_mflags} \
    1.52 +    %{l_make} %{l_mflags -O} \
    1.53          CXX="%{l_cxx}" \
    1.54          CXXFLAGS="%{l_cxxflags -O}"
    1.55  

mercurial