]> git.pld-linux.org Git - packages/convertfs.git/blob - convertfs.spec
- pl, BR: new sed
[packages/convertfs.git] / convertfs.spec
1 Summary:        Tool that allows you to change type of file system in the lack of backup space
2 Summary(pl):    Narzêdzie pozwalaj±ce zmieniæ typ systemu plików bez miejsca na kopiê zapasow±
3 Name:           convertfs
4 Version:        18mar2002
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://tzukanov.narod.ru/convertfs/%{name}-%{version}.tar.gz
9 # Source0-md5:  10fcab200d3722f008274ed11fe643af
10 Patch0:         %{name}-safety.patch
11 URL:            http://tzukanov.narod.ru/convertfs/
12 BuildRequires:  sed >= 4.0
13 Requires:       util-linux
14 Requires:       coreutils
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This simple toolset allows you to change type of file system in the
19 lack of backup space. The idea is to use sparse files support of
20 primary filesystem. We create a sparse image of block device, mkfs
21 secondary filesystem on it, mount it, mv files from primary filesystem
22 to mounted image and then map image to the device.
23
24 Remapping utility uses some kind of journaling to avoid breakage in
25 case of power failure. It's expected that you have Linux 2.4, glibc
26 2.2, recent util-linux, fileutils.
27
28 You can convert from virtually any filesystem type to virtually any
29 one as long as they are both block-oriented and supported by Linux for
30 read/write, and as long as primary filesystem supports sparse files.
31
32 %description -l pl
33 Ten prosty zestaw narzêdzi pozwala zmieniæ typ systemu plików w
34 przypadku braku miejsca na kopiê zapasow±. Idea polega na
35 wykorzystaniu obs³ugi rzadkich plik na g³ównym systemie plików.
36 Narzêdzie tworzy rzadki obraz urz±dzenia blokowego, przy u¿yciu mkfs
37 robi na nim nowy system plików, montuje go, przy u¿yciu mv przenosi
38 pliki z g³ównego systemu plików na podmontowany obraz, a nastêpnie
39 mapuje obraz na urz±dzenie.
40
41 Narzêdzie do remapowania u¿ywa rodzaju kroniki, aby zapobiec
42 uszkodzeniom w przypadku awarii zasilania. Narzêdzia s± pisane dla
43 Linuksa 2.4, glibc 2.2, nowych wersji util-linux i fileutils.
44
45 Mo¿na konwertowaæ z prawie ka¿dego typu systemu plików na prawie
46 ka¿dy, o ile oba s± zorientowane blokowo oraz ich odczyt i zapis s±
47 obs³ugiwane przez Linuksa, a g³ówny system plików obs³uguje pliki
48 rzadkie.
49
50 %prep
51 %setup  -q -n %{name}
52 %patch0 -p1
53
54 %build
55 sed -i -e 's#gcc#%{__cc}#g' Makefile
56 %{__make} \
57         CFLAGS="%{rpmcflags}"
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{_sbindir}
62
63 install convertfs_dumb devclone devremap prepindex contrib/convertfs $RPM_BUILD_ROOT%{_sbindir}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_sbindir}/*
This page took 0.047829 seconds and 3 git commands to generate.