jemalloc-vl.spec 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. Name: jemalloc
  2. Version: 4.4.0
  3. Release: 1%{?_dist_release}
  4. Summary: General-purpose scalable concurrent malloc implementation
  5. Summary(ja): 汎用・スケーラブル・並行な malloc 実装
  6. Group: System Environment/Libraries
  7. License: BSD
  8. URL: http://www.canonware.com/jemalloc/
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Source0: https://github.com/jemalloc/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: /usr/bin/xsltproc
  14. %ifnarch s390
  15. BuildRequires: valgrind-devel
  16. %endif
  17. %description
  18. General-purpose scalable concurrent malloc(3) implementation.
  19. This distribution is the stand-alone "portable" implementation of %{name}.
  20. %package devel
  21. Summary: Development files for %{name}
  22. Requires: %{name} = %{version}-%{release}
  23. Group: Development/Libraries
  24. %description devel
  25. The %{name}-devel package contains libraries and header files for
  26. developing applications that use %{name}.
  27. %prep
  28. %setup -q
  29. %build
  30. %ifarch i686
  31. %if 0%{?fedora} >= 21
  32. CFLAGS="%{optflags} -msse2"
  33. %endif
  34. %endif
  35. %if 0%{?rhel} && 0%{?rhel} < 7
  36. export LDFLAGS="%{?__global_ldflags} -lrt"
  37. %endif
  38. # disable Transparent HugePages on Vine Linux.
  39. perl -pi -e 's/je_cv_thp=yes/je_cv_thp=no/' configure
  40. %configure
  41. make %{?_smp_mflags}
  42. %check
  43. make check
  44. %install
  45. rm -rf %{buildroot}
  46. make install DESTDIR=%{buildroot}
  47. # Install this with doc macro instead
  48. rm %{buildroot}%{_datadir}/doc/%{name}/jemalloc.html
  49. # None of these in fedora
  50. find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
  51. %clean
  52. rm -rf %{buildroot}
  53. %files
  54. %defattr(-,root,root,-)
  55. %license COPYING
  56. %doc README VERSION
  57. %doc doc/jemalloc.html
  58. %{_libdir}/libjemalloc.so.*
  59. %{_bindir}/jemalloc.sh
  60. %{_bindir}/jemalloc-config
  61. %{_bindir}/jeprof
  62. %{_libdir}/pkgconfig/jemalloc.pc
  63. %files devel
  64. %defattr(-,root,root,-)
  65. %{_includedir}/jemalloc
  66. %{_libdir}/libjemalloc.so
  67. %{_mandir}/man3/jemalloc.3*
  68. %post
  69. /sbin/ldconfig
  70. %postun
  71. /sbin/ldconfig
  72. %changelog
  73. * Wed Dec 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.4.0-1
  74. - new upstream release.
  75. * Fri Jul 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.2.1-1
  76. - new upstream release.
  77. * Wed May 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.1.1-1
  78. - new upstream release.
  79. * Fri Oct 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.0.4-2
  80. - initial build for Vine Linux.
  81. * Sat Oct 24 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.4-1
  82. - New upstream release
  83. * Fri Sep 25 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.3-1
  84. - New upstream release
  85. - Removed oom test patch, it has been fixed upstream
  86. * Thu Sep 24 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.2-2
  87. - oom test also fails on 32bit ppc, so patch it out there as well
  88. * Tue Sep 22 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.2-1
  89. - New upstream release
  90. - Added a patch removing a non-critical test that fails on i386
  91. - Removed now included negative bitshift patch.
  92. * Wed Aug 19 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.0-1
  93. - New upstream release
  94. - Removed the no-pprof patch, as jemalloc now comes with its own prof variant
  95. - Removed atomic.h patch for armv5tel. jemalloc now provides a specific
  96. variant for armv5tel
  97. - Added a patch from upstream for errnous bitshift by negative amounts on pagesize >8KiB
  98. - Added -lrt to LDFLAGS for rhel<7
  99. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-9
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  101. * Mon Aug 18 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-8
  102. - valgrind-devel is not available on s390, closes #1131014
  103. * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-7
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  105. * Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-6
  106. - bz #1106933 fix only for fedora 21 and above
  107. * Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-5
  108. - Added valgrind-devel to BuildRequires, fixing bz #974270
  109. * Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-4
  110. - Added an i686 build fixing bz #1106933
  111. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-3
  112. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  113. * Tue Apr 01 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-2
  114. - Patch that removes explicit altivec on el5/ppc
  115. * Mon Mar 31 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-1
  116. - New upstream release. This release fixes a critical regression
  117. * Fri Mar 28 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.5.1-1
  118. - New upstream release
  119. - Updated nopprof patch to match new release
  120. - Fixed a few bogus changelog entries
  121. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-2
  122. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  123. * Fri Jun 07 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.4.0-1
  124. - New upstream release
  125. * Mon Mar 11 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.3.1-1
  126. - New upstream release
  127. - Dropped s390 patch, it's in upstream now.
  128. * Fri Jan 25 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.3.0-1
  129. - New upstream release
  130. * Mon Nov 19 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.2.0-1
  131. - New upstream release
  132. * Tue Oct 23 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.1.0-1
  133. - New upstream release
  134. - Removed ptmalloc_lock_all patch, it is merged upstream
  135. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-3
  136. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  137. * Thu May 24 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-2
  138. - Added a patch from upstream, fixing a crash in ptmalloc_lock_all,
  139. closing #824646
  140. * Mon May 14 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-1
  141. - New upstream release
  142. - Updated no_pprof patch to match new release
  143. - Updated s390 patch to match new relase
  144. - Added make check
  145. - Added new script jemalloc.sh
  146. - Added a patch for atomic operations on epel5/ppc
  147. * Sat Apr 21 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 2.2.5-5
  148. - Improve ARM patch
  149. * Fri Apr 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.2.5-4
  150. - no attomics on armv5tel
  151. * Wed Feb 08 2012 Dan Horák <dan[at]danny.cz> - 2.2.5-3
  152. - substitute version information in the header (#788517)
  153. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-2
  154. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  155. * Sun Nov 06 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.5-1
  156. - New upstream release, closes #75618
  157. * Sun Nov 06 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.4-1
  158. - New upstream release
  159. * Thu Oct 13 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.3-1
  160. - New upstream release, closes #735057
  161. * Mon Aug 01 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.2-1
  162. - New upstream release, closes #727103
  163. - Updated no_pprof patch for 2.2.2
  164. * Thu Mar 31 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.1-1
  165. - New upstream release
  166. * Sun Mar 27 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.0-1
  167. - New upstream release
  168. - Updated no_pprof patch for 2.2.0
  169. * Tue Mar 15 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-2
  170. - New upstream release
  171. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
  172. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  173. * Tue Feb 01 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.1-1
  174. - New upstream release
  175. * Wed Jan 05 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.0-1
  176. - New upstream release
  177. - Updated patch to remove pprof
  178. - Added html doc and xsltproc as a requirement to build it
  179. * Sat Dec 11 2010 Dan Horák <dan[at]danny.cz> - 2.0.1-3
  180. - fix build on s390
  181. * Thu Nov 18 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.0.1-2
  182. - Added a patch that removes pprof, as it already exists in the
  183. google-perftools package
  184. - Cosmetic fixes as requested in the package review (rhbz#653682)
  185. * Mon Nov 15 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.0.1-1
  186. - First cut of an rpm distribution of jemalloc