Projects
Eulaceura:Factory
libnatpmp
_service:obs_scm:libnatpmp.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:libnatpmp.spec of Package libnatpmp
Name: libnatpmp Version: 20150609 Release: 1 Summary: Library of The NAT Port Mapping Protocol (NAT-PMP) License: LGPLv2+ URL: http://miniupnp.free.fr/libnatpmp.html Source0: http://miniupnp.free.fr/files/%{name}-%{version}.tar.gz BuildRequires: gcc %description libnatpmp is an attempt to make a portable and fully compliant implementation of the protocol for the client side. It is based on non blocking sockets and all calls of the API are asynchronous. It is therefore very easy to integrate the NAT-PMP code to any event driven code. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build %make_build CFLAGS="-fPIC -Wall -DENABLE_STRNATPMPERR %{optflags}" EXTRA_LD="%{?__global_ldflags}" %install make install INSTALL="install -p" PREFIX=%{buildroot} \ INSTALLDIRLIB="%{buildroot}%{_libdir}" \ INSTALLDIRINC="%{buildroot}%{_includedir}" \ INSTALLDIRBIN="%{buildroot}%{_bindir}" find %{buildroot} -name '*.a' -delete -print find %{buildroot} -name '*.so' -exec chmod 755 {} ";" -print %check make testgetgateway ./testgetgateway %ldconfig_scriptlets %files %license LICENSE %{_bindir}/natpmpc %{_libdir}/*.so.* %files devel %doc Changelog.txt README %{_libdir}/*.so %{_includedir}/natpmp.h %changelog * Tue Dec 7 2021 haomimi<haomimi@uniontech.com> - 20150609-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2