]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- removed uclibc stuff
[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.25
8 Release:        4
9 License:        GPL
10 Group:          Applications/System
11 Source0:        ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/%{name}-%{version}.tar.gz
12 Source1:        http://opensource.captech.com/e2compr/ftp/e2compr-0.4.texinfo.gz
13 Source2:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
14 Patch0:         %{name}-info.patch
15 Patch1:         e2compr-info.patch
16 Patch2:         %{name}-mountlabel3.patch
17 URL:            http://e2fsprogs.sourceforge.net/
18 PreReq:         /sbin/ldconfig
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 BuildRequires:  automake
21 BuildRequires:  autoconf
22 BuildRequires:  gettext-devel
23
24 %description
25 The e2fsprogs package contains a number of utilities for creating,
26 checking, modifying and correcting any inconsistencies in second
27 extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair
28 filesystem inconsistencies after an unclean shutdown), mke2fs (used to
29 initialize a partition to contain an empty ext2 filesystem), debugfs
30 (used to examine the internal structure of a filesystem, to manually
31 repair a corrupted filesystem or to create test cases for e2fsck),
32 tune2fs (used to modify filesystem parameters) and most of the other
33 core ext2fs filesystem utilities.
34
35 %description -l de
36 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen
37 und zur Instandsetzung von ext2-Dateisystemen.
38
39 %description -l fr
40 Ce package contient de nombreux utilitaires pour créer, vérifier, et
41 réparer les systèmes de fichiers ext2.
42
43 %description -l pl
44 Pakiet ten zawiera narzêdzia do tworzenia, sprawdzania i naprawiania
45 wolumenów dyskowych z systemem plikowym ext2. E2fsprogs zawiera e2fsck
46 (u¿ywany do naprawiania niespójno¶ci w systemie plikowym po
47 niepoprawnym zamkniêciu systemu), mke2fs (u¿ywany do inicjacji
48 wolumenów ext2), debugfs (¿ywany do sprawdzania wewnêtrznej struktury
49 wolumenów ext2, a tak¿e do rêcznego naprawiania b³êdów), tune2fs
50 (u¿ywany do modyfikacji parametrów wolumenów ext2) i kilka innych
51 narzêdzi do ext2.
52
53 %description -l tr
54 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve
55 bazý parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
56
57 %package devel
58 Summary:        e2fs header files
59 Summary(de):    Header-Dateien für eine e2fs
60 Summary(pl):    Pliki nag³ówkowe do bibliotek e2fs
61 Group:          Development/Libraries
62 Requires:       %{name} = %{version}
63
64 %description devel
65 E2fsprogs-devel contains header files and documentation needed to
66 develop second extended (ext2) filesystem-specific programs.
67
68 %description devel -l de
69 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
70 Programmen erforderlich sind.
71
72 %description devel -l pl
73 Pliki nag³ówkowe i dokumentacja niezbêdne do tworzenia programów
74 obs³uguj±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 Requires:       %{name}-devel = %{version}
82
83 %description static
84 Static libraries files needed to develop ext2 filesystem-specific
85 programs statically linked with e2progs libs.
86
87 %description static -l de
88 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
89 erforderlich sind.
90
91 %description static -l pl
92 Biblioteki statyczne do ob³ugi e2fs niezbêdne do kompilacji programów
93 statycznie skonsolidowanych (linkowanych) z bibliotekami do e2fs.
94
95 %prep
96 %setup  -q
97 %patch0 -p1
98 gunzip < %{SOURCE1} > doc/e2compr.texinfo
99 patch -s -p1 < %{PATCH1}
100 %patch2 -p1
101
102 %build
103 chmod u+w configure aclocal.m4
104 gettextize --copy --force
105 aclocal
106 autoconf
107
108 %configure \
109         --with-root-prefix=/ \
110         --enable-nls \
111         --enable-elf-shlibs \
112         --enable-compression \
113         %{?_without_static:--enable-dynamic-e2fsck} \
114         --enable-fsck
115
116 %{__make} libs progs docs
117 cd doc
118 makeinfo --no-split e2compr.texinfo
119 cd ..
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 %{__make} -C po install DESTDIR=$RPM_BUILD_ROOT
128
129 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
130 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
131 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
132
133 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
134
135 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
136
137 %find_lang %{name}
138
139 %post
140 /sbin/ldconfig
141 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
142
143 %postun
144 /sbin/ldconfig
145 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
146
147 %post devel
148 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
149
150 %postun devel
151 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
152
153 %clean
154 rm -rf $RPM_BUILD_ROOT
155
156 %files -f %{name}.lang
157 %defattr(644,root,root,755)
158 %attr(755,root,root) /sbin/*
159 %attr(755,root,root) %{_sbindir}/*
160 %attr(755,root,root) %{_bindir}/*
161 %attr(755,root,root) /lib/lib*.so.*
162 %{_mandir}/man[18]/*
163 %lang(fi) %{_mandir}/fi/man[18]/*
164 %lang(fr) %{_mandir}/fr/man[18]/*
165 %lang(hu) %{_mandir}/hu/man[18]/*
166 %lang(it) %{_mandir}/it/man[18]/*
167 %lang(ja) %{_mandir}/ja/man[18]/*
168 %lang(ko) %{_mandir}/ko/man[18]/*
169 %lang(pl) %{_mandir}/pl/man[18]/*
170 %{_datadir}/et
171 %{_datadir}/ss
172 %{_infodir}/e2compr.info*
173
174 %files devel
175 %defattr(644,root,root,755)
176 %doc README RELEASE-NOTES
177
178 %{_infodir}/libext2fs.info*
179 %{_mandir}/man3/*
180 %lang(ja) %{_mandir}/ja/man3/*
181 %{_includedir}/*
182
183 %attr(755,root,root) %{_libdir}/lib*.so
184
185 %files static
186 %defattr(644,root,root,755)
187 %{_libdir}/lib*.a
This page took 0.05128 seconds and 4 git commands to generate.