package created using the webbuild interface [release 1.2-1mamba;Tue Jun 17 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 05:08:19 +01:00
parent 1322692327
commit a9e53f252a
2 changed files with 81 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libndp # libndp
Neighbor Discovery library.

79
libndp.spec Normal file
View File

@ -0,0 +1,79 @@
Name: libndp
Version: 1.2
Release: 1mamba
Summary: Neighbor Discovery library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/jpirko/libndp
## GITSOURCE https://github.com/jpirko/libndp.git v1.2
Source: https://github.com/jpirko/libndp.git/v%{version}/libndp-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Neighbor Discovery library.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%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
./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libndp.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/ndptool
%{_includedir}/ndp.h
%{_libdir}/libndp.a
%{_libdir}/libndp.la
%{_libdir}/libndp.so
%{_libdir}/pkgconfig/libndp.pc
%doc README
%files tools
%defattr(-,root,root)
%{_mandir}/man8/ndptool.8*
%changelog
* Tue Jun 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
- package created using the webbuild interface