+++ /dev/null
---- e2fsprogs-1.42.12/doc/e2compr.texinfo.orig 2014-10-24 16:56:18.270058857 +0200
-+++ e2fsprogs-1.42.12/doc/e2compr.texinfo 2014-10-24 18:30:24.926488556 +0200
-@@ -24,11 +24,10 @@
- @c %**end of header
-
- @c What to put in info directory (e.g. /usr/info/dir).
--@dircategory Miscellaneous
-+@dircategory Miscellaneous:
- @direntry
--* e2compr:: User manual for ext2 compression.
--* e2bitmap: (e2compr)e2bitmap. Display which clusters are compressed.
--* e2ratio: (e2compr)e2ratio. Ext2 compression statistics.
-+* e2bitmap: (e2compr)e2bitmap. Display which clusters are compressed
-+* e2ratio: (e2compr)e2ratio. Ext2 compression statistics
- @end direntry
- @c :vers: Grab the stuff about e2compress from an old manual,
- @c once it is ready for 0.4. Also get the direntry stuff for it.
-@@ -986,8 +985,7 @@
- @c Should be both unindented and in fixed-width font.
- @c How do I do this?
- @c `@format' is suitable for info.
--@t{
--@format
-+@verbatim
- ch+ du tar (read) ch- cs alg
- ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~ ~~~~~
- 0.16u 203.9s 3:51 2257 0.16u 0.84s 0.59u 93.88s 1:49 0.17u 20.09s 0:36 32 gzip9
-@@ -1039,8 +1037,7 @@
- 0.19u 32.3s 1:10 3965 0.16u 0.71s 0.64u 17.71s 0:40 0.21u 16.35s 0:58 04 lzrw3a
-
- 0.17u 19.3s 1:00 4025 0.11u 0.74s 0.66u 10.36s 0:34 0.26u 9.33s 0:45 04 lzv1
--@end format
--}
-+@end verbatim
-
- @c ------------------------------------------------------------------
- @node none, future methods, Compression choices, Algorithms
-@@ -1340,7 +1337,7 @@
- are) tend to have a high turnover of files (deleting files to make way
- for new files, which have to be written in the cracks occupied by the
- files just deleted), which causes high fragmentation.
--@xref{defragmenter} for comments on using a defragmenter.
-+For comments on using a defragmenter, @pxref{defragmenter}.
-
-
- @c ------------------------------------------------------------------
#
# Conditional build:
%bcond_with allstatic # link everything statically
+%bcond_without fuse # fuse2fs program
%bcond_without nls # build without NLS
%bcond_without tls # TLS
%if "%{pld_release}" == "ac"
Summary(zh_CN.UTF-8): 管理第二扩展(ext2)文件系统的工具。
Summary(zh_TW.UTF-8): 用於管理 ext2 檔案系統的工具程式。
Name: e2fsprogs
-Version: 1.42.13
+Version: 1.43
Release: 1
License: GPL v2 (with LGPL v2 and BSD parts)
Group: Applications/System
Source0: http://downloads.sourceforge.net/e2fsprogs/%{name}-%{version}.tar.gz
-# Source0-md5: bc759fc62666786f5436e2075beb3265
-Source1: e2compr-0.4.texinfo.gz
-# Source1-md5: c3c59ff37e49d8759abb1ef95a8d3abf
+# Source0-md5: 83f3256fcf37dd6dd4acbb648a30625a
Source2: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source2-md5: 992a37783bd42a897232972917e8ca7d
Patch0: %{name}-info.patch
-Patch1: e2compr-info.patch
Patch2: %{name}-498381.patch
Patch3: %{name}-diet.patch
URL: http://e2fsprogs.sourceforge.net/
BuildRequires: automake
BuildRequires: gettext-tools >= 0.11
BuildRequires: libblkid-devel
+%{?with_fuse:BuildRequires: libfuse-devel}
BuildRequires: libuuid-devel
BuildRequires: pkgconfig
BuildRequires: rpm >= 4.4.9-56
创建测试范例)、 tune2fs(用于修改文件系统参数)和其它大多数核心
ext2fs 文件系统实用程序。
+%package fuse
+Summary: FUSE file system client for ext2/ext3/ext4 file systems
+Summary(pl.UTF-8): Klient systemu plików FUSE dla systemów plików ext2/ext3/ext4
+Group: Applications/System
+Requires: %{name}-libs = %{version}-%{release}
+Requires: libcom_err = %{version}-%{release}
+
+%description fuse
+FUSE file system client for ext2/ext3/ext4 file systems.
+
+%description fuse -l pl.UTF-8
+Klient systemu plików FUSE dla systemów plików ext2/ext3/ext4.
+
%package libs
Summary: ext2 filesystem-specific libraries
Summary(pl.UTF-8): Biblioteki dla systemu plików ext2
%prep
%setup -q
%patch0 -p1
-%{__gzip} -dc < %{SOURCE1} > doc/e2compr.texinfo
-%patch1 -p1
%patch2 -p1
%patch3 -p1
LDFLAGS="%{rpmldflags} -static" \
--disable-elf-shlibs \
--disable-fsck \
+ --disable-fuse2fs \
--disable-libblkid \
--disable-libuuid \
--disable-nls \
%configure \
--with-root-prefix="" \
--disable-fsck \
+ %{!?with_fuse:--disable-fuse2fs} \
--disable-libblkid \
--disable-libuuid \
%{!?with_nls:--disable-nls} \
%{!?with_tls:--disable-tls} \
--disable-rpath \
--disable-uuidd \
- --enable-compression \
- %{!?with_allstatic:--enable-elf-shlibs} \
- --enable-htree \
- --enable-quota
+ %{!?with_allstatic:--enable-elf-shlibs}
%{__make} -j1 libs \
LDFLAGS="%{rpmldflags}" \
LDFLAGS="%{rpmldflags}" \
V=1
-cd doc
-makeinfo --no-split e2compr.texinfo
-
%install
rm -rf $RPM_BUILD_ROOT
%{?with_dietlibc:install -d $RPM_BUILD_ROOT%{dietlibdir}}
ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
-cp -p doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
-
touch $RPM_BUILD_ROOT%{_sysconfdir}/e2fsck.conf
bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
%files %{?with_nls:-f %{name}.lang}
%defattr(644,root,root,755)
-# COPYING specifies license details for some parts of package
-%doc COPYING README RELEASE-NOTES
+%doc NOTICE README RELEASE-NOTES
%attr(755,root,root) /sbin/badblocks
%attr(755,root,root) /sbin/debugfs
%attr(755,root,root) /sbin/dumpe2fs
%attr(755,root,root) %{_bindir}/chattr
%attr(755,root,root) %{_bindir}/lsattr
%attr(755,root,root) %{_sbindir}/e2freefrag
+%attr(755,root,root) %{_sbindir}/e4crypt
%attr(755,root,root) %{_sbindir}/e4defrag
%attr(755,root,root) %{_sbindir}/filefrag
%attr(755,root,root) %{_sbindir}/mklost+found
%{_mandir}/man8/e2image.8*
%{_mandir}/man8/e2label.8*
%{_mandir}/man8/e2undo.8*
+%{_mandir}/man8/e4crypt.8*
%{_mandir}/man8/e4defrag.8*
%{_mandir}/man8/filefrag.8*
%{_mandir}/man8/fsck.ext2.8*
%lang(pl) %{_mandir}/pl/man8/mkfs.ext4dev.8*
%lang(pl) %{_mandir}/pl/man8/mklost+found.8*
%lang(pl) %{_mandir}/pl/man8/tune2fs.8*
-%{_infodir}/e2compr.info*
+
+%if %{with fuse}
+%files fuse
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/fuse2fs
+%{_mandir}/man1/fuse2fs.1*
+%endif
%if %{without allstatic}
%files libs