packages: libpcapnav/libpcapnav.spec (NEW) - initial
lisu
lisu at pld-linux.org
Tue Sep 15 10:01:23 CEST 2009
Author: lisu Date: Tue Sep 15 08:01:23 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/libpcapnav:
libpcapnav.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libpcapnav/libpcapnav.spec
diff -u /dev/null packages/libpcapnav/libpcapnav.spec:1.1
--- /dev/null Tue Sep 15 10:01:23 2009
+++ packages/libpcapnav/libpcapnav.spec Tue Sep 15 10:01:17 2009
@@ -0,0 +1,112 @@
+# $Revision$, $Date$
+Summary: A libpcap wrapper library
+Summary(pl.UTF-8): Wrapper dla biblioteki libpcap
+Name: libpcapnav
+Version: 0.8
+Release: 1
+License: Distributable
+Group: Libraries
+Source0: http://dl.sourceforge.net/netdude/libpcapnav/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 005a0a2d6f1164f1212a7c10ab950b36
+URL: http://netdude.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libpcap-devel
+BuildRequires: libtool
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libpcapnav is a libpcap wrapper library that allows navigation to
+arbitrary locations in a tcpdump trace file between reads. The API is
+intentionally much like that of the pcap library. You can navigate in
+trace files both in time and space. You can jump to a packet which is
+at approximately 2/3 of the trace, or you can jump as closely as
+possible to a packet with a given timestamp, and then read packets
+from there. In addition, the API provides convenience functions for
+manipulating timeval structures.
+
+%description -l pl.UTF-8
+libpcapnav to wrapper dla biblioteki libpcap, który umożliwia
+nawigację do arbitralnych lokacji w pliku trace tcpdumpa pomiędzy
+odczytami. API z założenia ma wyglądać jak API biblioteki libpcap.
+Użytkownik może nawigować w plikach trace zarówno w czasie i
+miejscu. Można przeskoczyć bezpośrednio do pakietu, który znajduje
+się w przybliżeniu w 2/3 pliku trace lub też tak blisko, jak to
+możliwe do pakietu określonego stemplem czasu i odczytać stamtąd
+pakiety. Dodatkowo API umożliwia wygodne funkcje do manipulacji
+strukturami timeval.
+
+%package devel
+Summary: Header files for pcapnav library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki pcapnav
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for pcapnav library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki pcapnav.
+
+%package static
+Summary: Static pcapnav library
+Summary(pl.UTF-8): Statyczna biblioteka pcapnav
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static pcapnav library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka pcapnav.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog COPYING README docs
+%attr(755,root,root) %{_bindir}/pcapnav-config
+%attr(755,root,root) %{_libdir}/libpcapnav.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpcapnav.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libpcapnav.so
+%{_libdir}/libpcapnav.la
+%{_includedir}/pcapnav.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libpcapnav.a
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/09/15 08:01:17 lisu
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list