]>
Commit | Line | Data |
---|---|---|
9bf783de | 1 | Summary: Tools for the second extended (ext2) filesystem |
63c4e4c4 | 2 | Summary(pl.UTF-8): Narzędzia do systemu plikowego ext2 |
9bf783de | 3 | Name: genext2fs |
77dde45b | 4 | Version: 1.3 |
ad62bc20 | 5 | Release: 3 |
9bf783de | 6 | License: GPL |
7 | Group: Applications/System | |
9bf783de | 8 | Source0: http://xavier.bestel.free.fr/%{name}-%{version}.tgz |
ec6bc873 | 9 | # Source0-md5: 91c06c5c7ec27ce886e67b3b28d78d9b |
77dde45b | 10 | Source1: %{name}-Makefile |
356ba869 | 11 | Patch0: %{name}-blkdev.patch |
9bf783de | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
65b84f55 | 14 | %description |
3dd40ed5 | 15 | genext2fs generates an ext2 filesystem without the need to be root. |
16 | You can generate a filesystem image, symlinks and device nodes | |
9bf783de | 17 | included, as a normal user. |
18 | ||
58aaf63e JR |
19 | %description -l pl.UTF-8 |
20 | genext2fs generuje system plików ext2 bez potrzeby posiadania | |
21 | uprawnień superużytkownia. Możesz wygenerować obraz systemu plików, z | |
22 | linkami symbolicznymi i plikami urządzeń jako normalny użytkownik. | |
7a27d964 | 23 | |
9bf783de | 24 | %prep |
86b52a48 | 25 | %setup -q |
356ba869 | 26 | %patch0 -p1 |
77dde45b | 27 | |
28 | install %{SOURCE1} Makefile | |
9bf783de | 29 | |
30 | %build | |
31 | %{__make} | |
62b69f3d | 32 | head -n 61 genext2fs.c >README |
9bf783de | 33 | |
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{_bindir} | |
3dd40ed5 | 37 | |
9bf783de | 38 | install genext2fs $RPM_BUILD_ROOT%{_bindir} |
86b52a48 | 39 | |
9bf783de | 40 | %clean |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
0c49c1c0 | 45 | %doc README dev.txt |
9bf783de | 46 | %attr(755,root,root) %{_bindir}/* |