]> git.pld-linux.org Git - SPECS.git/blob - reiser4progs.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / reiser4progs.spec
1 Summary:        Utilities belonging to the Reiser4 filesystem
2 Summary(pl.UTF-8):      Narzędzia dla systemu plików Reiser4
3 Summary(pt_BR.UTF-8):   Este pacote contém os utilitários para manipulação do sistema de arquivos Reiser4
4 Summary(ru.UTF-8):      Утилиты для работы с файловой системой Reiser4
5 Summary(uk.UTF-8):      Утиліти для роботы з файловою системою Reiser4
6 Name:           reiser4progs
7 Version:        1.2.1
8 Release:        2
9 License:        GPL v2
10 Group:          Applications/System
11 Source0:        http://downloads.sourceforge.net/reiser4/%{name}-%{version}.tar.gz
12 # Source0-md5:  5c3af8644a4ab291fd59ccff6539a1ed
13 Patch0:         %{name}-opt.patch
14 Patch1:         %{name}-libaal.patch
15 Patch2:         %{name}-libreiser4-no-libmisc.patch
16 Patch3:         %{name}-am.patch
17 Patch4:         %{name}-format-security.patch
18 Patch5:         %{name}-minimal.patch
19 URL:            http://sourceforge.net/projects/reiser4/
20 BuildRequires:  autoconf >= 2.50
21 BuildRequires:  automake
22 BuildRequires:  libaal-devel >= 1.0.6
23 BuildRequires:  libtool >= 1:1.4.2-9
24 BuildRequires:  libuuid-devel
25 BuildRequires:  readline-devel
26 Requires:       libaal >= 1.0.6
27 Obsoletes:      reiserfs-utils
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _sbindir        /sbin
31
32 %description
33 Reiserfs is a file system using a plug-in based object oriented
34 variant on classical balanced tree algorithms. The results when
35 compared to the ext2fs conventional block allocation based file system
36 running under the same operating system and employing the same
37 buffering code suggest that these algorithms are overall more
38 efficient, and are becoming more so every passing month. Loosely
39 speaking, every month we find another performance cranny that needs
40 work, and we fix it, and every month we find some way of improving our
41 overall general usage performance. The improvement in small file space
42 and time performance suggests that we may now revisit a common OS
43 design assumption that one should aggregate small objects using layers
44 above the file system layer. Being more effective at small files DOES
45 NOT make us less effective for other files, this is a general purpose
46 FS, and our overall traditional FS usage performance is high enough to
47 establish that. Reiserfs has a commitment to opening up the FS design
48 to contributions, and we are now now adding plug-ins so that you can
49 create your own types of directories and files.
50
51 %description -l pl.UTF-8
52 Pakiet zawiera programy do tworzenia (mkreiser4), sprawdzania i
53 naprawiania błędów (reiser4fsck) oraz zmiany wielkości
54 (resize_reiser4) systemu plików Reiser4.
55
56 %description -l pt_BR.UTF-8
57 Este pacote contém os utilitários para manipulação do sistema de
58 arquivos Reiser4.
59
60 %description -l ru.UTF-8
61 Набор утилит для работы с файловой системой Reiser4.
62
63 %description -l uk.UTF-8
64 Набір утиліт для роботи з файловою системою Reiser4.
65
66 %package devel
67 Summary:        Header files for reiser4progs libraries
68 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek reiser4progs
69 Group:          Development/Libraries
70 Requires:       %{name} = %{version}-%{release}
71 Requires:       libaal-devel >= 1.0.6
72
73 %description devel
74 Header files for reiser4progs libraries.
75
76 %description devel -l pl.UTF-8
77 Pliki nagłówkowe bibliotek reiser4progs.
78
79 %package static
80 Summary:        reiser4progs static libraries
81 Summary(pl.UTF-8):      Statyczne biblioteki reiser4progs
82 Group:          Development/Libraries
83 Requires:       %{name}-devel = %{version}-%{release}
84 Requires:       libaal-static >= 1.0.5
85
86 %description static
87 reiser4progs static libraries.
88
89 %description static -l pl.UTF-8
90 Statyczne biblioteki reiser4progs.
91
92 %prep
93 %setup -q
94 %patch0 -p1
95 %patch1 -p1
96 %patch2 -p1
97 %patch3 -p1
98 %patch4 -p1
99 %patch5 -p1
100
101 %build
102 %{__libtoolize}
103 %{__aclocal}
104 %{__autoconf}
105 %{__autoheader}
106 %{__automake}
107 %configure \
108         %{!?debug:--disable-debug}
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113 install -d $RPM_BUILD_ROOT%{_libdir}
114
115 # don't run ldconfig on install
116 > run-ldconfig
117
118 %{__make} -j1 install \
119         DESTDIR=$RPM_BUILD_ROOT
120
121 install -d $RPM_BUILD_ROOT/%{_lib}
122 %{__mv} $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
123 for f in libreiser4 libreiser4-minimal librepair; do
124         lib=$(cd $RPM_BUILD_ROOT/%{_lib}; echo $f-1.0.so.*.*.*)
125         ln -sf /%{_lib}/$lib $RPM_BUILD_ROOT%{_libdir}/$f.so
126 done
127
128 %clean
129 rm -rf $RPM_BUILD_ROOT
130
131 %post   -p /sbin/ldconfig
132 %postun -p /sbin/ldconfig
133
134 %files
135 %defattr(644,root,root,755)
136 # COPYING contains information other than GPL text
137 %doc AUTHORS BUGS COPYING CREDITS ChangeLog README THANKS TODO
138 %attr(755,root,root) %{_sbindir}/debugfs.reiser4
139 %attr(755,root,root) %{_sbindir}/fsck.reiser4
140 %attr(755,root,root) %{_sbindir}/make_reiser4
141 %attr(755,root,root) %{_sbindir}/measurefs.reiser4
142 %attr(755,root,root) %{_sbindir}/mkfs.reiser4
143 %attr(755,root,root) /%{_lib}/libreiser4-1.2.so.*.*.*
144 %attr(755,root,root) %ghost /%{_lib}/libreiser4-1.2.so.1
145 %attr(755,root,root) /%{_lib}/libreiser4-minimal-1.2.so.*.*.*
146 %attr(755,root,root) %ghost /%{_lib}/libreiser4-minimal-1.2.so.1
147 %attr(755,root,root) /%{_lib}/librepair-1.2.so.*.*.*
148 %attr(755,root,root) %ghost /%{_lib}/librepair-1.2.so.1
149 %{_mandir}/man8/debugfs.reiser4.8*
150 %{_mandir}/man8/fsck.reiser4.8*
151 %{_mandir}/man8/measurefs.reiser4.8*
152 %{_mandir}/man8/mkfs.reiser4.8*
153
154 %files devel
155 %defattr(644,root,root,755)
156 %attr(755,root,root) %{_libdir}/libreiser4.so
157 %attr(755,root,root) %{_libdir}/libreiser4-minimal.so
158 %attr(755,root,root) %{_libdir}/librepair.so
159 %{_libdir}/libreiser4.la
160 %{_libdir}/libreiser4-minimal.la
161 %{_libdir}/librepair.la
162 %{_includedir}/reiser4
163 %{_includedir}/repair
164 %{_aclocaldir}/libreiser4.m4
165
166 %files static
167 %defattr(644,root,root,755)
168 %{_libdir}/libreiser4.a
169 %{_libdir}/libreiser4-minimal.a
170 %{_libdir}/librepair.a
This page took 0.207772 seconds and 3 git commands to generate.