Group :: System/Legacy libraries
RPM: miniupnpc16
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define rname miniupnpc
%define soversion 16
Name: %rname%soversion
Version: 2.0
Release: alt3
Summary: UPnP client library
License: BSD
Group: System/Legacy libraries
Url: http://miniupnp.free.fr/
Packager: Nazarov Denis <nenderus at altlinux.org>
Source: http://miniupnp.free.fr/files/%rname-%version.tar.gz
BuildRequires: cmake
%description
The miniupnpc library implement the UPnP protocol defined
to dialog with Internet Gateway Devices.
%package -n lib%rname%soversion
Summary: UPnP client library
Group: System/Legacy libraries
%description -n lib%rname%soversion
The miniupnpc library implement the UPnP protocol defined
to dialog with Internet Gateway Devices.
%prep
%setup -n %rname-%version
%build
%__mkdir_p %_target_platform
pushd %_target_platform
cmake .. \
-DCMAKE_INSTALL_PREFIX:PATH=%prefix \
-DCMAKE_C_FLAGS:STRING='%optflags' \
-DCMAKE_BUILD_TYPE:STRING='Release' \
-DUPNPC_BUILD_STATIC:BOOL=FALSE \
%if "%_lib" == "lib64"
-DLIB_SUFFIX=64
%endif
popd
%make_build -C %_target_platform
%install
%makeinstall_std -C %_target_platform
%files -n lib%rname%soversion
%doc Changelog.txt LICENSE README VERSION
%_libdir/lib%rname.so.*
%changelog
…
Full changelog you can see here
%define soversion 16
Name: %rname%soversion
Version: 2.0
Release: alt3
Summary: UPnP client library
License: BSD
Group: System/Legacy libraries
Url: http://miniupnp.free.fr/
Packager: Nazarov Denis <nenderus at altlinux.org>
Source: http://miniupnp.free.fr/files/%rname-%version.tar.gz
BuildRequires: cmake
%description
The miniupnpc library implement the UPnP protocol defined
to dialog with Internet Gateway Devices.
%package -n lib%rname%soversion
Summary: UPnP client library
Group: System/Legacy libraries
%description -n lib%rname%soversion
The miniupnpc library implement the UPnP protocol defined
to dialog with Internet Gateway Devices.
%prep
%setup -n %rname-%version
%build
%__mkdir_p %_target_platform
pushd %_target_platform
cmake .. \
-DCMAKE_INSTALL_PREFIX:PATH=%prefix \
-DCMAKE_C_FLAGS:STRING='%optflags' \
-DCMAKE_BUILD_TYPE:STRING='Release' \
-DUPNPC_BUILD_STATIC:BOOL=FALSE \
%if "%_lib" == "lib64"
-DLIB_SUFFIX=64
%endif
popd
%make_build -C %_target_platform
%install
%makeinstall_std -C %_target_platform
%files -n lib%rname%soversion
%doc Changelog.txt LICENSE README VERSION
%_libdir/lib%rname.so.*
%changelog
…
Full changelog you can see here