package created using the webbuild interface [release 20150609-1mamba;Sun Apr 21 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 05:08:05 +01:00
parent f9b0782778
commit 8847309e92
2 changed files with 75 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libnatpmp
NAT Port Mapping Protocol (NAT-PMP) library.

73
libnatpmp.spec Normal file
View File

@ -0,0 +1,73 @@
Name: libnatpmp
Version: 20150609
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/
Source: http://miniupnp.free.fr/files/libnatpmp-%{version}.tar.gz
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.
%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
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=%{buildroot} INSTALLDIRLIB=%{buildroot}%{_libdir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libnatpmp.so.*
%doc LICENSE
%files devel
%defattr(-,root,root)
%{_includedir}/natpmp.h
%{_libdir}/libnatpmp.a
%{_libdir}/libnatpmp.so
%doc README
%files tools
%defattr(-,root,root)
%{_bindir}/natpmpc
%changelog
* Sun Apr 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20150609-1mamba
- package created using the webbuild interface