diff -r 08b1736686fa -r 804f172af162 libupnp/libupnp.spec --- a/libupnp/libupnp.spec Tue Aug 28 19:02:05 2012 +0200 +++ b/libupnp/libupnp.spec Tue Aug 28 19:02:10 2012 +0200 @@ -1,6 +1,6 @@ ## ## libupnp.spec -- OpenPKG RPM Specification -## Copyright (c) 2009 Michael Schloh von Bennewitz +## Copyright (c) 2012 Michael Schloh von Bennewitz ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that @@ -32,20 +32,16 @@ Class: EVAL Group: Network License: BSD -Version: 1.6.6 -Release: 20090106 +Version: 1.6.17 +Release: 20120800 # list of sources Source0: http://switch.dl.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2 Patch0: libupnp.patch # build information -Prefix: %{l_prefix} -BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20040130, make -PreReq: OpenPKG, openpkg >= 20040130 -AutoReq: no -AutoReqProv: no +BuildPreReq: OpenPKG, openpkg >= 20100101, make +PreReq: OpenPKG, openpkg >= 20100101 %description The portable Universal Plug and Play (UPnP) SDK provides support @@ -98,15 +94,13 @@ GREP=grep \ ./configure \ --prefix=%{l_prefix} \ + --disable-optssdp \ --disable-shared # build using parallel make %{l_make} %{l_mflags -O} %install - # remove previously existing installations - rm -rf $RPM_BUILD_ROOT - # run the native installation logic %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT @@ -128,10 +122,10 @@ # install examples %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/examples - %{l_shtool} install -c -m 755 \ - upnp/sample/upnp_tv_combo \ - upnp/sample/upnp_tv_ctrlpt \ - upnp/sample/upnp_tv_device \ + %{l_shtool} install -c -m 755 -s \ + upnp/sample/tv_combo \ + upnp/sample/tv_ctrlpt \ + upnp/sample/tv_device \ $RPM_BUILD_ROOT%{l_prefix}/share/libupnp/examples/ # determine installation files @@ -144,7 +138,6 @@ %files -f files %clean - rm -rf $RPM_BUILD_ROOT %post # after installing or upgrading package networking reminder