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