]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- merge rawhide mountlabel 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.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 Patch1:         %{name}-mountlabel.patch
17 URL:            http://e2fsprogs.sourceforge.net/
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(de):      Entwicklung/Libraries
60 Group(fr):      Development/Librairies
61 Group(pl):      Programowanie/Biblioteki
62 Requires:       %{name} = %{version}
63
64 %description devel
65 E2fsprogs-devel contand header files and documentation needed to
66 develop second extended (ext2) filesystem-specific programs.
67
68 %description -l de devel
69 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
70 Programmen erforderlich sind.
71
72 %description -l pl devel
73 Pliki nag³ówkowe i dokumentacja niezbêdne do tworzenia programów
74 obs³ugukj±cych e2fs.
75
76 %package static
77 Summary:        e2fs static libraries
78 Summary(de):    e2fs statische Libraries
79 Summary(pl):    Biblioteki statyczne do obs³ugi e2fs
80 Group:          Development/Libraries
81 Group(de):      Entwicklung/Libraries
82 Group(fr):      Development/Librairies
83 Group(pl):      Programowanie/Biblioteki
84 Requires:       %{name}-devel = %{version}
85
86 %description static
87 Static libraries files needed to develop ext2 filesystem-specific
88 programs statically linked with e2progs libs.
89
90 %description -l de static
91 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
92 erforderlich sind.
93
94 %description -l pl static
95 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów
96 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
97
98 %prep
99 %setup  -q
100 %patch0 -p1
101 %patch1 -p1
102 gunzip < %{SOURCE1} > doc/e2compr.texinfo
103
104 %build
105 autoconf
106 %configure \
107         --with-root-prefix=/ \
108         --enable-nls \
109         --enable-elf-shlibs \
110         --enable-compression \
111         --enable-fsck
112
113 %{__make} libs progs docs
114 cd doc
115 makeinfo --no-split e2compr.texinfo 
116 cd ..
117
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121 export PATH=/sbin:$PATH
122
123 %{__make} install DESTDIR=$RPM_BUILD_ROOT
124 %{__make} install-libs DESTDIR=$RPM_BUILD_ROOT
125
126 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
127 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
128 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
129
130
131 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
132
133 %post   
134 /sbin/ldconfig
135 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
136
137 %postun 
138 /sbin/ldconfig
139 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
140
141 %post  devel
142 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
143
144 %postun devel
145 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
146
147 %clean
148 rm -rf $RPM_BUILD_ROOT
149
150 %files
151 %defattr(644,root,root,755)
152 %attr(755,root,root) /sbin/*
153 %attr(755,root,root) %{_sbindir}/*
154 %attr(755,root,root) %{_bindir}/*
155 %attr(755,root,root) /lib/lib*.so.*
156 %{_mandir}/man[18]/*
157 %{_datadir}/et
158 %{_datadir}/ss
159 %{_infodir}/e2compr.info*
160
161 %files devel
162 %defattr(644,root,root,755)
163 %doc README RELEASE-NOTES
164
165 %{_infodir}/libext2fs.info*
166 %{_mandir}/man3/*
167 %{_includedir}/*
168
169 %attr(755,root,root) %{_libdir}/lib*.so
170
171 %files static
172 %defattr(644,root,root,755)
173 %{_libdir}/lib*.a
This page took 0.050479 seconds and 4 git commands to generate.