]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- added using CVS keywords in %changelog (for automating them).
[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
This page took 0.120892 seconds and 4 git commands to generate.