e2fsprogs.spec.in: Fix up e2fsprogs.spec file so it should work
on a RH 9.0 system. Based off of changes proposed by
Andreas Dilger.
diff --git a/e2fsprogs.spec.in b/e2fsprogs.spec.in
index 23fa559..10b079c 100644
--- a/e2fsprogs.spec.in
+++ b/e2fsprogs.spec.in
@@ -1,5 +1,6 @@
%define _root_sbindir /sbin
%define _root_libdir /%{_lib}
+%define _root_localedir /usr/share/locale
Summary: Utilities for managing the second extended (ext2) filesystem.
Name: e2fsprogs
@@ -48,7 +49,7 @@
%setup
%build
-%configure --enable-elf-shlibs --enable-nls
+%configure --enable-elf-shlibs --enable-nls --disable-evms
make
%install
@@ -136,6 +137,14 @@
%{_mandir}/man8/tune2fs.8*
%{_mandir}/man8/filefrag.8*
+%{_root_localedir}/cs/LC_MESSAGES/e2fsprogs.mo
+%{_root_localedir}/de/LC_MESSAGES/e2fsprogs.mo
+%{_root_localedir}/es/LC_MESSAGES/e2fsprogs.mo
+%{_root_localedir}/it/LC_MESSAGES/e2fsprogs.mo
+%{_root_localedir}/pl/LC_MESSAGES/e2fsprogs.mo
+%{_root_localedir}/sv/LC_MESSAGES/e2fsprogs.mo
+%{_root_localedir}/tr/LC_MESSAGES/e2fsprogs.mo
+
%files devel
%defattr(-,root,root)
%{_infodir}/libext2fs.info*
@@ -163,6 +172,7 @@
%{_includedir}/ext2fs
%{_includedir}/ss
%{_includedir}/uuid
+%{_includedir}/e2p/e2p.h
%{_mandir}/man1/compile_et.1*
%{_mandir}/man1/mk_cmds.1*
%{_mandir}/man3/com_err.3*