]> git.pld-linux.org Git - packages/convertfs.git/blame - convertfs.spec
- initial pld release
[packages/convertfs.git] / convertfs.spec
CommitLineData
84a8590f
AM
1Summary: Tool that allows you to change type of file system in the lack of backup space
2Name: convertfs
3Version: 18mar2002
4Release: 1
5License: GPL
6Group: Applications/System
7Source0: http://tzukanov.narod.ru/convertfs/%{name}-%{version}.tar.gz
8# Source0-md5: 10fcab200d3722f008274ed11fe643af
9URL: http://tzukanov.narod.ru/convertfs/
10Requires: util-linux
11Requires: coreutils
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15This simple toolset allows you to change type of file system in the
16lack of backup space. The idea is to use sparse files support of
17primary filesystem. We create a sparse image of block device, mkfs
18secondary filesystem on it, mount it, mv files from primary filesystem
19to mounted image and then map image to the device.
20
21Remapping utility uses some kind of journaling to avoid breakage in
22case of power failure. It's expected that you have linux 2.4, glibc
232.2, recent util-linux, fileutils.
24
25You can convert from virtually any filesystem type to virtually any
26one as long as they are both block-oriented and supported by Linux for
27read/write, and as long as primary filesystem supports sparse files.
28
29%prep
30%setup -q -n %{name}
31
32%build
33sed -i -e 's#gcc#%{__cc}#g' Makefile
34%{__make} CFLAGS="%{rpmcflags}"
35
36%install
37rm -rf $RPM_BUILD_ROOT
38
39install -d $RPM_BUILD_ROOT%{_sbindir}
40
41install convertfs_dumb devclone devremap prepindex contrib/convertfs $RPM_BUILD_ROOT%{_sbindir}
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%attr(755,root,root) %{_sbindir}/*
This page took 0.078881 seconds and 4 git commands to generate.