Пакет libuserspace-rcu: 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 | # This spec is backported to ALTLinux p7 automatically by rpmbph script from etersoft-build-utils. # %define oname userspace-rcu Name: libuserspace-rcu Version: 0.9.3 Release: alt2.M70P.3 Summary: RCU (read-copy-update) implementation in user space Group: System/Libraries License: LGPLv2+ Url: http://lttng.org/urcu/ Packager: Vitaly Lipatov <lav@altlinux.ru> # Source-url: http://www.lttng.org/files/urcu/userspace-rcu-%version.tar.bz2 Source: %name-%version.tar Patch: userspace-rcu-aarch64.patch BuildRequires: autoconf automake libtool # need for test BuildRequires: perl-devel # Upstream do not yet support mips ExcludeArch: mips #Source44: import.info Provides: %oname = %version-%release Obsoletes: %oname %description This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release Provides: %oname-devel = %version-%release Obsoletes: %oname-devel %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %prep %setup #patch0 -p1 %build # Patch for AArch64 and PPC64LE needs it #autoreconf -vif %configure --disable-static #Remove Rpath from build system %__subst 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool %__subst 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %make_build %install %makeinstall_std rm -vf %buildroot/%_libdir/*.la rm -rf %buildroot/%_docdir/%oname/ # move to /lib (ALT bug #33268) mkdir -p %buildroot/%_lib/ mv %buildroot%_libdir/lib*.so.* %buildroot/%_lib/ for i in %buildroot%_libdir/lib*.so ; do ln -srf %buildroot/%_lib/$(readlink $i) $i done cd doc/examples && make clean %check # TODO: still failed in hasher make check || true %files /%_lib/liburcu*.so.* %files devel %doc README.md doc/*.md doc/examples/ %_includedir/urcu/ %_includedir/urcu*.h %_libdir/*.so %_pkgconfigdir/liburcu*.pc %changelog * Mon Jul 17 2017 Vitaly Lipatov <lav@altlinux.ru> 0.9.3-alt2.M70P.3 - backport to ALTLinux p7 (by rpmbph script) * Tue Mar 28 2017 Vitaly Lipatov <lav@altlinux.ru> 0.9.3-alt3 - override NMU: move libs to %_lib (ALT bug #33268) - enable tests * Thu Mar 23 2017 Alexey Shabalin <shaba@altlinux.ru> 0.9.3-alt2 - Relocate shared libraries from %_libdir/ to /%_lib/. * Mon Jan 02 2017 Vitaly Lipatov <lav@altlinux.ru> 0.9.3-alt1 - new version 0.9.3 (with rpmrb script) * Wed Jul 27 2016 Vitaly Lipatov <lav@altlinux.ru> 0.9.2-alt1 - new version 0.9.2 (with rpmrb script) * Wed Feb 24 2016 Vitaly Lipatov <lav@altlinux.ru> 0.9.1-alt1 - new version 0.9.1 (with rpmrb script) - move sources to subdir * Sun Jun 14 2015 Vitaly Lipatov <lav@altlinux.ru> 0.8.7-alt2 - clean examples before packing * Sun Jun 14 2015 Vitaly Lipatov <lav@altlinux.ru> 0.8.7-alt1 - new version 0.8.7 (with rpmrb script) * Sun Jun 14 2015 Vitaly Lipatov <lav@altlinux.ru> 0.8.1-alt2 - rename package to libuserspace-rcu * Thu Jun 04 2015 Danil Mikhailov <danil@altlinux.org> 0.8.1-alt1 - initial build for ALT Linux Sisyphus |