]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- added using %%{__make} macro.
[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:        6
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
24 extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair
25 filesystem inconsistencies after an unclean shutdown), mke2fs (used to
26 initialize a partition to contain an empty ext2 filesystem), debugfs
27 (used to examine the internal structure of a filesystem, to manually
28 repair a corrupted filesystem or to create test cases for e2fsck),
29 tune2fs (used to modify filesystem parameters) and most of the other
30 core ext2fs filesystem utilities.
31
32 %description -l de
33 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen
34 und 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
44 nipoprawnym zamkniêciu ststemu), mke2fs (u¿ywany do inicjacji
45 wolumenów ext2), debugfs (¿ywany do sprawdzania wewnêtrznej struktóry
46 wolumenów ext2, a tak¿e do recznego naprawiania b³êdów), tune2fs
47 (u¿ywany do modyfikacji parametrów eolumenów ext2) i kilka innych
48 narzêdzi do ext2.
49
50 %description -l tr
51 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve
52 bazý parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
53
54 %package devel
55 Summary:        e2fs header files
56 Summary(de):    Header-Dateien für eine e2fs
57 Summary(pl):    Pliki nag³ówkowe do bibliotek e2fs
58 Group:          Development/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(fr):      Development/Librairies
81 Group(pl):      Programowanie/Biblioteki
82 Requires:       %{name}-devel = %{version}
83
84 %description static
85 Static libraries files needed to develop ext2 filesystem-specific
86 programs statically linked with e2progs libs.
87
88 %description -l de static
89 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
90 erforderlich sind.
91
92 %description -l pl static
93 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów
94 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
95
96 %prep
97 %setup  -q
98 %patch0 -p1
99 %patch1 -p1
100 %patch2 -p1
101 gunzip <%{SOURCE1} >doc/e2compr.texinfo
102
103 %build
104 autoconf
105 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS 
106 # Don't use %%configure macro
107 ./configure \
108         --infodir=%{_infodir} \
109         --mandir=%{_mandir} \
110         --enable-elf-shlibs \
111         --with-ldopts="-s" \
112         --enable-e2compr-03 \
113         --enable-e2compr-04 
114
115 %{__make} libs progs docs
116 cd doc
117 makeinfo --no-split e2compr.texinfo 
118 cd ..
119
120
121 %install
122 rm -rf $RPM_BUILD_ROOT
123 export PATH=/sbin:$PATH
124
125 %{__make} install DESTDIR=$RPM_BUILD_ROOT
126 %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT
127
128 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.*.*
129
130 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
131 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
132
133
134 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
135
136
137 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,3,8}/* \
138         $RPM_BUILD_ROOT%{_infodir}/*.info \
139         README RELEASE-NOTES
140
141 %post   
142 /sbin/ldconfig
143 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
144
145 %postun 
146 /sbin/ldconfig
147 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
148
149 %post  devel
150 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
151
152 %postun devel
153 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
154
155 %clean
156 rm -rf $RPM_BUILD_ROOT
157
158 %files
159 %defattr(644,root,root,755)
160 %attr(755,root,root) /sbin/*
161 %attr(755,root,root) %{_sbindir}/*
162 %attr(755,root,root) %{_bindir}/*
163 %attr(755,root,root) /lib/lib*.so.*
164 %{_mandir}/man[18]/*
165 %{_infodir}/e2compr.info*
166
167 %files devel
168 %defattr(644,root,root,755)
169 %doc {README,RELEASE-NOTES}.gz
170
171 %{_infodir}/libext2fs.info*
172 %{_mandir}/man3/*
173 %{_includedir}/*
174
175 %attr(755,root,root) %{_libdir}/lib*.so
176
177 %files static
178 %defattr(644,root,root,755)
179 %{_libdir}/lib*.a
This page took 0.083132 seconds and 4 git commands to generate.