Пакет libjemalloc2: 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 208 209 210 | %def_disable static %define title jemalloc %define sorev 2 Name: libjemalloc2 Version: 5.2.0 Release: alt1.E2K.1 Summary: A general-purpose scalable concurrent malloc(3) implementation Group: System/Libraries License: BSD Url: http://jemalloc.net/ Source: %title-%version.tar # Automatically added by buildreq on Mon May 14 2018 # optimized out: glibc-kernheaders-generic glibc-kernheaders-x86 gnu-config libstdc++-devel python-base BuildRequires: gcc-c++ BuildRequires: xsltproc docbook-style-xsl %description jemalloc is a general-purpose scalable concurrent malloc(3) implementation. There are several divergent versions of jemalloc in active use, including: * FreeBSD's default system allocator (malloc.c, manual page). This was the first public use of jemalloc, and it is still author-maintained. * NetBSD's default system allocator (jemalloc.c). * Mozilla Firefox's allocator (source code), specifically for Microsoft Windows-related platforms, Solaris, and Linux. There is Apple Mac OS X support code as well, but it has never been used in a release. * The stand-alone jemalloc, which currently targets only Linux. Thus far I have had no driving need to integrate support for other operating systems into this version of jemalloc, but it is probable that the stand-alone jemalloc library's platform support will broaden over time. %package -n libjemalloc-tools Summary: Shell wrapper for preloading %title Group: System/Libraries License: BSD Requires: %name = %EVR %description -n libjemalloc-tools Starting up wrapper for use %title. %package -n libjemalloc-devel Summary: Development files, debugging and profiling version of %title Group: System/Libraries License: BSD Requires: google-perftools %description -n libjemalloc-devel Development files, debugging and profiling version of %title %prep %setup -n %title-%version # XXX hack out "restrict keyword" ##for f in `fgrep -rl '*restrict ' .`; do sed -i 's/\*restrict /\*/g' $f; done %build CONF="--enable-swap --enable-xmalloc --enable-dss --enable-sysv --enable-autogen --enable-log --enable-utrace --with-xslroot=/usr/share/xml/docbook/xsl-stylesheets" %configure $CONF --enable-debug %make_build %make doc mkdir -p debug cp -a lib/lib* debug %configure $CONF --enable-prof --enable-stats %make_build install_suffix=_profiler mkdir -p prof cp -a lib/lib* prof %configure $CONF %make_build %install %makeinstall DESTDIR=%buildroot mkdir -p %buildroot%_libdir/debug %buildroot%_libdir/prof cp -a debug/* %buildroot%_libdir/debug cp -a prof/* %buildroot%_libdir/ #mv %buildroot%_bindir/pprof %buildroot%_bindir/pprof.%title mv %buildroot%_defaultdocdir/jemalloc %buildroot%_defaultdocdir/jemalloc%sorev # add so.2 -> so.2.0 mv %buildroot%_libdir/libjemalloc.so.%sorev %buildroot%_libdir/libjemalloc.so.%sorev.0 ln -s libjemalloc.so.%sorev.0 %buildroot%_libdir/libjemalloc.so.%sorev mv %buildroot%_libdir/libjemalloc_profiler.so.%sorev %buildroot%_libdir/libjemalloc_profiler.so.%sorev.0 ln -s libjemalloc_profiler.so.%sorev.0 %buildroot%_libdir/libjemalloc_profiler.so.%sorev %if_disabled static rm -rf %buildroot%_libdir/debug/*.a %buildroot%_libdir/*.a %endif %files %doc %_defaultdocdir/jemalloc2 %doc COPYING README TUNING* VERSION %_libdir/libjemalloc.so.%sorev %_libdir/libjemalloc.so.%sorev.0 %files -n libjemalloc-tools %_bindir/jemalloc.sh %files -n libjemalloc-devel %_bindir/*prof %_includedir/* %_man3dir/* %_libdir/libjemalloc.so %_libdir/libjemalloc_profiler.so* %if_enabled static %_libdir/lib*.a %endif %_libdir/debug/lib* %_bindir/*config %_pkgconfigdir/*.pc %changelog * Wed Oct 09 2019 Michael Shigorin <mike@altlinux.org> 5.2.0-alt1.E2K.1 - E2K: forward-ported mcst patches * Thu Jul 04 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 5.2.0-alt1 - Updated to upstream version 5.2.0 * Thu Mar 14 2019 Anton Farygin <rider@altlinux.ru> 5.1.0-alt4 - shell wrapper with LD_PRELOAD moved to package libjemalloc-tools to avoid files conflict with previouis libjemalloc build * Sun Aug 26 2018 Vitaly Lipatov <lav@altlinux.ru> 5.1.0-alt3 - fix soname, fix libname for libjemalloc with prof and stats (ALT bug 31642) - fix duplicated files - disable static by default * Fri Aug 24 2018 Fr. Br. George <george@altlinux.ru> 5.1.0-alt2 - Fix file conflict with libjemalloc1 * Mon May 14 2018 Fr. Br. George <george@altlinux.ru> 5.1.0-alt1 - Autobuild version bump to 5.1.0 - Grand major version change * Wed Apr 09 2014 Fr. Br. George <george@altlinux.ru> 3.6.0-alt1 - Autobuild version bump to 3.6.0 * Thu Feb 20 2014 Fr. Br. George <george@altlinux.ru> 3.5.0-alt1 - Autobuild version bump to 3.5.0 - Hack out "restrict" keywords (GCC doesn't compile this) * Sun Oct 27 2013 Fr. Br. George <george@altlinux.ru> 3.4.1-alt1 - Autobuild version bump to 3.4.1 * Mon Jun 10 2013 Fr. Br. George <george@altlinux.ru> 3.4.0-alt1 - Autobuild version bump to 3.4.0 * Sun Mar 31 2013 Fr. Br. George <george@altlinux.ru> 3.3.1-alt1 - Autobuild version bump to 3.3.1 * Thu Feb 14 2013 Fr. Br. George <george@altlinux.ru> 3.3.0-alt1 - Autobuild version bump to 3.3.0 * Mon Nov 12 2012 Fr. Br. George <george@altlinux.ru> 3.2.0-alt1 - Autobuild version bump to 3.2.0 * Mon Oct 22 2012 Fr. Br. George <george@altlinux.ru> 3.1.0-alt1 - Autobuild version bump to 3.1.0 - Shellcript added * Fri Jun 08 2012 Fr. Br. George <george@altlinux.ru> 3.0.0-alt1 - Autobuild version bump to 3.0.0 * Tue Jan 10 2012 Fr. Br. George <george@altlinux.ru> 2.2.5-alt1 - Autobuild version bump to 2.2.5 - Documentation rebuilding added * Wed Sep 07 2011 Fr. Br. George <george@altlinux.ru> 2.2.3-alt1 - Autobuild version bump to 2.2.3 * Tue Aug 16 2011 Fr. Br. George <george@altlinux.ru> 2.2.2-alt1 - Autobuild version bump to 2.2.2 * Tue May 03 2011 Fr. Br. George <george@altlinux.ru> 2.2.1-alt1 - Autobuild version bump to 2.2.1 * Thu Mar 31 2011 Fr. Br. George <george@altlinux.ru> 2.2.0-alt1 - Autobuild version bump to 2.2.0 * Thu Mar 10 2011 Fr. Br. George <george@altlinux.ru> 2.1.2-alt1 - Autobuild version bump to 2.1.2 * Tue Feb 22 2011 Fr. Br. George <george@altlinux.ru> 2.1.1-alt1 - Autobuild version bump to 2.1.1 * Mon Dec 20 2010 Fr. Br. George <george@altlinux.ru> 2.1.0-alt1 - Autobuild version bump to 2.1.0 * Sun Nov 14 2010 Fr. Br. George <george@altlinux.ru> 2.0.1-alt1 - Autobuild version bump to 2.0.1 * Thu Oct 28 2010 Fr. Br. George <george@altlinux.ru> 2.0.0-alt1 - Autobuild version bump to 2.0.0 * Wed Aug 18 2010 Fr. Br. George <george@altlinux.ru> 1.0.3-alt1 - Version up * Wed May 19 2010 Fr. Br. George <george@altlinux.ru> 1.0.2-alt1 - Version up * Wed Apr 21 2010 Fr. Br. George <george@altlinux.ru> 1.0.1-alt1 - Version up * Wed Apr 14 2010 Fr. Br. George <george@altlinux.ru> 1.0.0-alt1 - Initial build from scratch |