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