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