update to 20230616 [release 20230616-1mamba;Sun Jun 18 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 05:08:06 +01:00
parent 8847309e92
commit b769f2e1a1

View File

@ -1,5 +1,5 @@
Name: libnatpmp
Version: 20150609
Version: 20230616
Release: 1mamba
Summary: NAT Port Mapping Protocol (NAT-PMP) library
Group: System/Libraries
@ -7,13 +7,12 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://miniupnp.free.fr/
Source: http://miniupnp.free.fr/files/libnatpmp-%{version}.tar.gz
Source: https://github.com/miniupnp/libnatpmp.git/master/libnatpmp-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
NAT Port Mapping Protocol (NAT-PMP) library.
@ -40,11 +39,14 @@ This package contains utility applications for %{name}.
%setup -q
%build
#% cmake -d build \
# -DBUILD_SHARED_LIBS=ON
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=%{buildroot} INSTALLDIRLIB=%{buildroot}%{_libdir}
%makeinstall PREFIX=%{buildroot} INSTALLDIRLIB=%{buildroot}%{_libdir} DESTDIR=""
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -60,8 +62,10 @@ This package contains utility applications for %{name}.
%files devel
%defattr(-,root,root)
%{_includedir}/natpmp.h
%{_includedir}/natpmp_declspec.h
%{_libdir}/libnatpmp.a
%{_libdir}/libnatpmp.so
%{_libdir}/pkgconfig/natpmp.pc
%doc README
%files tools
@ -69,5 +73,8 @@ This package contains utility applications for %{name}.
%{_bindir}/natpmpc
%changelog
* Sun Jun 18 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 20230616-1mamba
- update to 20230616
* Sun Apr 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20150609-1mamba
- package created using the webbuild interface