Accepting request 146358 from home:posophe:branches:devel:libraries:c_c++

Update to 1.7 version

OBS-URL: https://build.opensuse.org/request/show/146358
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/miniupnpc?expand=0&rev=7
This commit is contained in:
Ismail Dönmez 2012-12-26 09:40:46 +00:00 committed by Git OBS Bridge
parent 7ffe2d3de6
commit c7e214e8d0
4 changed files with 36 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bbd6b756e6af44b5a5b0f9b93eada3fb8922ed1d6451b7d6f184d0ae0c813994
size 66454

3
miniupnpc-1.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16dd2456be9b4bf290667c00eeb38c77ad47eb2107569b2dadcfcee8c9af6337
size 68327

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Mon Dec 24 22:29:47 UTC 2012 - p.drouand@gmail.com
- Update to 1.7 version:
* Cleanup settings of CFLAGS in Makefile
* Fix signed/unsigned integer comparaisons
* Allow to specify protocol with TCP or UDP for -A option
* Only try to fetch XML description once in UPNP_GetValidIGD()
* Added -ansi flag to compilation, and fixed C++ comments to ANSI C comments.
* minor improvements to minihttptestserver.c
* upnperrors.c returns valid error string for unrecognized error codes
* make minihttptestserver listen on loopback interface instead of 0.0.0.0
* Maven installation thanks to Alexey Kuznetsov
* Replace WIN32 macro by _WIN32
* Fixes in java wrappers thanks to Alexey Kuznetsov :
https://github.com/axet/miniupnp/tree/fix-javatest/miniupnpc
* Make and install .deb packages (python) thanks to Alexey Kuznetsov :
https://github.com/axet/miniupnp/tree/feature-debbuild/miniupnpc
* The multicast interface can now be specified by name with IPv4.
* Install man page
* added header to Port Mappings list in upnpc.c
* Makefile : make clean now removes jnaerator generated files.
* MINIUPNPC_VERSION in miniupnpc.h (updated by make)
* added rootdescURL to UPNPUrls structure.
-------------------------------------------------------------------
Fri Feb 17 09:03:59 UTC 2012 - vuntz@opensuse.org

View File

@ -15,16 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define soname 8
Name: miniupnpc
Version: 1.6
Release: 0.0
%define soname 8
Version: 1.7
Release: 0
Summary: Universal Plug'n'Play (UPnP) Client
License: BSD-3-Clause
Group: Productivity/Networking/Other
Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz
Patch1: miniupnpc-makefile.patch
#Patch1: miniupnpc-makefile.patch
Url: http://miniupnp.free.fr/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc
@ -67,7 +67,7 @@ Device (IGD) specifications.
%prep
%setup -q
%patch1
#%patch1
%build
make %{?_smp_mflags} \
@ -90,6 +90,8 @@ make %{?_smp_mflags} \
--prefix="%{_prefix}" \
--root="%{buildroot}" \
--record-rpm="rpmfiles.lst"
# Remove static libs
rm -f %{buildroot}%{_libdir}/*.a
%post -n libminiupnpc%{soname} -p /sbin/ldconfig
@ -99,6 +101,7 @@ make %{?_smp_mflags} \
%defattr(-,root,root)
%{_bindir}/upnpc
%{_bindir}/external-ip
%{_mandir}/man3/miniupnpc.3.gz
%files -n libminiupnpc%{soname}
%defattr(-,root,root)
@ -108,7 +111,6 @@ make %{?_smp_mflags} \
%files -n libminiupnpc-devel
%defattr(-,root,root)
%{_includedir}/miniupnpc/
%{_libdir}/libminiupnpc.a
%{_libdir}/libminiupnpc.so
%files -n python-miniupnpc -f rpmfiles.lst