]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- added ACL support
[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:        2
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 Patch2:         http://acl.bestbits.at/current/%{name}-1.19ea-0.7.8.patch.gz
18 URL:            http://e2fsprogs.sourceforge.net/
19 PreReq:         /sbin/ldconfig
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
25 extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair
26 filesystem inconsistencies after an unclean shutdown), mke2fs (used to
27 initialize a partition to contain an empty ext2 filesystem), debugfs
28 (used to examine the internal structure of a filesystem, to manually
29 repair a corrupted filesystem or to create test cases for e2fsck),
30 tune2fs (used to modify filesystem parameters) and most of the other
31 core ext2fs filesystem utilities.
32
33 %description -l de
34 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen
35 und 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
45 nipoprawnym zamkniêciu ststemu), mke2fs (u¿ywany do inicjacji
46 wolumenów ext2), debugfs (¿ywany do sprawdzania wewnêtrznej struktóry
47 wolumenów ext2, a tak¿e do recznego naprawiania b³êdów), tune2fs
48 (u¿ywany do modyfikacji parametrów eolumenów ext2) i kilka innych
49 narzêdzi do ext2.
50
51 %description -l tr
52 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve
53 bazý parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
54
55 %package devel
56 Summary:        e2fs header files
57 Summary(de):    Header-Dateien für eine e2fs
58 Summary(pl):    Pliki nag³ówkowe do bibliotek e2fs
59 Group:          Development/Libraries
60 Group(de):      Entwicklung/Libraries
61 Group(fr):      Development/Librairies
62 Group(pl):      Programowanie/Biblioteki
63 Requires:       %{name} = %{version}
64
65 %description devel
66 E2fsprogs-devel contand header files and documentation needed to
67 develop second extended (ext2) filesystem-specific programs.
68
69 %description -l de devel
70 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
71 Programmen erforderlich sind.
72
73 %description -l pl devel
74 Pliki nag³ówkowe i dokumentacja niezbêdne do tworzenia programów
75 obs³ugukj±cych e2fs.
76
77 %package static
78 Summary:        e2fs static libraries
79 Summary(de):    e2fs statische Libraries
80 Summary(pl):    Biblioteki statyczne do obs³ugi e2fs
81 Group:          Development/Libraries
82 Group(de):      Entwicklung/Libraries
83 Group(fr):      Development/Librairies
84 Group(pl):      Programowanie/Biblioteki
85 Requires:       %{name}-devel = %{version}
86
87 %description static
88 Static libraries files needed to develop ext2 filesystem-specific
89 programs statically linked with e2progs libs.
90
91 %description -l de static
92 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
93 erforderlich sind.
94
95 %description -l pl static
96 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów
97 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
98
99 %prep
100 %setup  -q
101 %patch0 -p1
102 %patch1 -p1
103 gunzip < %{SOURCE1} > doc/e2compr.texinfo
104
105 %build
106 autoconf
107 %configure \
108         --with-root-prefix=/ \
109         --enable-nls \
110         --enable-elf-shlibs \
111         --enable-compression \
112         %{?bcond_off_static:--enable-dynamic-e2fsck} \
113         --enable-fsck
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 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
129 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
130 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
131
132
133 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
134
135 %post   
136 /sbin/ldconfig
137 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
138
139 %postun 
140 /sbin/ldconfig
141 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
142
143 %post  devel
144 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
145
146 %postun devel
147 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
148
149 %clean
150 rm -rf $RPM_BUILD_ROOT
151
152 %files
153 %defattr(644,root,root,755)
154 %attr(755,root,root) /sbin/*
155 %attr(755,root,root) %{_sbindir}/*
156 %attr(755,root,root) %{_bindir}/*
157 %attr(755,root,root) /lib/lib*.so.*
158 %{_mandir}/man[18]/*
159 %{_datadir}/et
160 %{_datadir}/ss
161 %{_infodir}/e2compr.info*
162
163 %files devel
164 %defattr(644,root,root,755)
165 %doc README RELEASE-NOTES
166
167 %{_infodir}/libext2fs.info*
168 %{_mandir}/man3/*
169 %{_includedir}/*
170
171 %attr(755,root,root) %{_libdir}/lib*.so
172
173 %files static
174 %defattr(644,root,root,755)
175 %{_libdir}/lib*.a
This page took 0.041018 seconds and 4 git commands to generate.