]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- release 2,
[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.18
8 Release:        2
9 License:        GPL
10 Group:          Utilities/System
11 Group(pl):      Narzêdzia/System
12 Source:         http://web.mit.edu/tytso/www/linux/dist/%{name}-%{version}.tar.gz
13 Patch0:         e2fsprogs-info.patch
14 URL:            http://web.mit.edu/tytso/www/linux/e2fsprogs.html
15 Buildroot:      /tmp/%{name}-%{version}-root
16
17 %description
18 The e2fsprogs package contains a number of utilities for creating,
19 checking, modifying and correcting any inconsistencies in second extended
20 (ext2) filesystems. E2fsprogs contains e2fsck (used to repair filesystem
21 inconsistencies after an unclean shutdown), mke2fs (used to initialize a
22 partition to contain an empty ext2 filesystem), debugfs (used to examine
23 the internal structure of a filesystem, to manually repair a corrupted
24 filesystem or to create test cases for e2fsck), tune2fs (used to modify
25 filesystem parameters) and most of the other core ext2fs filesystem
26 utilities.
27
28 %description -l de
29 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen  und
30 zur Instandsetzung von ext2-Dateisystemen.
31
32 %description -l fr
33 Ce package contient de nombreux utilitaires pour créer, vérifier, et
34 réparer les systèmes de fichiers ext2.
35
36 %description -l pl
37 Pakiet ten zawiera narzêdzia do tworzenia, sprawdzania i naprawiania
38 wolumenów dyskowych z systemem plikowym ext2. E2fsprogs zawiera e2fsck
39 (u¿ywany do naprawiania niespójno¶ci w systemie plikowym po nipoprawnym
40 zamkniêciu ststemu), mke2fs (u¿ywany do inicjacji wolumenów ext2), debugfs
41 (¿ywany do sprawdzania wewnêtrznej struktóry wolumenów ext2, a tak¿e do
42 recznego naprawiania b³êdów), tune2fs (u¿ywany do modyfikacji parametrów
43 eolumenów ext2) i kilka innych narzêdzi do ext2.
44
45 %description -l tr
46 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve bazý
47 parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
48
49 %package devel
50 Summary:        e2fs header files
51 Summary(de):    Header-Dateien für eine e2fs
52 Summary(pl):    Pliki nag³ówkowe do bibliotek e2fs
53 Group:          Development/Libraries
54 Group(pl):      Programowanie/Biblioteki
55 Prereq:         /usr/sbin/fix-info-dir
56 Requires:       %{name} = %{version}
57
58 %description devel
59 E2fsprogs-devel contand header files and documentation needed to develop
60 second extended (ext2) filesystem-specific programs.
61
62 %description -l de devel
63 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
64 Programmen erforderlich sind.
65
66 %description -l pl devel
67 Pliki nag³ówkowe i dokumentacja niezbêdne do tworzenia programów
68 obs³ugukj±cych e2fs.
69
70 %package static
71 Summary:        e2fs static libraries
72 Summary(de):    e2fs statische Libraries
73 Summary(pl):    Biblioteki statyczne do obs³ugi e2fs
74 Group:          Development/Libraries
75 Group(pl):      Programowanie/Biblioteki
76 Requires:       %{name}-devel = %{version}
77
78 %description static
79 Static libraries files needed to develop ext2 filesystem-specific programs
80 statically linked with e2progs libs.
81
82 %description -l de static
83 Libraries zur Entwicklung von ext2-Dateisystemspezifischen Programmen
84 erforderlich sind.
85
86 %description -l pl static
87 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów
88 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
89
90 %prep
91 %setup  -q
92 %patch0 -p1
93
94 %build
95 CFLAGS="$RPM_OPT_FLAGS" \
96 ./configure %{_target_platform} \
97         --enable-elf-shlibs \
98         --with-ldopts="-s" \
99         --infodir=%{_infodir} \
100         --mandir=%{_mandir}
101
102 make libs progs docs
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
106 export PATH=/sbin:$PATH
107
108 make install DESTDIR=$RPM_BUILD_ROOT
109 make install-libs DESTDIR=$RPM_BUILD_ROOT
110
111 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.*.*
112
113 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
114 ln -sf mke2fs $RPM_BUILD_ROOT/sbin/mkfs.ext2
115
116 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,8}/* README RELEASE-NOTES
117
118 %post   -p /sbin/ldconfig
119 %postun -p /sbin/ldconfig
120
121 %post  devel
122 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
123
124 %postun devel
125 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
126
127 %clean
128 rm -rf $RPM_BUILD_ROOT
129
130 %files
131 %defattr(755,root,root,755)
132 /sbin/*
133 %{_sbindir}/*
134 %{_bindir}/*
135 /lib/lib*.so.*
136 %attr(644,root,root) %{_mandir}/man[18]/*
137
138 %files devel
139 %defattr(644,root,root,755)
140 %doc {README,RELEASE-NOTES}.gz
141
142 %{_infodir}/libext2fs.info*
143 %{_includedir}/*
144
145 %attr(755,root,root) %{_libdir}/lib*.so
146
147 %files static
148 %defattr(644,root,root,755)
149 %{_libdir}/lib*.a
This page took 0.087494 seconds and 4 git commands to generate.