2024-01-06 05:08:05 +01:00
|
|
|
Name: libnatpmp
|
2024-09-01 12:42:48 +02:00
|
|
|
Version: 20240803
|
2024-01-06 05:08:05 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: NAT Port Mapping Protocol (NAT-PMP) library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://miniupnp.free.fr/
|
2024-01-06 05:08:06 +01:00
|
|
|
Source: https://github.com/miniupnp/libnatpmp.git/master/libnatpmp-%{version}.tar.bz2
|
2024-01-06 05:08:05 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
NAT Port Mapping Protocol (NAT-PMP) library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: Applications/Networking
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 05:08:06 +01:00
|
|
|
#% cmake -d build \
|
|
|
|
# -DBUILD_SHARED_LIBS=ON
|
|
|
|
|
2024-01-06 05:08:05 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:08:06 +01:00
|
|
|
%makeinstall PREFIX=%{buildroot} INSTALLDIRLIB=%{buildroot}%{_libdir} DESTDIR=""
|
2024-01-06 05:08:05 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libnatpmp.so.*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/natpmp.h
|
2024-01-06 05:08:06 +01:00
|
|
|
%{_includedir}/natpmp_declspec.h
|
2024-01-06 05:08:05 +01:00
|
|
|
%{_libdir}/libnatpmp.a
|
|
|
|
%{_libdir}/libnatpmp.so
|
2024-01-06 05:08:06 +01:00
|
|
|
%{_libdir}/pkgconfig/natpmp.pc
|
2024-01-06 05:08:05 +01:00
|
|
|
%doc README
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/natpmpc
|
|
|
|
|
|
|
|
%changelog
|
2024-09-01 12:42:48 +02:00
|
|
|
* Sat Aug 31 2024 Automatic Build System <autodist@openmamba.org> 20240803-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-01 16:12:51 +01:00
|
|
|
* Fri Mar 01 2024 Automatic Build System <autodist@openmamba.org> 20240116-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:08:06 +01:00
|
|
|
* Sun Jun 18 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 20230616-1mamba
|
|
|
|
- update to 20230616
|
|
|
|
|
2024-01-06 05:08:05 +01:00
|
|
|
* Sun Apr 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20150609-1mamba
|
|
|
|
- package created using the webbuild interface
|