libupnp/libupnp.spec

changeset 632
804f172af162
parent 387
33ae2d61c751
     1.1 --- a/libupnp/libupnp.spec	Tue Aug 28 19:02:05 2012 +0200
     1.2 +++ b/libupnp/libupnp.spec	Tue Aug 28 19:02:10 2012 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  ##
     1.5  ##  libupnp.spec -- OpenPKG RPM Specification
     1.6 -##  Copyright (c) 2009 Michael Schloh von Bennewitz <michael@schloh.com>
     1.7 +##  Copyright (c) 2012 Michael Schloh von Bennewitz <michael@schloh.com>
     1.8  ##
     1.9  ##  Permission to use, copy, modify, and distribute this software for
    1.10  ##  any purpose with or without fee is hereby granted, provided that
    1.11 @@ -32,20 +32,16 @@
    1.12  Class:        EVAL
    1.13  Group:        Network
    1.14  License:      BSD
    1.15 -Version:      1.6.6
    1.16 -Release:      20090106
    1.17 +Version:      1.6.17
    1.18 +Release:      20120800
    1.19  
    1.20  #   list of sources
    1.21  Source0:      http://switch.dl.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2
    1.22  Patch0:       libupnp.patch
    1.23  
    1.24  #   build information
    1.25 -Prefix:       %{l_prefix}
    1.26 -BuildRoot:    %{l_buildroot}
    1.27 -BuildPreReq:  OpenPKG, openpkg >= 20040130, make
    1.28 -PreReq:       OpenPKG, openpkg >= 20040130
    1.29 -AutoReq:      no
    1.30 -AutoReqProv:  no
    1.31 +BuildPreReq:  OpenPKG, openpkg >= 20100101, make
    1.32 +PreReq:       OpenPKG, openpkg >= 20100101
    1.33  
    1.34  %description
    1.35      The portable Universal Plug and Play (UPnP) SDK provides support
    1.36 @@ -98,15 +94,13 @@
    1.37      GREP=grep \
    1.38      ./configure \
    1.39          --prefix=%{l_prefix} \
    1.40 +        --disable-optssdp \
    1.41          --disable-shared
    1.42  
    1.43      #   build using parallel make
    1.44      %{l_make} %{l_mflags -O}
    1.45  
    1.46  %install
    1.47 -    #   remove previously existing installations
    1.48 -    rm -rf $RPM_BUILD_ROOT
    1.49 -
    1.50      #   run the native installation logic
    1.51      %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    1.52  
    1.53 @@ -128,10 +122,10 @@
    1.54      #   install examples
    1.55      %{l_shtool} mkdir -f -p -m 755 \
    1.56          $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/examples
    1.57 -    %{l_shtool} install -c -m 755 \
    1.58 -        upnp/sample/upnp_tv_combo \
    1.59 -        upnp/sample/upnp_tv_ctrlpt \
    1.60 -        upnp/sample/upnp_tv_device \
    1.61 +    %{l_shtool} install -c -m 755 -s \
    1.62 +        upnp/sample/tv_combo \
    1.63 +        upnp/sample/tv_ctrlpt \
    1.64 +        upnp/sample/tv_device \
    1.65          $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/examples/
    1.66  
    1.67      #   determine installation files
    1.68 @@ -144,7 +138,6 @@
    1.69  %files -f files
    1.70  
    1.71  %clean
    1.72 -    rm -rf $RPM_BUILD_ROOT
    1.73  
    1.74  %post
    1.75      #   after installing or upgrading package networking reminder

mercurial