]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- revision up to 5,
[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): Narzedzia do systemu plikowego ext2
5 Summary(tr): ext2 dosya sistemi için araçlar
6 Name:        e2fsprogs
7 Version:     1.12
8 Release:     5
9 Copyright:   GPL
10 Group:       Utilities/System
11 Source:      ftp://tsx-11.mit.edu/pub/linux/packages/ext2fs/%{name}-%{version}.tar.gz
12 Patch0:      e2fsprogs-kernel21.patch
13 Patch1:      e2fsprogs-info.patch
14 Buildroot:   /tmp/%{name}-%{version}-root
15
16 %description
17 This package includes a number of utilities for creating, checking,
18 and repairing ext2 filesystems.
19
20 %description -l de
21 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen 
22 und zur Instandsetzung von ext2-Dateisystemen.
23
24 %description -l fr
25 Ce package contient de nombreux utilitaires pour créer, vérifier, et
26 réparer les systèmes de fichiers ext2.
27
28 %description -l pl
29 Pakiet ten zawiera narzêdzia do tworzenia, sprawdzania i naprawiania
30 wolumenów dyskowych z systemem plikowym ext2.
31
32 %description -l tr
33 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve bazý
34 parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
35
36 %package devel
37 Summary:     e2fs header files
38 Summary(de): Header-Dateien für eine e2fs
39 Summary(pl): Pliki nag³ówkowe do bibliotek e2fs
40 Group:       Development/Libraries
41 Prereq:      /sbin/install-info
42 Requires:    %{name} = %{version}
43
44 %description devel
45 Header files needed to develop ext2 filesystem-specific programs.
46
47 %description -l de devel
48 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
49 Programmen erforderlich sind.
50
51 %description devel
52 Pliki nag³ówkowe niezbêdne do tworzenia programów obs³ugukj±cych e2fs.
53
54 %package static
55 Summary:     e2fs static libraries
56 Summary(de): e2fs statische Libraries
57 Summary(pl): biblioteki statyczne do obs³ugi e2fs
58 Group:       Development/Libraries
59 Requires:    %{name}-devel = %{version}
60
61 %description static
62 Static libraries files needed to develop ext2 filesystem-specific
63 programs statically linked with e2progs libs.
64
65 %description -l de static
66 Libraries zur Entwicklung von ext2-Dateisystemspezifischen
67 Programmen erforderlich sind.
68
69 %description -l pl static
70 Biblioteki statyczne do obsugi e2fs niezbdne do kompilacji programów 
71 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
72
73 %prep
74 %setup -q
75 %patch0 -p1
76 %patch1 -p1
77
78 %build
79 CFLAGS="$RPM_OPT_FLAGS" \
80 ./configure \
81         --enable-elf-shlibs \
82         --with-ldopts="-s"
83
84 make libs progs docs
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 export PATH=/sbin:$PATH
89
90 make install DESTDIR=$RPM_BUILD_ROOT
91 make install-libs DESTDIR=$RPM_BUILD_ROOT
92
93 strip $RPM_BUILD_ROOT/lib/lib*.so.*.*
94
95 gzip -9nf $RPM_BUILD_ROOT/usr/man/man{1,8}/*
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %post  devel
101 /sbin/install-info /usr/info/libext2fs.info.gz /etc/info-dir
102
103 %preun devel
104 if [ $1 = 0 ]; then
105         /sbin/install-info --delete /usr/info/libext2fs.info.gz /etc/info-dir
106 fi
107
108 %clean
109 rm -rf $RPM_BUILD_ROOT
110
111 %files
112 %defattr(755, root, root)
113 /sbin/*
114 /usr/sbin/*
115 /usr/bin/*
116 /lib/lib*.so.*.*
117 %attr(644, root,  man) /usr/man/man[18]/*
118
119 %files devel
120 %defattr(644, root, root, 755)
121 %doc README RELEASE-NOTES
122 /usr/info/libext2fs.info*
123 /usr/include/*
124 %attr(755, root, root) /usr/lib/lib*.so
125
126 %files static
127 %attr(644, root, root) /usr/lib/lib*.a
128
129 %changelog
130 * Mon Dec 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
131   [1.12-5]
132 - standarized {un}registering info pages (added e2fsprogs-info.patch).
133
134 * Fri Dec 11 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
135   [1.12-4]
136 - added gzipping man pages,
137 - added --with-ldopts="-s" to ./configure parameters,
138 - added e2fsprogs-kernel21.patch which allows compile e2fsprogs on both
139   2.0.x and 2.1.x kernels.
140
141 * Mon Sep 28 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
142   [1.12-3]
143 - %postun changed to %preun (during uregistering e2progs info pages in 
144   %postun /usr/info/history.info.gz don't exist).
145 - removed all patches.
146
147 * Sat Aug 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
148   [1.10-7]
149 - added -q %setup parameter,
150 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
151 - added using %%{name} and %%{version} in Source,
152 - added static subpackage,
153 - added pl translation,
154 - fixed %post{un},
155 - added "rm -rf $RPM_BUILD_ROOT" on bigin %install,
156 - changed dependencies to "Requires: %%{name} = %%{version}" in devel
157   subpackage,
158 - added stripping shared libraries,
159 - fiew simplification in %files and %install,
160 - added %post{un} sections with registration info pages for libext2fs in
161   devel subpackage,
162 - added %attr and %defattr macros in %files (allows build package from
163   non-root account).
164
165 * Thu May 07 1998 Prospector System <bugs@redhat.com>
166 - translations modified for de, fr, tr
167
168 * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
169 - include <asm/types.h> to match kernel types in utils
170
171 * Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
172 - spec file cleanups
173
174 * Wed Oct 01 1997 Erik Troan <ewt@redhat.com>
175 - fixed broken llseek() prototype 
176
177 * Wed Aug 20 1997 Erik Troan <ewt@redhat.com>
178 - added patch to prototype llseek
179
180 * Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
181 - built against glibc
This page took 0.056984 seconds and 4 git commands to generate.