]> git.pld-linux.org Git - packages/dsniff.git/blobdiff - dsniff.spec
- release 24 (by relup.sh)
[packages/dsniff.git] / dsniff.spec
index 73c9ddbf766f3e6e0f9d865dcd44e7df4c12a24f..ef3cc196d909b49b723f1d849e28500dd2a508f6 100644 (file)
@@ -1,9 +1,12 @@
-%define                _rel    9
+# TODO
+# - make R: mozilla-firefox something generic (it uses X11 and remote.c to find
+#   browser window to send openURL(%s, %s) command there)
+%define                rel     24
 Summary:       Network audit tools
 Summary(pl.UTF-8):     Narzędzia do kontroli sieci
 Name:          dsniff
 Version:       2.4
-Release:       0.b1.%{_rel}
+Release:       0.b1.%{rel}
 License:       BSD
 Group:         Networking/Utilities
 Source0:       http://www.monkey.org/~dugsong/dsniff/beta/%{name}-%{version}b1.tar.gz
@@ -17,6 +20,7 @@ Patch3:               %{name}-openssl-0.9.8.patch
 URL:           http://www.monkey.org/~dugsong/dsniff/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: cpp
 BuildRequires: db-devel
 BuildRequires: glibc-static
 BuildRequires: libnet1-devel
@@ -28,6 +32,7 @@ BuildRequires:        rpm >= 4.4.9-56
 BuildRequires: XFree86-devel
 %else
 BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXmu-devel
 %endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,7 +50,11 @@ Summary:     Network audit tools
 Summary(pl.UTF-8):     Narzędzia do kontroli sieci
 Group:         Networking/Utilities
 Requires:      %{name} = %{version}-%{release}
+%if "%{pld_release}" == "ac"
 Requires:      mozilla-firefox
+%else
+Requires:      iceweasel
+%endif
 
 %description webspy
 webspy sends URLs sniffed from a client to your local Mozilla browser
@@ -74,7 +83,7 @@ CFLAGS="%{rpmcflags} -I./missing"
 %configure \
        --libdir=%{_datadir}/%{name}
 sed -i -e 's#-L/usr/lib64 # #g' -e 's#-L/usr/lib # #g' Makefile
-%{__make}
+%{__make} libmissing.a all
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.025042 seconds and 4 git commands to generate.