]> git.pld-linux.org Git - packages/libnids.git/commitdiff
new spec
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 2 Nov 2000 09:05:52 +0000 (09:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libnids.spec -> 1.1

libnids.spec [new file with mode: 0644]

diff --git a/libnids.spec b/libnids.spec
new file mode 100644 (file)
index 0000000..bb1de4c
--- /dev/null
@@ -0,0 +1,98 @@
+Summary:       "libpwrite" Network Routine Library
+Summary(pl):   Biblioteka czynno¶ci sieciowych
+Name:          libnids
+Version:       1.14
+Release:       1
+Epoch:         1
+License:       BSD
+Group:         Libraries
+Group(pl):     Biblioteki
+Group(fr):     Librairies
+Source0:       http://www.packetfactory.net/Projects/Libnids/dist/%{name}-%{version}.tar.gz
+Patch0:                libnids-conf.patch
+URL:           http://www.packetfactory.net/Projects/Libnids/
+BuildRequires: libpcap-devel
+BuildRequires: libnet-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Libnids is an implementation of an E-component of Network Intrusion Detection
+System. It emulates the IP stack of Linux 2.0.x. Libnids offers IP defragmentation,
+TCP stream assembly and TCP port scan detection.
+
+%description -l pl
+Libnids jest implementacj± E-komponentu Systemu Wykrywania Intruzów w Sieci (NIDS).
+Emuluje ona stos IP Linuksa 2.0.x. Libnids oferuje defragmentacjê IP, asemblacjê
+strumienia TCP oraz wykrywanie skanowania portów TCP.
+
+%package devel
+Summary:       Header files and develpment documentation for libnids
+Summary(pl):   Pliki nag³ówkowe i dokumetacja do libnids
+Group:         Development/Libraries
+Group(pl):     Programowanie/Biblioteki
+Group(fr):     Development/Librairies
+Requires:      %{name} = %{version}
+
+%description devel
+Header files and develpment documentation for libnids.
+
+%description -l pl devel
+Pliki nag³ówkowe i dokumetacja do libnids.
+
+%package static
+Summary:       Static libnids library
+Summary(pl):   Biblioteka statyczna libnids
+Group:         Development/Libraries
+Group(pl):     Programowanie/Biblioteki
+Group(fr):     Development/Librairies
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static libnids library.
+
+%description -l pl static
+Biblioteka statyczna libnids.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+autoconf
+%configure \
+       --with-libpcap \
+       --with-libnet=%{_prefix}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} \
+       install_prefix=$RPM_BUILD_ROOT \
+       install
+
+ln -sf libnids.so      $RPM_BUILD_ROOT%{_libdir}/libpwrite
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
+       CHANGES README CREDITS MISC doc/*
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz doc/*.gz
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/*.h
+%{_mandir}/man3/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.106262 seconds and 4 git commands to generate.