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