]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- removed patch for kernel 2.3.x.
[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.14
8 Release:        3
9 Copyright:      GPL
10 Group:          Utilities/System
11 Group(pl):      Narzêdzia/System
12 Source:         ftp://tsx-11.mit.edu/pub/linux/packages/ext2fs/%{name}-%{version}.tar.gz
13 Patch0:         e2fsprogs-info.patch
14 Patch1:         e2fsprogs-fsck.patch
15 Patch2:         e2fsprogs-findsuper.patch
16 URL:            http://web.mit.edu/tytso/www/linux/e2fsprogs.html
17 Buildroot:      /tmp/%{name}-%{version}-root
18
19 %description
20 This package includes a number of utilities for creating, checking,
21 and repairing ext2 filesystems.
22
23 %description -l de
24 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen 
25 und zur Instandsetzung von ext2-Dateisystemen.
26
27 %description -l fr
28 Ce package contient de nombreux utilitaires pour créer, vérifier, et
29 réparer les systèmes de fichiers ext2.
30
31 %description -l pl
32 Pakiet ten zawiera narzêdzia do tworzenia, sprawdzania i naprawiania
33 wolumenów dyskowych z systemem plikowym ext2.
34
35 %description -l tr
36 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve bazý
37 parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
38
39 %package devel
40 Summary:        e2fs header files
41 Summary(de):    Header-Dateien für eine e2fs
42 Summary(pl):    Pliki nag³ówkowe do bibliotek e2fs
43 Group:          Development/Libraries
44 Group(pl):      Programowanie/Biblioteki
45 Prereq:         /sbin/install-info
46 Requires:       %{name} = %{version}
47
48 %description devel
49 Header files needed to develop ext2 filesystem-specific programs.
50
51 %description -l de devel
52 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
53 Programmen erforderlich sind.
54
55 %description devel
56 Pliki nag³ówkowe niezbêdne do tworzenia programów obs³ugukj±cych e2fs.
57
58 %package static
59 Summary:        e2fs static libraries
60 Summary(de):    e2fs statische Libraries
61 Summary(pl):    Biblioteki statyczne do obs³ugi e2fs
62 Group:          Development/Libraries
63 Group(pl):      Programowanie/Biblioteki
64 Requires:       %{name}-devel = %{version}
65
66 %description static
67 Static libraries files needed to develop ext2 filesystem-specific
68 programs statically linked with e2progs libs.
69
70 %description -l de static
71 Libraries zur Entwicklung von ext2-Dateisystemspezifischen
72 Programmen erforderlich sind.
73
74 %description -l pl static
75 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów 
76 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
77
78 %prep
79 %setup  -q
80 %patch0 -p1
81 %patch1 -p1
82 %patch2 -p1
83
84 %build
85 CFLAGS="$RPM_OPT_FLAGS" \
86 ./configure %{_target_platform} \
87         --enable-elf-shlibs \
88         --with-ldopts="-s" \
89         --infodir=%{_infodir}
90
91 make libs progs docs
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95 export PATH=/sbin:$PATH
96
97 make install DESTDIR=$RPM_BUILD_ROOT
98 make install-libs DESTDIR=$RPM_BUILD_ROOT
99
100 install -d $RPM_BUILD_ROOT%{_mandir}
101 mv $RPM_BUILD_ROOT/usr/man/man{1,8} $RPM_BUILD_ROOT%{_mandir}
102
103 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.*.*
104
105 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,8}/* README RELEASE-NOTES
106
107 %post   -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
109
110 %post  devel
111 /sbin/install-info %{_infodir}/libext2fs.info.gz /etc/info-dir
112
113 %preun devel
114 if [ "$1" = "0" ]; then
115         /sbin/install-info --delete %{_infodir}/libext2fs.info.gz /etc/info-dir
116 fi
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %files
122 %defattr(755,root,root,755)
123 /sbin/*
124 %{_sbindir}/*
125 %{_bindir}/*
126 /lib/lib*.so.*
127 %attr(644,root,root) %{_mandir}/man[18]/*
128
129 %files devel
130 %defattr(644,root,root,755)
131 %doc {README,RELEASE-NOTES}.gz
132
133 %{_infodir}/libext2fs.info*
134 %{_includedir}/*
135
136 %attr(755,root,root) %{_libdir}/lib*.so
137
138 %files static
139 %defattr(644,root,root,755)
140 %{_libdir}/lib*.a
141
142 %changelog
143 * Fri May 21 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
144   [1.14-3]
145 - some macros in use, 
146 - gzipping %doc,
147 - stripping of shared libs.
148
149 * Mon Apr 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
150   [1.14-2]
151 - fixed coredump fsck when it does not find its argument in
152   /etc/fstab (e2fsprogs-fsck.patch),
153 - added to package findsuper (e2fsprogs-findsuper.patch),
154 - recompiled on new rpm.
155
156 * Fri Mar  5 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
157   [1.14-1]
158 - added URL,
159 - added Group(pl),
160 - removed man group from man pages.
161
162 * Mon Dec 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
163   [1.12-5]
164 - standarized {un}registering info pages (added e2fsprogs-info.patch).
165
166 * Fri Dec 11 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
167   [1.12-4]
168 - added gzipping man pages,
169 - added --with-ldopts="-s" to ./configure parameters,
170 - added e2fsprogs-kernel21.patch which allows compile e2fsprogs on both
171   2.0.x and 2.1.x kernels.
172
173 * Sun Nov 01 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
174   [1.12-2d]
175 - build only static binaries (for emergensy use),  
176 - minor changes.
177
178 * Thu Oct 08 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
179   [1.12-1d]
180 - updated to 1.12,
181 - fixed pl translation.
182
183 * Mon Sep 28 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
184   [1.12-3]
185 - %postun changed to %preun (during uregistering e2progs info pages in 
186   %postun %{_infodir}/history.info.gz don't exist).
187 - removed all patches.
188
189 * Wed Sep 23 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
190   [1.10-7d]
191 - downgraded to 1.10-7d,
192 - translation modified for pl,
193 - added static subpackage,
194 - added %defattr support,
195 - fixed files permissions,
196 - removed at now tr, de, fr trnanslation -> generated SIGSEGV ;(
197 - minor modifications of the spec file.
198
199 * Sat Aug 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
200   [1.10-7]
201 - added -q %setup parameter,
202 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
203 - added using %%{name} and %%{version} in Source,
204 - added static subpackage,
205 - added pl translation,
206 - fixed %post{un},
207 - added "rm -rf $RPM_BUILD_ROOT" on bigin %install,
208 - changed dependencies to "Requires: %%{name} = %%{version}" in devel
209   subpackage,
210 - added stripping shared libraries,
211 - fiew simplification in %files and %install,
212 - added %post{un} sections with registration info pages for libext2fs in
213   devel subpackage.
214
215 * Thu Jun 25 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
216   [1.10-7]
217 - build against GNU libc-2.1, 
218 - added a fsck patch,
219 - start at RH spec.
This page took 0.045428 seconds and 4 git commands to generate.