Initial build
This commit is contained in:
parent
8afe80bf0c
commit
3465085c08
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/libndp-20130504gitca3c399.tar.gz
|
62
libndp.spec
Normal file
62
libndp.spec
Normal file
@ -0,0 +1,62 @@
|
||||
Name: libndp
|
||||
Version: 0.1
|
||||
Release: 1.20130504gitca3c399%{?dist}
|
||||
Summary: Library for Neighbor Discovery Protocol
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://www.libndp.org/
|
||||
# The source for this package was pulled from upstream's git. Use the
|
||||
# following commands to generate the tarball:
|
||||
# git clone git://github.com/jpirko/libndp.git
|
||||
# cd libndp/
|
||||
# git reset --hard ca3c399
|
||||
# ./autogen.sh
|
||||
# ./configure
|
||||
# make distcheck
|
||||
# mv libndp-0.1.tar.gz libndp-20130504gitca3c399.tar.gz
|
||||
Source0: libndp-20130504gitca3c399.tar.gz
|
||||
|
||||
%description
|
||||
This package contains a library which provides a wrapper
|
||||
for IPv6 Neighbor Discovery Protocol. It also provides a tool
|
||||
named ndptool for sending and receiving NDP messages.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Libraries and header files for libndp development
|
||||
Requires: libndp = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The libndp-devel package contains the header files and libraries
|
||||
necessary for developing programs using libndp.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
find $RPM_BUILD_ROOT -name \*.la -delete
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc COPYING
|
||||
%{_libdir}/*so.*
|
||||
%{_bindir}/ndptool
|
||||
%{_mandir}/man8/ndptool.8*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
||||
|
||||
* Sat May 04 2013 Jiri Pirko <jpirko@redhat.com> - 0.1-1.20130504gitca3c399
|
||||
- Initial build.
|
Loading…
Reference in New Issue
Block a user