]>
Commit | Line | Data |
---|---|---|
f1dafd55 | 1 | Summary: ext2 filesystem editor for hackers *only* |
94684fb8 JR |
2 | Summary(de.UTF-8): ext2-Dateisystem-Editor NUR für Hacker |
3 | Summary(fr.UTF-8): éditeur du système de fichiers ext2, *uniquement* pour les hackers | |
4 | Summary(pl.UTF-8): Edytor systemu plików ext2 - TYLKO DLA DOŚWIADCZONYCH UŻYTKOWNIKÓW | |
5 | Summary(tr.UTF-8): ext2 dosya sistemi düzenleyicisi | |
f1dafd55 | 6 | Name: ext2ed |
64020fe5 JB |
7 | Version: 0.2 |
8 | Release: 1 | |
383b2a56 | 9 | License: GPL |
386d65ef | 10 | Group: Applications/System |
383b2a56 | 11 | Source0: ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ext2/%{name}-%{version}.tar.gz |
639240b4 | 12 | # Source0-md5: 996bbbecceee1eb95e4cdbc53a1860df |
64020fe5 JB |
13 | Patch0: %{name}-opt.patch |
14 | Patch1: %{name}-FHS2.0.patch | |
b10e951a | 15 | Patch2: %{name}-nooldext2acl.patch |
386d65ef | 16 | BuildRequires: readline-devel >= 4.2 |
b10e951a JB |
17 | # according to comments in e2fsprogs, ext2ed code assumes that CPU |
18 | # is 32-bit little endian - on other platforms it can only break something | |
19 | # (another thing is that it doesn't support >2GB filesystems at all) | |
20 | ExclusiveArch: %{ix86} | |
d2d1b1ea | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
add85abe | 22 | |
23 | %description | |
383b2a56 | 24 | This is a package to allow for hacking of your extended two file |
25 | systems. It is for hackers *only* and should only be used by | |
26 | experienced personnel. If you aren't sure if this is you, it isn't. | |
27 | Also, do not smoke near this software. You have been warned. This is | |
28 | not a recording. | |
add85abe | 29 | |
94684fb8 | 30 | %description -l de.UTF-8 |
383b2a56 | 31 | Dies ist ein Paket zum Hacken der ext2-Dateisysteme, zum |
32 | AUSSCHLIESSLICHEN Gebrauch durch Hacker und versierte Fachleute. Wenn | |
94684fb8 JR |
33 | Sie sich nicht angesprochen fühlen, lassen Sie lieber die Hände davon! |
34 | Und noch etwas: Zünden Sie sich in der Nähe dieser Software keine | |
35 | Zigarette an - sagen Sie nicht, wir hätten Sie nicht gewarnt. | |
add85abe | 36 | |
94684fb8 JR |
37 | %description -l fr.UTF-8 |
38 | Paquetage permettant le hackind des systèmes de fichiers ext2. Il | |
39 | n'est *que* pour les hackers et doit être utilisés par des gens | |
40 | expérimentés. Si vous n'êtes pas sûr de l'être, vous ne l'êtes pas. Ne | |
41 | fumez pas près de ce logiciel. Vous aurez été prévenu, ce n'est pas un | |
386d65ef | 42 | exercice. |
add85abe | 43 | |
94684fb8 JR |
44 | %description -l pl.UTF-8 |
45 | Ext2ed pozwala na modyfikowanie systemu plików ext2. Przeznaczony jest | |
46 | tylko i wyłącznie dla doświadczonych użytkowników Linuksa. | |
47 | Niedoświadczeni oraz średnio-zaawansowani użytkownicy nie powinni się | |
48 | nawet zbliżać do ext2ed. | |
add85abe | 49 | |
94684fb8 | 50 | W pobliżu ext2ed obowiązuje całkowity zakaz palenia tytoniu ;) |
add85abe | 51 | |
94684fb8 JR |
52 | %description -l tr.UTF-8 |
53 | Bu yazılımlarla ext2 dosya sistemi üzerinde değişiklikler | |
54 | yapabilirsiniz. Bu yazılımı sadece ne yaptığınızdan kesinkle eminseniz | |
55 | kullanın. Dosyalarınızı kaybedecek olursanız, unutmayın: sizi | |
56 | uyarmıştık! | |
add85abe | 57 | |
58 | %prep | |
59 | %setup -q | |
64020fe5 | 60 | %patch0 -p1 |
1780470e | 61 | %patch1 -p1 |
b10e951a | 62 | %patch2 -p1 |
add85abe | 63 | |
64 | %build | |
65 | rm -f ext2ed | |
64020fe5 JB |
66 | %{__make} \ |
67 | CC="%{__cc}" \ | |
68 | OPTFLAGS="%{rpmcflags}" | |
add85abe | 69 | |
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
6efdead9 | 72 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8,/var/lib/ext2ed} |
add85abe | 73 | |
aa24ceac | 74 | %{__make} install \ |
93e1dcda | 75 | VAR_DIR=$RPM_BUILD_ROOT/var/lib/ext2ed \ |
da7f9000 | 76 | BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \ |
add85abe | 77 | DOC_DIR=$RPM_BUILD_ROOT \ |
387412e0 | 78 | MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man8 |
1780470e | 79 | |
add85abe | 80 | %files |
81 | %defattr(644,root,root,755) | |
64020fe5 JB |
82 | %doc README doc/*.sgml doc/*.ps |
83 | %attr(750,root,root) %dir /var/lib/ext2ed | |
84 | /var/lib/ext2ed/ext2.descriptors | |
04d466a6 | 85 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /var/lib/ext2ed/ext2ed.conf |
64020fe5 | 86 | %attr(744,root,root) %{_bindir}/ext2ed |
81058e42 | 87 | %{_mandir}/man8/* |
add85abe | 88 | |
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT |