diff --git a/libnatpmp.spec b/libnatpmp.spec index 9c2771b..5ef2976 100644 --- a/libnatpmp.spec +++ b/libnatpmp.spec @@ -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 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 20230616-1mamba +- update to 20230616 + * Sun Apr 21 2019 Silvan Calarco 20150609-1mamba - package created using the webbuild interface