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