]> git.pld-linux.org Git - packages/skipfish.git/commitdiff
- updated to 2.08b auto/th/skipfish-2.08-0.b.1
authorŁukasz Kieś <kiesiu@pld-linux.org>
Sun, 2 Sep 2012 18:12:27 +0000 (20:12 +0200)
committerŁukasz Kieś <kiesiu@pld-linux.org>
Sun, 2 Sep 2012 18:12:27 +0000 (20:12 +0200)
- added more doc files

skipfish.spec

index 16ada94ee7e67fe9b029905c7a5e40ef3b532a47..a8e33fe05e030f03d0a85381b9d53046e7377ba7 100644 (file)
@@ -2,15 +2,16 @@
 %define                rel             1
 Summary:       Web application security scanner
 Name:          skipfish
-Version:       2.07
+Version:       2.08
 Release:       0.%{subver}.%{rel}
 License:       Apache v2.0
 Group:         Applications/Networking
 Source0:       http://skipfish.googlecode.com/files/%{name}-%{version}%{subver}.tgz
-# Source0-md5: 91ee5616b22366745e8b6ba00c3a29e1
+# Source0-md5: fb928f803c6228ab8ae46ccdf3ce65f0
 URL:           http://code.google.com/p/skipfish/
 BuildRequires: libidn-devel
 BuildRequires: openssl-devel
+BuildRequires: pcre-devel
 BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,7 +36,7 @@ Key features:
 
 %{__sed} -i -e 's,-O3,$(OPTCFLAGS),' Makefile
 %{__sed} -i -e 's,-L/usr/local/lib/ -L/opt/local/lib,$(OPTLDFLAGS),' Makefile
-%{__sed} -i -e 's,"assets","%{_datadir}/%{name}/assets",' config.h
+%{__sed} -i -e 's,"assets","%{_datadir}/%{name}/assets",' src/config.h
 
 %build
 %{__make} \
@@ -48,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
 
 install -p %{name} $RPM_BUILD_ROOT%{_bindir}
-cp -ar %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -ar doc/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
 cp -ar assets dictionaries $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %clean
@@ -56,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README
+%doc ChangeLog README doc/*.txt
 %attr(755,root,root) %{_bindir}/skipfish
 %{_datadir}/%{name}
 %{_mandir}/man1/%{name}.1*
This page took 0.085337 seconds and 4 git commands to generate.