diff --git a/mtools-3.9.11.tar.bz2 b/mtools-3.9.11.tar.bz2
deleted file mode 100644
index c6fec82..0000000
--- a/mtools-3.9.11.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5658327d6bad4021c02223cf86971d3db526f472d772c8677e073fffa95139fd
-size 272714
diff --git a/mtools-3.9.11-aliasing.diff b/mtools-4.0.1-aliasing.diff
similarity index 75%
rename from mtools-3.9.11-aliasing.diff
rename to mtools-4.0.1-aliasing.diff
index e10dd57..84351f5 100644
--- a/mtools-3.9.11-aliasing.diff
+++ b/mtools-4.0.1-aliasing.diff
@@ -1,9 +1,9 @@
 --- file.c
 +++ file.c
-@@ -572,7 +572,7 @@
+@@ -573,7 +573,7 @@
  		Pattern.loopDetectRel = 0;
  		Pattern.loopDetectAbs = first;
- 		if(!hash_lookup(filehash, (T_HashTableEl) &Pattern, 
+ 		if(!hash_lookup(filehash, (T_HashTableEl) &Pattern,
 -				(T_HashTableEl **)&File, 0)){
 +				(T_HashTableEl **)(void *)&File, 0)){
  			File->refs++;
diff --git a/mtools-3.9.11-autoconf.diff b/mtools-4.0.1-autoconf.diff
similarity index 100%
rename from mtools-3.9.11-autoconf.diff
rename to mtools-4.0.1-autoconf.diff
diff --git a/mtools-3.9.11-conf.diff b/mtools-4.0.1-conf.diff
similarity index 100%
rename from mtools-3.9.11-conf.diff
rename to mtools-4.0.1-conf.diff
diff --git a/mtools-3.9.11-fat-bits.diff b/mtools-4.0.1-fat-bits.diff
similarity index 100%
rename from mtools-3.9.11-fat-bits.diff
rename to mtools-4.0.1-fat-bits.diff
diff --git a/mtools-3.9.11-prototypes.diff b/mtools-4.0.1-prototypes.diff
similarity index 100%
rename from mtools-3.9.11-prototypes.diff
rename to mtools-4.0.1-prototypes.diff
diff --git a/mtools-3.9.11-script.diff b/mtools-4.0.1-script.diff
similarity index 100%
rename from mtools-3.9.11-script.diff
rename to mtools-4.0.1-script.diff
diff --git a/mtools-4.0.1.tar.bz2 b/mtools-4.0.1.tar.bz2
new file mode 100644
index 0000000..59d2d5c
--- /dev/null
+++ b/mtools-4.0.1.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6ceb7d087b7acb9308f523571eee0ce2788c913c9a2f01a3b03979bb6eb705a9
+size 272909
diff --git a/mtools.changes b/mtools.changes
index 81b170f..2cb9b96 100644
--- a/mtools.changes
+++ b/mtools.changes
@@ -1,3 +1,12 @@
+-------------------------------------------------------------------
+Tue Jan 13 18:14:34 CET 2009 - pgajdos@suse.cz
+
+- updated to 4.0.1
+  * unicode support
+  * use transliteration to represent characters which don't exist in
+    target set
+  * Offset for -i-specified image files
+
 -------------------------------------------------------------------
 Tue Jun  5 12:11:14 CEST 2007 - prusnak@suse.cz
 
diff --git a/mtools.spec b/mtools.spec
index aaa630e..c1a01a7 100644
--- a/mtools.spec
+++ b/mtools.spec
@@ -1,7 +1,7 @@
 #
-# spec file for package mtools (Version 3.9.11)
+# spec file for package mtools (Version 4.0.1)
 #
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,8 +20,8 @@
 
 Name:           mtools
 BuildRequires:  libpng texlive-latex xorg-x11 xorg-x11-devel
-Version:        3.9.11
-Release:        165
+Version:        4.0.1
+Release:        1
 AutoReqProv:    on
 Group:          System/Filesystems
 License:        GPL v2 or later
@@ -90,6 +90,12 @@ install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}
 make install DESTDIR=$RPM_BUILD_ROOT
 cp -p mtools.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/mtools.info.gz
+
+%postun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/mtools.info.gz
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -107,6 +113,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/f*
 
 %changelog
+* Tue Jan 13 2009 pgajdos@suse.cz
+- updated to 4.0.1
+  * unicode support
+  * use transliteration to represent characters which don't exist in
+  target set
+  * Offset for -i-specified image files
 * Tue Jun 05 2007 prusnak@suse.cz
 - updated to 3.9.11
   * fixed reading of boot sector
@@ -115,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
   * support for config parameters after -i file
 - drop obsolete patches:
   * memset.diff (included in update)
-* Mon Apr 23 2007 ro@suse.de
+* Sun Apr 22 2007 ro@suse.de
 - use texlive for building
 * Mon Feb 06 2006 mjancar@suse.cz
 - bransh mtools-floppy to prevent dependecy on X11 (#146102)