]> git.pld-linux.org Git - packages/ext2ed.git/blob - ext2ed.spec
- rel. 3
[packages/ext2ed.git] / ext2ed.spec
1 Summary:        ext2 filesystem editor for hackers *only*
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
6 Name:           ext2ed
7 Version:        0.2
8 Release:        3
9 License:        GPL
10 Group:          Applications/System
11 Source0:        ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ext2/%{name}-%{version}.tar.gz
12 # Source0-md5:  996bbbecceee1eb95e4cdbc53a1860df
13 Patch0:         %{name}-opt.patch
14 Patch1:         %{name}-FHS2.0.patch
15 Patch2:         %{name}-nooldext2acl.patch
16 Patch3:         %{name}-header.patch
17 Patch4:         %{name}-build.patch
18 BuildRequires:  e2fsprogs-devel
19 BuildRequires:  readline-devel >= 4.2
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}
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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.
32
33 %description -l de.UTF-8
34 Dies ist ein Paket zum Hacken der ext2-Dateisysteme, zum
35 AUSSCHLIESSLICHEN Gebrauch durch Hacker und versierte Fachleute. Wenn
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.
39
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
45 exercice.
46
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.
52
53 W pobliżu ext2ed obowiązuje całkowity zakaz palenia tytoniu ;)
54
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!
60
61 %prep
62 %setup -q
63 %patch0 -p1
64 %patch1 -p1
65 %patch2 -p1
66 %patch3 -p1
67 %patch4 -p0
68
69 %build
70 rm -f ext2ed
71 %{__make} \
72         CC="%{__cc}" \
73         OPTFLAGS="%{rpmcflags}"
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8,/var/lib/ext2ed}
78
79 %{__make} install \
80         VAR_DIR=$RPM_BUILD_ROOT/var/lib/ext2ed \
81         BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
82         DOC_DIR=$RPM_BUILD_ROOT \
83         MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man8
84
85 %files
86 %defattr(644,root,root,755)
87 %doc README doc/*.sgml doc/*.ps
88 %attr(750,root,root) %dir /var/lib/ext2ed
89 /var/lib/ext2ed/ext2.descriptors
90 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /var/lib/ext2ed/ext2ed.conf
91 %attr(744,root,root) %{_bindir}/ext2ed
92 %{_mandir}/man8/*.8*
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
This page took 0.057009 seconds and 4 git commands to generate.