]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- updated non-english-man-pages (ja,pl); release 2
[packages/e2fsprogs.git] / e2fsprogs.spec
1 # conditional build
2 # --without nls
3 # --with allstatic
4
5 Summary:        Tools for the second extended (ext2) filesystem
6 Summary(de):    Tools für das zweite erweiterte (ext2) Dateisystem
7 Summary(es):    Herramientas para el sistema de archivos ext2
8 Summary(fr):    Outils pour le système de fichiers ext2
9 Summary(pl):    Narzêdzia do systemu plikowego ext2
10 Summary(pt_BR): Ferramentas para o sistema de arquivos ext2
11 Summary(ru):    õÔÉÌÉÔÙ ÄÌÑ ÒÁÂÏÔÙ Ó ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ ext2
12 Summary(tr):    ext2 dosya sistemi için araçlar
13 Summary(uk):    õÔÉ̦ÔÉ ÄÌÑ ÒÏÂÏÔÉ Ú ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ ext2
14 Name:           e2fsprogs
15 Version:        1.27
16 Release:        2
17 License:        GPL
18 Group:          Applications/System
19 Source0:        ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/%{name}-%{version}.tar.gz
20 Source1:        http://opensource.captech.com/e2compr/ftp/e2compr-0.4.texinfo.gz
21 Source2:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
22 Patch0:         %{name}-info.patch
23 Patch1:         e2compr-info.patch
24 Patch2:         %{name}-mountlabel3.patch
25 URL:            http://e2fsprogs.sourceforge.net/
26 PreReq:         /sbin/ldconfig
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 BuildRequires:  automake
29 BuildRequires:  autoconf
30 BuildRequires:  gettext-devel
31 BuildRequires:  texinfo
32 Obsoletes:      libext2fs2
33
34 %description
35 The e2fsprogs package contains a number of utilities for creating,
36 checking, modifying and correcting any inconsistencies in second
37 extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair
38 filesystem inconsistencies after an unclean shutdown), mke2fs (used to
39 initialize a partition to contain an empty ext2 filesystem), debugfs
40 (used to examine the internal structure of a filesystem, to manually
41 repair a corrupted filesystem or to create test cases for e2fsck),
42 tune2fs (used to modify filesystem parameters) and most of the other
43 core ext2fs filesystem utilities.
44
45 %description -l de
46 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen
47 und zur Instandsetzung von ext2-Dateisystemen.
48
49 %description -l es
50 Este paquete incluye varios utilitarios para creación, chequeo y
51 arreglo de sistema de archivos ext2.
52
53 %description -l fr
54 Ce package contient de nombreux utilitaires pour créer, vérifier, et
55 réparer les systèmes de fichiers ext2.
56
57 %description -l pl
58 Pakiet ten zawiera narzêdzia do tworzenia, sprawdzania i naprawiania
59 wolumenów dyskowych z systemem plikowym ext2. E2fsprogs zawiera e2fsck
60 (u¿ywany do naprawiania niespójno¶ci w systemie plikowym po
61 niepoprawnym zamkniêciu systemu), mke2fs (u¿ywany do inicjacji
62 wolumenów ext2), debugfs (¿ywany do sprawdzania wewnêtrznej struktury
63 wolumenów ext2, a tak¿e do rêcznego naprawiania b³êdów), tune2fs
64 (u¿ywany do modyfikacji parametrów wolumenów ext2) i kilka innych
65 narzêdzi do ext2.
66
67 %description -l pt_BR
68 Este pacote inclui vários utilitários para criação, checagem e reparo
69 de sistema de arquivos ext2.
70
71 %description -l ru
72 ðÁËÅÔ e2fsprogs ÓÏÄÅÒÖÉÔ ÎÁÂÏÒ ÕÔÉÌÉÔ ÄÌÑ ÓÏÚÄÁÎÉÑ, ÐÒÏ×ÅÒËÉ,
73 ÍÏÄÉÆÉËÁÃÉÉ É ÕÓÔÒÁÎÅÎÉÑ ÌÀÂÙÈ ÏÛÉÂÏË × ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÅ ext2.
74 E2fsprogs ÓÏÄÅÒÖÉÔ e2fsck (ÉÓÐÏÌØÚÕÅÍÕÀ ÄÌÑ ÉÓÐÒÁ×ÌÅÎÉÑ ÏÛÉÂÏË ÐÏÓÌÅ
75 "ÇÒÑÚÎÏÇÏ" ÏÓÔÁÎÏ×Á ÍÁÛÉÎÙ), mke2fs (ÄÌÑ ÉÎÉÃÉÁÌÉÚÁÃÉÉ ÒÁÚÄÅÌÁ É
76 ÓÏÚÄÁÎÉÑ ÐÕÓÔÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÙ ext2), debugfs (ÄÌÑ ÉÚÕÞÅÎÉÑ
77 ×ÎÕÔÒÅÎÎÅÊ ÓÔÒÕËÔÕÒÙ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÙ, ÒÕÞÎÏÇÏ ÒÅÍÏÎÔÁ ÐÏ×ÒÅÖÄÅÎÎÏÊ
78 ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÙ ÉÌÉ ÄÌÑ ÓÏÚÄÁÎÉÑ ÔÅÓÔÏ× ÄÌÑ e2fsck), tune2fs (ÄÌÑ
79 ÍÏÄÉÆÉËÁÃÉÉ ÐÁÒÁÍÅÔÒÏ× ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÙ) É ÂÏÌØÛÉÎÓÔ×Ï ÏÓÔÁÌØÎÙÈ
80 ÏÓÎÏ×ÎÙÈ ÕÔÉÌÉÔ ÄÌÑ ext2fs.
81
82 %description -l tr
83 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve
84 bazý parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
85
86 %description -l uk
87 ðÁËÅÔ e2fsprogs Í¦ÓÔÉÔØ ÎÁ¦ҠÕÔÉ̦ԠÄÌÑ ÓÔ×ÏÒÅÎÎÑ, ÐÅÒÅצÒËÉ,
88 ÍÏÄÉƦËÁ槠ÔÁ ×ÉÐÒÁ×ÌÅÎÎÑ ÂÕÄØ-ÑËÉÈ ÐÏÍÉÌÏË Õ ÆÁÊÌÏצʠÓÉÓÔÅͦ ext2.
89 E2fsprogs Í¦ÓÔÉÔØ e2fsck (×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ÄÌÑ ×ÉÐÒÁ×ÌÅÎÎÑ ÐÏÍÉÌÏË
90 ЦÓÌÑ "ÂÒÕÄÎϧ" ÚÕÐÉÎËÉ ÍÁÛÉÎÉ), mke2fs (ÄÌÑ ¦Î¦ÃÉÁ̦ÚÁ槠ÒÏÚĦÌÕ ÔÁ
91 ÓÔ×ÏÒÅÎÎÑ ÐÏÒÏÖÎØϧ ÆÁÊÌÏ×ϧ ÓÉÓÔÅÍÉ ext2), debugfs (ÄÌÑ ×É×ÞÅÎÎÑ
92 ×ÎÕÔÒ¦ÛÎØϧ ÓÔÒÕËÔÕÒÉ ÆÁÊÌÏ×ϧ ÓÉÓÔÅÍÉ, ÒÕÞÎÏÇÏ ÒÅÍÏÎÔÕ ÐÏÛËÏÄÖÅÎϧ
93 ÆÁÊÌÏ×ϧ ÓÉÓÔÅÍÉ ÁÂÏ ÄÌÑ ÓÔ×ÏÒÅÎÎÑ ÔÅÓԦנÄÌÑ e2fsck), tune2fs (ÄÌÑ
94 ÍÏÄÉƦËÁ槠ÐÁÒÁÍÅÔҦנÆÁÊÌÏ×ϧ ÓÉÓÔÅÍÉ) ÔÁ Â¦ÌØÛ¦ÓÔØ ¦ÎÛÉÈ ÂÁÚÏ×ÉÈ
95 ÕÔÉ̦ԠÄÌÑ ext2fs.
96
97 %package devel
98 Summary:        e2fs header files
99 Summary(de):    Header-Dateien für eine e2fs
100 Summary(es):    Bibliotecas estáticas y archivos de inclusión para e2fs
101 Summary(pl):    Pliki nag³ówkowe do bibliotek e2fs
102 Summary(ru):    âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÙ ÄÌÑ ÒÁÂÏÔÙ Ó ext2fs
103 Summary(pt_BR): Bibliotecas estáticas e arquivos de inclusão para e2fs
104 Summary(uk):    â¦Â̦ÏÔËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ ÒÏÂÏÔÉ Ú ext2fs
105 Group:          Development/Libraries
106 Requires:       %{name} = %{version}
107 Obsoletes:      libext2fs2-devel
108
109 %description devel
110 E2fsprogs-devel contains header files and documentation needed to
111 develop second extended (ext2) filesystem-specific programs.
112
113 %description devel -l de
114 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
115 Programmen erforderlich sind.
116
117 %description devel -l es
118 Bibliotecas y archivos de inclusión para desarrollo de programas
119 específicos para sistema de archivo ext2.
120
121 %description devel -l pl
122 Pliki nag³ówkowe i dokumentacja niezbêdne do tworzenia programów
123 obs³uguj±cych e2fs.
124
125 %description devel -l pt_BR
126 Bibliotecas e arquivos de inclusão para desenvolvimento de programas
127 específicos para sistema de arquivo ext2.
128
129 %description devel -l ru
130 E2fsprogs-devel ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÉ É ÈÅÄÅÒÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ
131 ÎÁÐÉÓÁÎÉÑ ÐÒÏÇÒÁÍÍ, ÒÁÂÏÔÁÀÝÉÈ Ó ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ ext2.
132
133 %description devel -l uk
134 E2fsprogs-devel Í¦ÓÔÉÔؠ¦Â̦ÏÔÅËÉ ÔÁ ÈÅÄÅÒÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
135 ÐÒÏÇÒÁÍ, Ñ˦ ÐÒÁÃÀÀÔØ Ú ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ ext2.
136
137 %package static
138 Summary:        e2fs static libraries
139 Summary(de):    e2fs statische Libraries
140 Summary(es):    Bibliotecas estáticas y archivos de inclusión para e2fs
141 Summary(pl):    Biblioteki statyczne do obs³ugi e2fs
142 Summary(pt_BR): Bibliotecas estáticas e arquivos de inclusão para e2fs
143 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍ ÒÁÂÏÔÙ Ó ext2fs
144 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔËÉ ÄÌÑ ÐÒÏÇÒÁÍ ÒÏÂÏÔÉ Ú ext2fs
145 Group:          Development/Libraries
146 Requires:       %{name}-devel = %{version}
147
148 %description static
149 Static libraries files needed to develop ext2 filesystem-specific
150 programs statically linked with e2progs libs.
151
152 %description static -l de
153 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
154 erforderlich sind.
155
156 %description static -l es
157 Bibliotecas y archivos de inclusión para desarrollo de programas
158 específicos para sistema de archivo ext2.
159
160 %description static -l pl
161 Biblioteki statyczne do ob³ugi e2fs niezbêdne do kompilacji programów
162 statycznie skonsolidowanych (linkowanych) z bibliotekami do e2fs.
163
164 %description static -l pt_BR
165 Bibliotecas e arquivos de inclusão para desenvolvimento de programas
166 específicos para sistema de arquivo ext2.
167
168 %description static -l ru
169 E2fsprogs-devel-static ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ
170 ÄÌÑ ÎÁÐÉÓÁÎÉÑ ÐÒÏÇÒÁÍÍ, ÒÁÂÏÔÁÀÝÉÈ Ó ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ ext2.
171
172 %description static -l uk
173 E2fsprogs-devel-static Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ
174 ÎÁÐÉÓÁÎÎÑ ÐÒÏÇÒÁÍ, Ñ˦ ÐÒÁÃÀÀÔØ Ú ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ ext2.
175
176 %prep
177 %setup  -q
178 %patch0 -p1
179 gunzip < %{SOURCE1} > doc/e2compr.texinfo
180 patch -s -p1 < %{PATCH1}
181 %patch2 -p1
182
183 %build
184 chmod u+w configure aclocal.m4
185 gettextize --copy --force
186 aclocal
187 autoconf
188
189 %configure \
190         --with-root-prefix=/ \
191         %{!?_without_nls:--enable-nls} \
192         %{?_without_nls:--disable-nls} \
193         %{?_with_allstatic:--disable-elf-shlibs} \
194         %{!?_with_allstatic:--enable-elf-shlibs} \
195         --enable-compression \
196         %{?_without_static:--enable-dynamic-e2fsck} \
197         --enable-fsck
198
199 %{__make} libs progs docs LDFLAGS="%{rpmldflags}"
200 cd doc
201 makeinfo --no-split e2compr.texinfo
202 cd ..
203
204 %install
205 rm -rf $RPM_BUILD_ROOT
206 export PATH=/sbin:$PATH
207
208 %{__make} install       DESTDIR=$RPM_BUILD_ROOT
209 %{__make} install-libs  DESTDIR=$RPM_BUILD_ROOT
210 %{__make} -C po install DESTDIR=$RPM_BUILD_ROOT
211
212 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
213 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext3
214 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
215
216 install doc/e2compr.info $RPM_BUILD_ROOT%{_infodir}
217
218 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
219
220 %{!?_without_nls:%find_lang %{name}}
221
222 %post
223 /sbin/ldconfig
224 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
225
226 %postun
227 /sbin/ldconfig
228 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
229
230 %post devel
231 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
232
233 %postun devel
234 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
235
236 %clean
237 rm -rf $RPM_BUILD_ROOT
238
239 %files %{!?_without_nls:-f %{name}.lang}
240 %defattr(644,root,root,755)
241 %attr(755,root,root) /sbin/*
242 %attr(755,root,root) %{_sbindir}/*
243 %attr(755,root,root) %{_bindir}/*
244 %{!?_with_allstatic:%attr(755,root,root) /lib/lib*.so.*}
245 %{_mandir}/man[18]/*
246 %lang(fi) %{_mandir}/fi/man[18]/*
247 %lang(fr) %{_mandir}/fr/man[18]/*
248 %lang(hu) %{_mandir}/hu/man[18]/*
249 %lang(it) %{_mandir}/it/man[18]/*
250 %lang(ja) %{_mandir}/ja/man[18]/*
251 %lang(ko) %{_mandir}/ko/man[18]/*
252 %lang(pl) %{_mandir}/pl/man[18]/*
253 %{_datadir}/et
254 %{_datadir}/ss
255 %{_infodir}/e2compr.info*
256
257 %files devel
258 %defattr(644,root,root,755)
259 %doc README RELEASE-NOTES
260
261 %{_infodir}/libext2fs.info*
262 %{_mandir}/man3/*
263 %lang(ja) %{_mandir}/ja/man3/*
264 %{_includedir}/*
265
266 %{!?_with_allstatic:%attr(755,root,root) %{_libdir}/lib*.so}
267
268 %files static
269 %defattr(644,root,root,755)
270 %{_libdir}/lib*.a
This page took 0.052831 seconds and 4 git commands to generate.