]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
updated to 1.19 and adapterized
[packages/e2fsprogs.git] / e2fsprogs.spec
1 Summary:        Tools for the second extended (ext2) filesystem
2 Summary(de):    Tools für das zweite erweiterte (ext2) Dateisystem
3 Summary(fr):    Outils pour le système de fichiers ext2
4 Summary(pl):    Narzêdzia do systemu plikowego ext2
5 Summary(tr):    ext2 dosya sistemi için araçlar
6 Name:           e2fsprogs
7 Version:        1.19
8 Release:        1
9 License:        GPL
10 Group:          Applications/System
11 Group(de):      Applikationen/System
12 Group(pl):      Aplikacje/System
13 Source0:        ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/%{name}-%{version}.tar.gz
14 Source1:        http://opensource.captech.com/e2compr/ftp/e2compr-0.4.texinfo.gz
15 Patch0:         %{name}-info.patch
16 URL:            http://e2fsprogs.sourceforge.net/
17 PreReq:         /sbin/ldconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The e2fsprogs package contains a number of utilities for creating,
22 checking, modifying and correcting any inconsistencies in second
23 extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair
24 filesystem inconsistencies after an unclean shutdown), mke2fs (used to
25 initialize a partition to contain an empty ext2 filesystem), debugfs
26 (used to examine the internal structure of a filesystem, to manually
27 repair a corrupted filesystem or to create test cases for e2fsck),
28 tune2fs (used to modify filesystem parameters) and most of the other
29 core ext2fs filesystem utilities.
30
31 %description -l de
32 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen
33 und zur Instandsetzung von ext2-Dateisystemen.
34
35 %description -l fr
36 Ce package contient de nombreux utilitaires pour créer, vérifier, et
37 réparer les systèmes de fichiers ext2.
38
39 %description -l pl
40 Pakiet ten zawiera narzêdzia do tworzenia, sprawdzania i naprawiania
41 wolumenów dyskowych z systemem plikowym ext2. E2fsprogs zawiera e2fsck
42 (u¿ywany do naprawiania niespójno¶ci w systemie plikowym po
43 nipoprawnym zamkniêciu ststemu), mke2fs (u¿ywany do inicjacji
44 wolumenów ext2), debugfs (¿ywany do sprawdzania wewnêtrznej struktóry
45 wolumenów ext2, a tak¿e do recznego naprawiania b³êdów), tune2fs
46 (u¿ywany do modyfikacji parametrów eolumenów ext2) i kilka innych
47 narzêdzi do ext2.
48
49 %description -l tr
50 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve
51 bazý parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
52
53 %package devel
54 Summary:        e2fs header files
55 Summary(de):    Header-Dateien für eine e2fs
56 Summary(pl):    Pliki nag³ówkowe do bibliotek e2fs
57 Group:          Development/Libraries
58 Group(de):      Entwicklung/Libraries
59 Group(fr):      Development/Librairies
60 Group(pl):      Programowanie/Biblioteki
61 Requires:       %{name} = %{version}
62
63 %description devel
64 E2fsprogs-devel contand header files and documentation needed to
65 develop second extended (ext2) filesystem-specific programs.
66
67 %description -l de devel
68 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
69 Programmen erforderlich sind.
70
71 %description -l pl devel
72 Pliki nag³ówkowe i dokumentacja niezbêdne do tworzenia programów
73 obs³ugukj±cych e2fs.
74
75 %package static
76 Summary:        e2fs static libraries
77 Summary(de):    e2fs statische Libraries
78 Summary(pl):    Biblioteki statyczne do obs³ugi e2fs
79 Group:          Development/Libraries
80 Group(de):      Entwicklung/Libraries
81 Group(fr):      Development/Librairies
82 Group(pl):      Programowanie/Biblioteki
83 Requires:       %{name}-devel = %{version}
84
85 %description static
86 Static libraries files needed to develop ext2 filesystem-specific
87 programs statically linked with e2progs libs.
88
89 %description -l de static
90 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
91 erforderlich sind.
92
93 %description -l pl static
94 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów
95 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
96
97 %prep
98 %setup  -q
99 %patch0 -p1
100 gunzip < %{SOURCE1} > doc/e2compr.texinfo
101
102 %build
103 autoconf
104 %configure \
105         --with-root-prefix=/ \
106         --enable-nls \
107         --enable-elf-shlibs \
108         --enable-compression \
109         --enable-fsck
110
111 %{__make} libs progs docs
112 cd doc
113 makeinfo --no-split e2compr.texinfo 
114 cd ..
115
116
117 %install
118 rm -rf $RPM_BUILD_ROOT
119 export PATH=/sbin:$PATH
120
121 %{__make} install DESTDIR=$RPM_BUILD_ROOT
122 %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT
123
124 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
125 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
126 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
127
128
129 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
130
131 %post   
132 /sbin/ldconfig
133 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
134
135 %postun 
136 /sbin/ldconfig
137 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
138
139 %post  devel
140 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
141
142 %postun devel
143 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
144
145 %clean
146 #rm -rf $RPM_BUILD_ROOT
147
148 %files
149 %defattr(644,root,root,755)
150 %attr(755,root,root) /sbin/*
151 %attr(755,root,root) %{_sbindir}/*
152 %attr(755,root,root) %{_bindir}/*
153 %attr(755,root,root) /lib/lib*.so.*
154 %{_mandir}/man[18]/*
155 %{_datadir}/et
156 %{_datadir}/ss
157 %{_infodir}/e2compr.info*
158
159 %files devel
160 %defattr(644,root,root,755)
161 %doc README RELEASE-NOTES
162
163 %{_infodir}/libext2fs.info*
164 %{_mandir}/man3/*
165 %{_includedir}/*
166
167 %attr(755,root,root) %{_libdir}/lib*.so
168
169 %files static
170 %defattr(644,root,root,755)
171 %{_libdir}/lib*.a
This page took 0.048642 seconds and 4 git commands to generate.