Package reiser4progs: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | %define _unpackaged_files_terminate_build 1 %define _stripped_files_terminate_build 1 %set_verify_elf_method strict %def_enable minimal Name: reiser4progs Version: 1.2.1 Release: alt3 Summary: Utilities for reiser4 filesystems License: GPLv2 Group: System/Kernel and hardware URL: http://reiser4.sourceforge.net/ %define reiser_libver %(echo %version | cut -d . -f 1-2) Source: %name-%version.tar Patch1: %name-1.1.0-alt-format.patch Patch2: %name-1.1.0-alt-linking.patch Patch3: %name-1.2.1-alt-libaal-check-dynamic-library.patch # Automatically added by buildreq on Wed Mar 17 2010 BuildRequires: libaal-devel libaal-minimal-devel libncurses-devel libreadline-devel libuuid-devel %description Utilities for manipulating reiser4 filesystems. %package -n libreiser4 Summary: Libraries for use by reiser4 tools Group: Development/C %description -n libreiser4 Libraries for use by reiser4 tools. %package -n libreiser4-devel Summary: Development libraries and headers for developing reiser4 tools Group: Development/C Requires: libreiser4 = %EVR Requires: libaal-devel %description -n libreiser4-devel Development libraries and headers for developing reiser4 tools. %package -n libreiser4-minimal Summary: Minimal utilities for reiser4 filesystem Group: Development/C Requires: libaal-minimal Requires: libreiser4 = %EVR %description -n libreiser4-minimal Development libraries and headers for developing minimal reiser4 tools. %package -n libreiser4-minimal-devel Summary: Development libraries and headers for developing minimal reiser4 tools Group: Development/C Requires: libreiser4-minimal = %EVR Requires: libaal-minimal-devel Requires: libreiser4-devel = %EVR %description -n libreiser4-minimal-devel Development libraries and headers for developing minimal reiser4 tools. %prep %setup %patch1 -p2 %patch2 -p2 %patch3 -p2 sed -i -r '/^[[:blank:]]+\.\/run-ldconfig/d' Makefile.{am,in} %build %autoreconf %configure \ --sbindir=/sbin \ --libdir=/%_lib \ %if_enabled minimal --enable-libminimal \ --disable-fnv1-hash \ --disable-rupasov-hash \ --disable-tea-hash \ --disable-deg-hash \ --disable-short-keys \ --disable-special \ --disable-dot_o_fibre \ --disable-ext_3_fibre \ --disable-lexic_fibre \ %endif --with-readline \ --disable-static \ %nil # Hackish way to fix underlinking in 1.0.7: subst 's@LDFLAGS =@LDFLAGS = ../libmisc/.libs/libmisc.a -luuid@' libreiser4/Makefile # We need these to be built before build in libreiser4 directory: for d in lib{aux,misc}; do %make_build -C $d done %make_build %install install -d -m 0755 %buildroot/%_libdir %makeinstall_std pushd %buildroot for f in ./%_lib/*.so; do v=$(objdump -p "$f" | sed -n '/^[[:blank:]]*SONAME[[:blank:]]/s/^.*[[:blank:]]\(lib.*$\)/\1/p') [ -n "$v" ] && ln -sf $(relative /%_lib/"$v" /%_prefix/"$f") "$f" done popd mv %buildroot{/%_lib/*.so,%_libdir/} %files /sbin/* %_man8dir/* %files -n libreiser4 /%_lib/libreiser4-%{reiser_libver}.so.* /%_lib/librepair-%{reiser_libver}.so.* %files -n libreiser4-devel %_includedir/reiser4 %_includedir/repair %_datadir/aclocal/libreiser4.m4 %_libdir/libreiser4.so %_libdir/librepair.so %if_enabled minimal %files -n libreiser4-minimal /%_lib/libreiser4-minimal-%{reiser_libver}.so.* %files -n libreiser4-minimal-devel %_libdir/libreiser4-minimal.so %endif %changelog * Thu Sep 02 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 1.2.1-alt3 - Disabled static libraries. * Mon Feb 08 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 1.2.1-alt2 - Fixed build. * Tue Jan 23 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.2.1-alt1 - Updated to upstream version 1.2.1. * Wed Nov 15 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 1.1.0-alt1 - Updated to upstream version 1.1.0. * Sat Aug 31 2013 Led <led@altlinux.ru> 1.0.8-alt1 - 1.0.8 - fixed format string using - cleaned up spec - fixed URL * Tue Feb 07 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.7-alt2.1 - Removed bad RPATH * Wed Dec 22 2010 Victor Forsiuk <force@altlinux.org> 1.0.7-alt2 - Rebuilt for soname set-versions. - libreiser4-devel requires libaal-devel. * Tue Mar 16 2010 Victor Forsiuk <force@altlinux.org> 1.0.7-alt1 - 1.0.7 - Fix underlinking of libreiser4. - Built with readline. - Move static libraries to own subpackages, also split library and utilities. - Rename packages to be more in line with library packages naming policy. - List of disabled features for libminimal taken from upstream readme. * Thu Aug 17 2006 Sergey Ivanov <seriv@altlinux.org> 1.0.5-alt2 - fix bug #9885 * Fri Aug 12 2005 Sergey Ivanov <seriv@altlinux.ru> 1.0.5-alt1 - updated to version 1.0.5 from namesys.com * Mon Feb 21 2005 Sergey Ivanov <seriv@altlinux.ru> 1.0.4-alt1 - new version from namesys with the following changes: - A bugfix in file body convertion code. - Enable libminimal by default. - Do not configure empty utils(resizer, cpfs). - Some bug fixes in tree balancing, fs check, syncing code. * Sat Dec 11 2004 Sergey Ivanov <seriv@altlinux.ru> 1.0.3-alt1 - new version from namesys.com, includes: - a lot of bug fixes, - correct handling of super block backups, - recovery according to the super block backups, - demos/busy is a reiser4progs-busy-box program that is able to create/remove/copy/read/ls/etc on reiser4 working through libreiser4, without kernel reiser4 support. This feature is not yet packed, if you need it, rpm -bc, please. It happened that the previous super block backups were created with a mistake and to resync them now you need to run fsck.reiser4 --build-sb <device> * Wed Nov 17 2004 Sergey Ivanov <seriv@altlinux.ru> 1.0.2-alt2 - Fix [#5223] (*progs are installed into /usr/..., should into /sbin); *-minimal files moved to separate package, removed false g77 dependency. * Tue Oct 26 2004 Sergey Ivanov <seriv@altlinux.ru> 1.0.2-alt1 - update to 1.0.2; descriptions, files, options taken from source's *.tar.gz * Wed Aug 25 2004 Sergey Ivanov <seriv@altlinux.ru> 1.0.0-alt1 - initial build |