--- bed.old.spec	2003-08-06 18:34:02.000000000 +0200
+++ bed.spec	2004-09-24 19:21:49.775385800 +0200
@@ -3,13 +3,13 @@
 Summary:	Bruteforce Exploit Detector
 Summary(pl):	"Brutalny" wykrywacz exploitów
 Name:		bed
-Version:	0.3
-Release:	2
+Version:	0.42
+Release:	1
 License:	GPL v2
 Group:		Networking/Utilities
-Source0:	http://www.kryptocrew.de/snakebyte/bed/%{name}-%{version}.zip
-# Source0-md5:	976bdafd892a582b58fe5d2bba36bc56
-URL:		http://www.kryptocrew.de/snakebyte/bed.html
+Source0:	http://www.snake-basket.de/bed/%{name}-%{version}.tar.bz2
+# Source0-md5:	b2903345f3db03f5a4ef580a3f829486
+URL:		http://www.snake-basket.de/bed/
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -26,23 +26,23 @@
 w bardzo nudny, głupi sposób... :)
 
 %prep
-%setup -q -c %{name}-%{version}
+%setup -q -n %{name}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{perl_vendorlib}/mod,%{_bindir}}
+install -d $RPM_BUILD_ROOT{%{perl_vendorlib}/bedmod,%{_bindir}}
 
 install bed.pl		$RPM_BUILD_ROOT%{_bindir}
-install mod/*.pm	$RPM_BUILD_ROOT%{perl_vendorlib}/mod
+install bedmod/*.pm	$RPM_BUILD_ROOT%{perl_vendorlib}/bedmod
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc docs/{CHANGES,TODO,FAQ,dummy.pm} README
+%doc docs/{CHANGES,FAQ,HOWTO,TODO,gpl.txt,dummy.pm} README
 %attr(755,root,root) %{_bindir}/*.pl
-%{perl_vendorlib}/mod/*.pm
+%attr(755,root,root) %{perl_vendorlib}/bedmod/*.pm
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
