]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs.spec
- moved running of /usr/sbin/fix-info-dir to %%postun
[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.15
8 Release:        2
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 URL:            http://web.mit.edu/tytso/www/linux/e2fsprogs.html
15 Buildroot:      /tmp/%{name}-%{version}-root
16
17 %description
18 This package includes a number of utilities for creating, checking,
19 and repairing ext2 filesystems.
20
21 %description -l de
22 Dieses Paket enthält eine Auswahl an Utilities zum Erstellen, Prüfen 
23 und zur Instandsetzung von ext2-Dateisystemen.
24
25 %description -l fr
26 Ce package contient de nombreux utilitaires pour créer, vérifier, et
27 réparer les systèmes de fichiers ext2.
28
29 %description -l pl
30 Pakiet ten zawiera narzêdzia do tworzenia, sprawdzania i naprawiania
31 wolumenów dyskowych z systemem plikowym ext2.
32
33 %description -l tr
34 Bu paket, ext2 dosya sistemlerini yaratmak, onarmak, kontrol etmek ve bazý
35 parametrelerini deðiþtirmek için gerekli yazýlýmlarý içerir.
36
37 %package devel
38 Summary:        e2fs header files
39 Summary(de):    Header-Dateien für eine e2fs
40 Summary(pl):    Pliki nag³ówkowe do bibliotek e2fs
41 Group:          Development/Libraries
42 Group(pl):      Programowanie/Biblioteki
43 Prereq:         /usr/sbin/fix-info-dir
44 Requires:       %{name} = %{version}
45
46 %description devel
47 Header files needed to develop ext2 filesystem-specific programs.
48
49 %description -l de devel
50 Header-Dateien, die zur Entwicklung von ext2-Dateisystemspezifischen
51 Programmen erforderlich sind.
52
53 %description devel
54 Pliki nag³ówkowe niezbêdne do tworzenia programów obs³ugukj±cych e2fs.
55
56 %package static
57 Summary:        e2fs static libraries
58 Summary(de):    e2fs statische Libraries
59 Summary(pl):    Biblioteki statyczne do obs³ugi e2fs
60 Group:          Development/Libraries
61 Group(pl):      Programowanie/Biblioteki
62 Requires:       %{name}-devel = %{version}
63
64 %description static
65 Static libraries files needed to develop ext2 filesystem-specific
66 programs statically linked with e2progs libs.
67
68 %description -l de static
69 Libraries zur Entwicklung von ext2-Dateisystemspezifischen
70 Programmen erforderlich sind.
71
72 %description -l pl static
73 Biblioteki statyczne do ob³ugi e2fs niezêbdne do kompilacji programów 
74 statycznie skonsolidowanych (likowanych) z bibliotekami do e2fs.
75
76 %prep
77 %setup  -q
78 %patch0 -p1
79
80 %build
81 CFLAGS="$RPM_OPT_FLAGS" \
82 ./configure %{_target_platform} \
83         --enable-elf-shlibs \
84         --with-ldopts="-s" \
85         --infodir=%{_infodir}
86
87 make libs progs docs
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91 export PATH=/sbin:$PATH
92
93 make install DESTDIR=$RPM_BUILD_ROOT
94 make install-libs DESTDIR=$RPM_BUILD_ROOT
95
96 install -d $RPM_BUILD_ROOT%{_mandir}
97 mv $RPM_BUILD_ROOT/usr/man/man{1,8} $RPM_BUILD_ROOT%{_mandir}
98
99 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.*.*
100
101 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,8}/* README RELEASE-NOTES
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %post  devel
107 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
108
109 %postun devel
110 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %files
116 %defattr(755,root,root,755)
117 /sbin/*
118 %{_sbindir}/*
119 %{_bindir}/*
120 /lib/lib*.so.*
121 %attr(644,root,root) %{_mandir}/man[18]/*
122
123 %files devel
124 %defattr(644,root,root,755)
125 %doc {README,RELEASE-NOTES}.gz
126
127 %{_infodir}/libext2fs.info*
128 %{_includedir}/*
129
130 %attr(755,root,root) %{_libdir}/lib*.so
131
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/lib*.a
This page took 0.077604 seconds and 4 git commands to generate.