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