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