]> git.pld-linux.org Git - packages/e2moveblocks.git/blob - e2moveblocks.spec
- pl
[packages/e2moveblocks.git] / e2moveblocks.spec
1 Summary:        e2moveblocks - tool to change layout of files on ext2/3 filesystems
2 Summary(pl.UTF-8):      e2moveblocks - narzędzie do zmiany układu plików na systemach ext2/3
3 Name:           e2moveblocks
4 Version:        0.1
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications/System
8 Source0:        http://lichota.net/~krzysiek/projects/e2moveblocks/%{name}-%{version}.tgz
9 # Source0-md5:  ea8e685247458b174c5f33085129812f
10 URL:            http://lichota.net/~krzysiek/projects/e2moveblocks/
11 BuildRequires:  e2fsprogs-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 e2moveblocks is a tool which allows offline changing position of files
16 on ext2/ext3 filesystems. It can be used for defragging or grouping
17 files for prefetching.
18
19 WARNING: this tool is currently experimental and can destroy your
20 data. Use at your own risk, author is not responsible for any damages.
21
22 %description -l pl.UTF-8
23 e2moveblocks to narzędzie pozwalające na zmianę położenia plików na
24 odłączonych systemach plików ext2/ext3. Może być używane do
25 defragmentacji lub grupowania plików w celu wspólnego wczytywania.
26
27 UWAGA: to narzędzie jest na razie eksperymentalne i może uszkodzić
28 dane. Używanie na własną odpowiedzialność, autor nie odpowiada za
29 żadne zniszczenia.
30
31 %prep
32 %setup -q
33
34 %build
35 %{__make} \
36         CC="%{__cxx}" \
37         CFLAGS="%{rpmcxxflags}" \
38         LDFLAGS="-lext2fs"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_sbindir}
43 install e2blockmap ext3_optimize $RPM_BUILD_ROOT%{_sbindir}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_sbindir}/e2blockmap
51 %attr(755,root,root) %{_sbindir}/ext3_optimize
This page took 0.081431 seconds and 3 git commands to generate.