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