]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- updated to 1.17.
[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:        1
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 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, checking,
19 modifying and correcting any inconsistencies in second extended (ext2)
20 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 the
23 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 
30 und 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
80 programs statically linked with e2progs libs.
81
82 %description -l de static
83 Libraries zur Entwicklung von ext2-Dateisystemspezifischen
84 Programmen 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
101 make libs progs docs
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105 export PATH=/sbin:$PATH
106
107 make install DESTDIR=$RPM_BUILD_ROOT
108 make install-libs DESTDIR=$RPM_BUILD_ROOT
109
110 install -d $RPM_BUILD_ROOT%{_mandir}
111 mv $RPM_BUILD_ROOT/usr/man/man{1,8} $RPM_BUILD_ROOT%{_mandir}
112
113 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.*.*
114
115 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,8}/* README RELEASE-NOTES
116
117 %post   -p /sbin/ldconfig
118 %postun -p /sbin/ldconfig
119
120 %post  devel
121 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
122
123 %postun devel
124 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
125
126 %clean
127 rm -rf $RPM_BUILD_ROOT
128
129 %files
130 %defattr(755,root,root,755)
131 /sbin/*
132 %{_sbindir}/*
133 %{_bindir}/*
134 /lib/lib*.so.*
135 %attr(644,root,root) %{_mandir}/man[18]/*
136
137 %files devel
138 %defattr(644,root,root,755)
139 %doc {README,RELEASE-NOTES}.gz
140
141 %{_infodir}/libext2fs.info*
142 %{_includedir}/*
143
144 %attr(755,root,root) %{_libdir}/lib*.so
145
146 %files static
147 %defattr(644,root,root,755)
148 %{_libdir}/lib*.a
This page took 0.095089 seconds and 4 git commands to generate.