source: projects/specs/trunk/e/e2fsprogs/e2fsprogs-vl.spec @ 12286

Revision 12286, 17.2 KB checked in by tomop, 5 years ago (diff)

updated 10 packages

Field3D-1.7.2-2

ImageMagick?-6.9.10.69-1

OpenColorIO-1.1.1-1

OpenEXR-2.4.0-1

OpenImageIO-2.0.11-1

babl-0.1.72-1

e2fsprogs-1.45.4-1

elfutils-0.177-1

gegl04-0.4.16-1

python3-3.5.7-5

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2%define _root_sbindir   /sbin
3%define _root_libdir    /%{_lib}
4
5Summary:        Utilities for managing ext2/3/4 filesystem.
6Summary(ja):    ext2/3/4 ファイルシステム操作ユーティリティ
7Name:           e2fsprogs
8Version:        1.45.4
9Release:        1%{?_dist_release}
10License:        GPL
11Group:          System Environment/Base
12
13Vendor:         Project Vine
14Distribution:   Vine Linux
15
16Url:            http://e2fsprogs.sourceforge.net/
17Source0:        https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.45.4/%{name}-%{version}.tar.xz
18Source1:        ext2_types-wrapper.h
19
20Patch2:         e2fsprogs-1.40.4-sb_feature_check_ignore.patch
21
22BuildRoot:      %{_tmppath}/%{name}-%{version}-root
23
24BuildRequires: gettext, texinfo
25BuildRequires: pkgconfig, device-mapper-devel, gawk
26BuildRequires: libblkid-devel
27BuildRequires: libuuid-devel
28
29Requires(post): /sbin/install-info
30Requires(postun): /sbin/install-info
31Requires(post): chkconfig
32Requires(pre): shadow-utils
33
34%description
35The e2fsprogs package contains a number of utilities for creating,
36checking, modifying, and correcting any inconsistencies in ext2/3/4
37filesystems. E2fsprogs contains e2fsck (used to repair filesystem
38inconsistencies after an unclean shutdown), mke2fs (used to
39initialize a partition to contain an empty ext2/3/4 filesystem),
40debugfs (used to examine the internal structure of a filesystem, to
41manually repair a corrupted filesystem, or to create test cases for
42e2fsck), tune2fs (used to modify filesystem parameters), and most of
43the other core ext2fs filesystem utilities.
44
45You should install the e2fsprogs package if you need to manage the
46performance of an ext2/3/4 filesystem.
47
48%description -l ja
49e2fsprogs パッケージには,ファイルシステムの作成/チェック/変更/修正など,
50ext2/3/4 ファイルシステムに対する様々な操作を行うユーティリティが収めら
51れています.e2fsck(正しくアンマウントされずにシャットダウンされた等して
52破損したファイルシステムの不整合を修正する),mke2fs (パーティションを初
53期化してまっさらの ext2 ファイルシステムを作成する),debugfs(ファイルシ
54ステムの内部構造を直接参照して破損したファイルシステムを手で直したり
55e2fsck のテストケースを作りだしたりするのに使う),tune2fs(ファイルシス
56テムのパラメータを修正するのに使う)等,その他 ext2 ファイルシステム用基
57本ユーティリティが収められています.
58
59ext2/3/4 ファイルシステムのパフォーマンスをきちんと把握しておく為にも
60e2fsprogs パッケージを是非インストールしておきましょう.
61
62
63%package devel
64Summary:     Ext2/3/4 filesystem-specific static libraries and headers.
65Summary(ja): ext2/3/4 ファイルシステム特有のライブラリとヘッダ
66Group:       Development/Libraries
67Requires:    e2fsprogs = %{version}
68Requires(post): install-info
69
70
71%description devel
72E2fsprogs-devel contains the libraries and header files needed to
73develop ext2/3/4 filesystem-specific programs.
74
75%description devel -l ja
76e2fsprogs-devel には ext2/3/4 ファイルシステム固有のプログラムを開発する
77のに必要なライブラリとヘッダファイルが収められています.
78
79
80
81## to build compat32 for x86_64 architecture support
82%package -n compat32-%{name}
83Summary:     Utilities for managing ext2/3/4 filesystem.
84Group:       System Environment/Base
85%description -n compat32-%{name}
86The e2fsprogs package contains a number of utilities for creating,
87checking, modifying, and correcting any inconsistencies in ext2/3/4
88filesystems. E2fsprogs contains e2fsck (used to repair filesystem
89inconsistencies after an unclean shutdown), mke2fs (used to initialize
90a partition to contain an empty ext2 filesystem), debugfs (used to
91examine the internal structure of a filesystem, to manually repair
92a corrupted filesystem, or to create test cases for e2fsck),
93tune2fs (used to modify filesystem parameters), and most of the
94other core ext2fs filesystem utilities.
95
96You should install the e2fsprogs package if you need to manage the
97performance of an ext2/3/4 filesystem.
98
99%package -n compat32-%{name}-devel
100Summary:     Ext2/3/4 filesystem-specific static libraries and headers.
101Group:       Development/Libraries
102Requires:    compat32-%{name} = %{version}
103%description -n compat32-%{name}-devel
104E2fsprogs-devel contains the libraries and header files needed to
105develop second extended (ext2) filesystem-specific programs.
106
107You should install e2fsprogs-devel if you want to develop ext2
108filesystem-specific programs. If you install e2fsprogs-devel, you'll
109also want to install e2fsprogs.
110
111
112%prep
113%setup -q -n e2fsprogs-%{version}
114
115# ignore some flag differences on primary/backup sb feature checks
116# mildly unsafe but 'til I get something better, avoid full fsck
117# after an selinux install...
118%patch2 -p1 -b .featurecheck
119
120%build
121%configure --enable-elf-shlibs --enable-nls --disable-uuidd --disable-fsck \
122           --disable-e2initrd-helper --disable-libblkid --disable-libuuid \
123           --enable-quota
124make %{?_smp_mflags}
125
126
127%install
128rm -rf $RPM_BUILD_ROOT
129export PATH=/sbin:$PATH
130
131make install install-libs DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" \
132        root_sbindir=%{_root_sbindir} root_libdir=%{_root_libdir}
133
134chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a
135
136%ifarch %{multilib_arches}
137mv -f %{buildroot}%{_includedir}/ext2fs/ext2_types.h \
138      %{buildroot}%{_includedir}/ext2fs/ext2_types-%{_arch}.h
139install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/ext2fs/ext2_types.h
140%endif
141
142%find_lang %{name}
143
144
145%clean
146rm -rf $RPM_BUILD_ROOT
147
148%post -p /sbin/ldconfig
149%postun -p /sbin/ldconfig
150
151%post devel
152/sbin/install-info %{_infodir}/libext2fs.info.gz %{_infodir}/dir || :
153
154%preun devel
155if [ $1 = 0 ]; then
156   /sbin/install-info --delete %{_infodir}/libext2fs.info.gz %{_infodir}/dir || :
157fi
158exit 0
159
160%post -n compat32-%{name} -p /sbin/ldconfig
161%postun -n compat32-%{name} -p /sbin/ldconfig
162
163
164%files -f %{name}.lang
165%defattr(-,root,root)
166%doc README RELEASE-NOTES
167%config(noreplace) %{_sysconfdir}/e2scrub.conf
168%config(noreplace) %{_sysconfdir}/mke2fs.conf
169
170%{_root_sbindir}/badblocks
171%{_root_sbindir}/debugfs
172%{_root_sbindir}/dumpe2fs
173%{_root_sbindir}/e2fsck
174%{_root_sbindir}/e2image
175%{_root_sbindir}/e2label
176%{_root_sbindir}/e2mmpstatus
177%{_root_sbindir}/e2scrub
178%{_root_sbindir}/e2scrub_all
179%{_root_sbindir}/e2undo
180%{_root_sbindir}/fsck.ext2
181%{_root_sbindir}/fsck.ext3
182%{_root_sbindir}/fsck.ext4
183%{_root_sbindir}/logsave
184%{_root_sbindir}/mke2fs
185%{_root_sbindir}/mkfs.ext2
186%{_root_sbindir}/mkfs.ext3
187%{_root_sbindir}/mkfs.ext4
188%{_root_sbindir}/resize2fs
189%{_root_sbindir}/tune2fs
190%{_sbindir}/filefrag
191%{_sbindir}/e2freefrag
192%{_sbindir}/e4crypt
193%{_sbindir}/e4defrag
194%{_sbindir}/mklost+found
195
196%{_root_libdir}/libcom_err.so.*
197%{_root_libdir}/libe2p.so.*
198%{_root_libdir}/libext2fs.so.*
199%{_root_libdir}/libss.so.*
200
201%{_bindir}/chattr
202%{_bindir}/lsattr
203
204%{_mandir}/man1/chattr.1*
205%{_mandir}/man1/lsattr.1*
206
207%{_mandir}/man5/e2fsck.conf.5*
208%{_mandir}/man5/ext2.5.gz
209%{_mandir}/man5/ext3.5.gz
210%{_mandir}/man5/ext4.5.gz
211%{_mandir}/man5/mke2fs.conf.5*
212
213%{_mandir}/man8/badblocks.8*
214%{_mandir}/man8/debugfs.8*
215%{_mandir}/man8/dumpe2fs.8*
216%{_mandir}/man8/e2fsck.8*
217%{_mandir}/man8/e2undo.8*
218%{_mandir}/man8/filefrag.8*
219%{_mandir}/man8/e2freefrag.8*
220%{_mandir}/man8/fsck.ext2.8*
221%{_mandir}/man8/fsck.ext3.8*
222%{_mandir}/man8/fsck.ext4.8*
223%{_mandir}/man8/e2image.8*
224%{_mandir}/man8/e2label.8*
225%{_mandir}/man8/e2mmpstatus.8.gz
226%{_mandir}/man8/e2scrub.8.gz
227%{_mandir}/man8/e2scrub_all.8.gz
228%{_mandir}/man8/e4crypt.8.gz
229%{_mandir}/man8/e4defrag.8*
230%{_mandir}/man8/logsave.8*
231%{_mandir}/man8/mke2fs.8*
232%{_mandir}/man8/mkfs.ext2.8*
233%{_mandir}/man8/mkfs.ext3.8*
234%{_mandir}/man8/mkfs.ext4.8*
235%{_mandir}/man8/mklost+found.8*
236%{_mandir}/man8/resize2fs.8*
237%{_mandir}/man8/tune2fs.8*
238     
239
240%files devel
241%defattr(-,root,root)
242%{_infodir}/libext2fs.info*
243%{_bindir}/compile_et
244%{_bindir}/mk_cmds
245
246%{_libdir}/libcom_err.a
247%{_libdir}/libcom_err.so
248%{_libdir}/libe2p.a
249%{_libdir}/libe2p.so
250%{_libdir}/libext2fs.a
251%{_libdir}/libext2fs.so
252%{_libdir}/libss.a
253%{_libdir}/libss.so
254%{_libdir}/pkgconfig/*.pc
255
256%{_datadir}/et
257%{_datadir}/ss
258%{_includedir}/e2p
259%{_includedir}/et
260%{_includedir}/com_err.h
261%{_includedir}/ext2fs
262%{_includedir}/ss
263%{_mandir}/man1/compile_et.1*
264%{_mandir}/man1/mk_cmds.1*
265%{_mandir}/man3/com_err.3*
266
267
268%if %{build_compat32}
269%files -n compat32-%{name}
270%defattr(-,root,root)
271%{_root_libdir}/libcom_err.so.*
272%{_root_libdir}/libe2p.so.*
273%{_root_libdir}/libext2fs.so.*
274%{_root_libdir}/libss.so.*
275
276%files -n compat32-%{name}-devel
277%defattr(-,root,root)
278%{_libdir}/libcom_err.so
279%{_libdir}/libe2p.so
280%{_libdir}/libext2fs.so
281%{_libdir}/libss.so
282#{_libdir}/pkgconfig/*.pc
283%endif
284
285
286%changelog
287* Fri Oct 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.45.4-1
288- new upstream release.
289
290* Wed Jul 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.42.11-1
291- new upstream release
292- remove static lib and pkgconfig file from compat32-e2fsprogs-devel
293
294* Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.42.6-1
295- new upstream reelase
296
297* Thu Jan 12 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.42-1
298- new upstram release
299
300* Wed Mar 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.41.14-1
301- new upstream release
302
303* Fri Oct 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.41.10-2
304- rebuilt with rpm-4.8.1 for pkg-config
305
306* Sun Feb 21 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.41.10-1
307- new upstream release
308
309* Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.41.9-1
310- new upstream release
311- disable libuuid/uuidd/libblkid/fsck (replaced by util-linux-ng)
312
313* Thu Jan 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.41.4-1
314- new upstream release
315
316* Sat Jan 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.41.3-2
317- add Requires(pre): shadow-utils
318- add Requires(post): chkconfig
319
320* Tue Oct 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.41.3-1
321- new upstream release
322
323* Wed Sep 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.41.1-1
324- new upstream release
325- drop patch5 (merged in upstream)
326
327* Sun Aug 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.41.0-1
328- new upstream release
329- drop patch4 (included in upstream)
330- add e2undo and some ext4 related files in %%files section
331- add patch5 to fix "mount -l" segmentation fault
332
333* Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.40.10-1
334- new upstream release
335
336* Mon Apr 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.40.9-1
337- new upstream release
338
339* Fri Apr 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.40.8-1
340- new upstream release
341- drop unneeded patches
342- update fedora patches
343
344* Sat Dec 22 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.40.2-0vl3
345- removed %%if !%%{build_compat32} case condition
346
347* Mon Dec 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.40.2-0vl2
348- add Patch100 for CVE-2007-5497 (see also <BTS:316>)
349
350* Sun Dec 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.40.2-0vl1
351- new upstream release
352- import fedora patches
353- drop ext2resize(ext2online), online resize is now supported by resize2fs
354
355* Thu Mar 09 2006 Shu KONNO <owa@bg.wakwak.com> 1.38-2vl2
356- rebuilt for x86_64 architecture support
357- added compat32-* packages for x86_64
358
359* Sun Dec 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.38-2vl1
360- new upstream release based on Fedora package
361  * Thu Nov 10 2005 Thomas Woerner <twoerner@redhat.com> 1.38-2.1
362  - fixed file conflicts between 32bit and 64bit packages (#168815)
363  - fixed mklost+found crashes with buffer overflow (#157773)
364    Thanks to Arjan van de Ven for the patch
365  * Thu Sep  8 2005 Thomas Woerner <twoerner@redhat.com> 1.38-1
366  - Close File descriptor for unregognized devices (#159878)
367    Thanks to David Milburn for the patch.
368    Merged from RHEL-4
369  - enable tune2fs to set and clear feature resize_inode (#167816)
370  - removed outdated information from ext2online man page (#164383)
371  * Mon Sep  5 2005 Karel Zak <kzak@redhat.com> - 1.37-5
372  - fix swsuspend partition detection (#165863)
373  - fix revalidate from ext2 to ext3 (#162927)
374  - fix vfat without magic detection (#161873)
375  * Wed Sep  1 2004 Stephen C. Tweedie <sct@redhat.com> 1.35-9.4
376  - Build and package ext2online during the e2fsprogs build
377
378* Fri Jun 25 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.35-0vl2
379- import Patch7 from fedora package to fix 'check after next mount'
380  for filesystems with maximum mount count -1
381
382* Sun Apr 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.35-0vl1
383- new upstream release
384
385* Mon Nov 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.34-0vl1
386- new upstream release
387
388* Sat May 24 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.33-2vl1
389- syncd with rawhide
390
391* Wed Nov 13 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.32-0vl1
392- new upstream release
393
394* Sun Sep 29 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.29-0vl1
395- new upstream release 1.29
396
397* Tue Mar 12 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.27-0vl1
398- updated to new upstream bugfix release 1.27
399  (the fix associated with Patch10 has been merged)
400- added missing man pages
401
402* Tue Mar 05 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.26-0vl2
403- added Patch10 (upstream fix)
404
405* Thu Feb 14 2002 Toru Sagami <sagami@vinelinux.org> 1.26-0vl1
406- updated to current release 1.26 with minor spec fixes
407
408* Sun Oct 28 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.25-0vl1
409- updated to newest 1.25 release
410
411* Fri Aug 31 2001 Toru Sagami <sagami@vinelinux.org>
412- 1.24-0vl1: updated to 1.24
413
414* Thu Aug 16 2001 <sagami@vinelinux.org>
415- 1.23-0vl1: updated to 1.23 and added e2image files
416
417* Fri Jul 13 2001 <sagami@vinelinux.org>
418- 1.22-0vl1: updated to 1.22
419
420* Sun Jun 17 2001 <sagami@vinelinux.org>
421- 1.21-0vl1: updated to 1.21
422
423* Sun Jun 10 2001 <sagami@vinelinux.org>
424- 1.20-0vl1: updated to 1.20
425
426* Sat May 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
427- 1.19-4vl2
428- added Japanese summary and description
429- revamp spec file
430
431* Wed May 09 2001 <sagami@vinelinux.org>
432- 1.19-4vl1: in sync with RH 1.19-4
433  * added some documant entries in %doc
434
435* Fri Apr 06 2001 Florian La Roche <Florian.LaRoche@redhat.de>
436- add further IDE and SCSI disks to a hardcoded list in fsck #34190
437
438* Tue Feb 27 2001 Florian La Roche <Florian.LaRoche@redhat.de>
439- require the main rpm from the devel rpm
440
441* Thu Feb 22 2001 Helge Deller <hdeller@redhat.de>
442- fix fsck -A bug (#21242)
443
444* Mon Feb 12 2001 Florian La Roche <Florian.LaRoche@redhat.de>
445- fix bug with 16 byte long labels #27071
446
447* Mon Sep 11 2000 Jeff Johnson <jbj@redhat.com>
448- build for Red Hat 7.1.
449
450* Tue Aug  8 2000 Jeff Johnson <jbj@redhat.com>
451- merge LABEL patch.
452- update to 1.19.
453
454* Tue Jul 25 2000 Erik Troan <ewt@redhat.com>
455- fixed LABEL handling
456
457* Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com>
458- rebuild to cope with glibc locale binary incompatibility
459
460* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
461- automatic rebuild
462
463* Mon Jun 26 2000 Matt Wilson <msw@redhat.com>
464- added resize2fs from the WIP snapshot
465
466* Thu Jun 15 2000 Matt Wilson <msw@redhat.com>
467- patched to build against linux 2.4 headers
468
469* Mon Jun  5 2000 Jeff Johnson <jbj@redhat.com>
470- FHS packaging.
471
472* Fri Apr 28 2000 Bill Nottingham <notting@redhat.com>
473- fix for ia64
474
475* Sat Feb  5 2000 Bill Nottingham <notting@redhat.com>
476- add install-info scripts
477
478* Thu Feb 03 2000 Elliot Lee <sopwith@redhat.com>
479- Fix bug #8585 (Y2K problems in debugfs)
480
481* Wed Feb 02 2000 Jakub Jelinek <jakub@redhat.com>
482- allow multiline errors in et, so that other programs
483  can use compile_et (from Kerberos)
484
485* Thu Jan 13 2000 Jeff Johnson <jbj@redhat.com>
486- build 1.18 for 6.2.
487
488* Tue Oct 26 1999 Bill Nottingham <notting@redhat.com>
489- update to 1.17
490
491* Mon Oct 25 1999 Bill Nottingham <notting@redhat.com>
492- update to 1.16
493
494* Thu Oct 21 1999 Bill Nottingham <notting@redhat.com>
495- add patch to fix SIGUSR1 kills.
496
497* Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
498- rebuild against new glibc in the sparc tree
499
500* Thu Sep 23 1999 Jakub Jelinek <jakub@redhat.com>
501- update mke2fs man page so that it reflects changes in mke2fs
502  netweem 1.14 and 1.15
503
504* Thu Aug  5 1999 Bill Nottingham <notting@redhat.com>
505- fix lsattr on alpha
506
507* Thu Jul 29 1999 Jeff Johnson <jbj@redhat.com>
508- update to 1.15.
509
510* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
511- auto rebuild in the new build environment (release 4)
512
513* Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com>
514- fix fsck segfault
515
516* Tue Feb  2 1999 Jeff Johnson <jbj@redhat.com>
517- update to 1.14
518- use %configure to generate config.sub on arm
519
520* Thu Jan 14 1999 Jeff Johnson <jbj@redhat.com>
521- fix /usr/bin/compile_et and doco for com_err.h (#673)
522
523* Thu Jan 07 1999 Cristian Gafton <gafton@redhat.com>
524- build with prefix=/usr
525- add arm patch
526
527* Mon Dec 28 1998 Jeff Johnson  <jbj@redhat.com>
528- update to 1.13.
529
530* Fri Aug 28 1998 Jeff Johnson <jbj@redhat.com>
531- recompile statically linked binary for 5.2/sparc
532
533* Mon Jul 13 1998 Jeff Johnson <jbj@redhat.com>
534- upgrade to 1.12.
535
536* Thu May 07 1998 Prospector System <bugs@redhat.com>
537- translations modified for de, fr, tr
538
539* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
540- include <asm/types.h> to match kernel types in utils
541
542* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
543- spec file cleanups
544
545* Wed Oct 01 1997 Erik Troan <ewt@redhat.com>
546- fixed broken llseek() prototype
547
548* Wed Aug 20 1997 Erik Troan <ewt@redhat.com>
549- added patch to prototype llseek
550
551* Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
552- built against glibc
Note: See TracBrowser for help on using the repository browser.