Package 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 | %define oname userspace-rcu Name: libuserspace-rcu Version: 0.8.7 Release: alt2.E2K.2 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 Patch0: userspace-rcu-aarch64.patch Patch1: userspace-rcu-e2k.patch BuildRequires: autoconf automake libtool # 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 %ifarch %e2k %patch1 -p1 %endif %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/ cd doc/examples && make clean %check #TODO greenscientist: make check currently fail in mockbuild #make check %files %_libdir/liburcu*.so.* %files devel %doc README doc/*.txt doc/examples/ %_includedir/urcu/ %_includedir/urcu*.h %_libdir/*.so %_pkgconfigdir/liburcu*.pc %changelog * Wed Oct 31 2018 Michael Shigorin <mike@altlinux.org> 0.8.7-alt2.E2K.2 - Replace e2k arch name with %%e2k macro (grenka@) * Thu Jun 29 2017 Michael Shigorin <mike@altlinux.org> 0.8.7-alt2.E2K.1 - E2K: applied mcst patch * 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 |