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