]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- fixed ughly bug causing make not corectly /usr/lib/lib*.so symlinks.
[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.10
8 Release:     7
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-1.10-llseek.patch
13 Patch1:      e2fsprogs-1.10-kernel.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 -b .kernel
77
78 %build
79 CFLAGS="$RPM_OPT_FLAGS" \
80 ./configure --enable-elf-shlibs
81
82 make libs progs docs
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86 export PATH=/sbin:$PATH
87 make install-libs prefix=$RPM_BUILD_ROOT
88 make install DESTDIR=$RPM_BUILD_ROOT
89
90 mv $RPM_BUILD_ROOT/usr/sbin/debugfs $RPM_BUILD_ROOT/sbin/debugfs
91
92 strip $RPM_BUILD_ROOT/lib/lib*.so.*.*
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %post   devel
101 /sbin/install-info /usr/info/history.info.gz /etc/info-dir \
102 --entry="* libext2fs: (libext2fs)                        The EXT2FS library."
103
104 %postun devel
105 /sbin/install-info --delete /usr/info/history.info.gz /etc/info-dir \
106 --entry="* libext2fs: (libext2fs)                        The EXT2FS library."
107
108 %files
109 %defattr(755, root, root)
110 /sbin/*
111 /usr/sbin/*
112 /usr/bin/*
113 /lib/lib*.so.*.*
114 %attr(644, root,  man) /usr/man/man[18]/*
115
116 %files devel
117 %defattr(644, root, root, 755)
118 %doc README RELEASE-NOTES
119 /usr/info/libext2fs.info*
120 /usr/include/
121 /usr/lib/lib*.so
122
123 %files static
124 %attr(644, root, root) /usr/lib/lib*.a
125
126 %changelog
127 * Sat Aug 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
128   [1.10-7]
129 - added -q %setup parameter,
130 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
131 - added using %%{name} and %%{version} in Source,
132 - added static subpackage,
133 - added pl translation,
134 - fixed %post{un},
135 - added "rm -rf $RPM_BUILD_ROOT" on bigin %install,
136 - changeded dependences to "Requires: %%{name} = %%{version}" in devel
137   subpackage,
138 - added striping shared libraries,
139 - fiew simplification in %files and %install,
140 - added %post{un} sections with registration info pages for libext2fs in
141   devel subpackage,
142 - added %attr and %defattr macros in %files (allow build package from
143   non-root account).
144
145 * Thu May 07 1998 Prospector System <bugs@redhat.com>
146 - translations modified for de, fr, tr
147
148 * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
149 - include <asm/types.h> to match kernel types in utils
150
151 * Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
152 - spec file cleanups
153
154 * Wed Oct 01 1997 Erik Troan <ewt@redhat.com>
155 - fixed broken llseek() prototype 
156
157 * Wed Aug 20 1997 Erik Troan <ewt@redhat.com>
158 - added patch to prototype llseek
159
160 * Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
161 - built against glibc
This page took 0.048791 seconds and 4 git commands to generate.