From: Jakub Bogusz Date: Mon, 25 Aug 2003 10:53:17 +0000 (+0000) Subject: - pl, BR: new sed X-Git-Url: http://git.pld-linux.org/?p=packages%2Fconvertfs.git;a=commitdiff_plain;h=05c37cff2a895a4220ae9f46b36be44dcc4d09c9 - pl, BR: new sed Changed files: convertfs.spec -> 1.3 --- diff --git a/convertfs.spec b/convertfs.spec index e531d2f..8d7b3d2 100644 --- a/convertfs.spec +++ b/convertfs.spec @@ -1,4 +1,5 @@ Summary: Tool that allows you to change type of file system in the lack of backup space +Summary(pl): Narzêdzie pozwalaj±ce zmieniæ typ systemu plików bez miejsca na kopiê zapasow± Name: convertfs Version: 18mar2002 Release: 1 @@ -6,8 +7,9 @@ License: GPL Group: Applications/System Source0: http://tzukanov.narod.ru/convertfs/%{name}-%{version}.tar.gz # Source0-md5: 10fcab200d3722f008274ed11fe643af -Patch0: %{name}-safety.patch +Patch0: %{name}-safety.patch URL: http://tzukanov.narod.ru/convertfs/ +BuildRequires: sed >= 4.0 Requires: util-linux Requires: coreutils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -20,24 +22,42 @@ secondary filesystem on it, mount it, mv files from primary filesystem to mounted image and then map image to the device. Remapping utility uses some kind of journaling to avoid breakage in -case of power failure. It's expected that you have linux 2.4, glibc +case of power failure. It's expected that you have Linux 2.4, glibc 2.2, recent util-linux, fileutils. You can convert from virtually any filesystem type to virtually any one as long as they are both block-oriented and supported by Linux for read/write, and as long as primary filesystem supports sparse files. +%description -l pl +Ten prosty zestaw narzêdzi pozwala zmieniæ typ systemu plików w +przypadku braku miejsca na kopiê zapasow±. Idea polega na +wykorzystaniu obs³ugi rzadkich plik na g³ównym systemie plików. +Narzêdzie tworzy rzadki obraz urz±dzenia blokowego, przy u¿yciu mkfs +robi na nim nowy system plików, montuje go, przy u¿yciu mv przenosi +pliki z g³ównego systemu plików na podmontowany obraz, a nastêpnie +mapuje obraz na urz±dzenie. + +Narzêdzie do remapowania u¿ywa rodzaju kroniki, aby zapobiec +uszkodzeniom w przypadku awarii zasilania. Narzêdzia s± pisane dla +Linuksa 2.4, glibc 2.2, nowych wersji util-linux i fileutils. + +Mo¿na konwertowaæ z prawie ka¿dego typu systemu plików na prawie +ka¿dy, o ile oba s± zorientowane blokowo oraz ich odczyt i zapis s± +obs³ugiwane przez Linuksa, a g³ówny system plików obs³uguje pliki +rzadkie. + %prep %setup -q -n %{name} %patch0 -p1 %build sed -i -e 's#gcc#%{__cc}#g' Makefile -%{__make} CFLAGS="%{rpmcflags}" +%{__make} \ + CFLAGS="%{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT - install -d $RPM_BUILD_ROOT%{_sbindir} install convertfs_dumb devclone devremap prepindex contrib/convertfs $RPM_BUILD_ROOT%{_sbindir}