From a9e53f252a0fa39cec5c59bc0466958df2413aff Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:08:19 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.2-1mamba;Tue Jun 17 2014] --- README.md | 2 ++ libndp.spec | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 libndp.spec diff --git a/README.md b/README.md index efc6885..381e2a5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libndp +Neighbor Discovery library. + diff --git a/libndp.spec b/libndp.spec new file mode 100644 index 0000000..4ab5130 --- /dev/null +++ b/libndp.spec @@ -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 +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 1.2-1mamba +- package created using the webbuild interface