]> git.pld-linux.org Git - packages/skipfish.git/blobdiff - skipfish.spec
- up to 1.84b
[packages/skipfish.git] / skipfish.spec
index 2cc45b0d8ed625195fb3d7b3dfe6a62a2bfbb9f8..33b93fec9c0a21f5eded630a89858e6893fc9422 100644 (file)
@@ -1,16 +1,17 @@
 %define                subver  b
-%define                rel             0.1
+%define                rel             1
 Summary:       Web application security scanner
 Name:          skipfish
-Version:       1.13
+Version:       1.84
 Release:       0.%{subver}.%{rel}
 License:       Apache v2.0
 Group:         Applications/Networking
 Source0:       http://skipfish.googlecode.com/files/%{name}-%{version}%{subver}.tgz
-# Source0-md5: e40603953eb6ae3bd9aef3905d6a0335
+# Source0-md5: 1d29ada290110a2b93d576f1fb9b1213
 URL:           http://code.google.com/p/skipfish/
 BuildRequires: libidn-devel
 BuildRequires: openssl-devel
+BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -30,9 +31,7 @@ Key features:
   flaws, including blind injection vectors.
 
 %prep
-%setup -qc
-mv %{name}/* .
-rmdir %{name}
+%setup -q -n %{name}-%{version}%{subver}
 
 %{__sed} -i -e 's,-O3,$(OPTCFLAGS),' Makefile
 %{__sed} -i -e 's,-L/usr/local/lib/ -L/opt/local/lib,$(OPTLDFLAGS),' Makefile
@@ -40,7 +39,7 @@ rmdir %{name}
 %build
 %{__make} \
        CC="%{__cc}" \
-       OPTCFLAGS="%{rpmcflags}" \
+       OPTCFLAGS="%{rpmcflags} %{rpmcppflags}" \
        OPTLDFLAGS="%{rpmldflags}"
 
 %install
@@ -54,3 +53,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README
+%attr(755,root,root) %{_bindir}/skipfish
This page took 0.244042 seconds and 4 git commands to generate.