jemalloc-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. Name: jemalloc
  2. Version: 5.0.1
  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. * Sat Dec 02 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.0.1-1
  74. - new upstream release.
  75. * Thu Mar 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.5.0-1
  76. - new upstream release.
  77. * Wed Dec 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.4.0-1
  78. - new upstream release.
  79. * Fri Jul 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.2.1-1
  80. - new upstream release.
  81. * Wed May 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.1.1-1
  82. - new upstream release.
  83. * Fri Oct 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.0.4-2
  84. - initial build for Vine Linux.
  85. * Sat Oct 24 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.4-1
  86. - New upstream release
  87. * Fri Sep 25 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.3-1
  88. - New upstream release
  89. - Removed oom test patch, it has been fixed upstream
  90. * Thu Sep 24 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.2-2
  91. - oom test also fails on 32bit ppc, so patch it out there as well
  92. * Tue Sep 22 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.2-1
  93. - New upstream release
  94. - Added a patch removing a non-critical test that fails on i386
  95. - Removed now included negative bitshift patch.
  96. * Wed Aug 19 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.0-1
  97. - New upstream release
  98. - Removed the no-pprof patch, as jemalloc now comes with its own prof variant
  99. - Removed atomic.h patch for armv5tel. jemalloc now provides a specific
  100. variant for armv5tel
  101. - Added a patch from upstream for errnous bitshift by negative amounts on pagesize >8KiB
  102. - Added -lrt to LDFLAGS for rhel<7
  103. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-9
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  105. * Mon Aug 18 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-8
  106. - valgrind-devel is not available on s390, closes #1131014
  107. * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-7
  108. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  109. * Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-6
  110. - bz #1106933 fix only for fedora 21 and above
  111. * Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-5
  112. - Added valgrind-devel to BuildRequires, fixing bz #974270
  113. * Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-4
  114. - Added an i686 build fixing bz #1106933
  115. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-3
  116. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  117. * Tue Apr 01 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-2
  118. - Patch that removes explicit altivec on el5/ppc
  119. * Mon Mar 31 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-1
  120. - New upstream release. This release fixes a critical regression
  121. * Fri Mar 28 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.5.1-1
  122. - New upstream release
  123. - Updated nopprof patch to match new release
  124. - Fixed a few bogus changelog entries
  125. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-2
  126. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  127. * Fri Jun 07 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.4.0-1
  128. - New upstream release
  129. * Mon Mar 11 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.3.1-1
  130. - New upstream release
  131. - Dropped s390 patch, it's in upstream now.
  132. * Fri Jan 25 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.3.0-1
  133. - New upstream release
  134. * Mon Nov 19 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.2.0-1
  135. - New upstream release
  136. * Tue Oct 23 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.1.0-1
  137. - New upstream release
  138. - Removed ptmalloc_lock_all patch, it is merged upstream
  139. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-3
  140. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  141. * Thu May 24 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-2
  142. - Added a patch from upstream, fixing a crash in ptmalloc_lock_all,
  143. closing #824646
  144. * Mon May 14 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-1
  145. - New upstream release
  146. - Updated no_pprof patch to match new release
  147. - Updated s390 patch to match new relase
  148. - Added make check
  149. - Added new script jemalloc.sh
  150. - Added a patch for atomic operations on epel5/ppc
  151. * Sat Apr 21 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 2.2.5-5
  152. - Improve ARM patch
  153. * Fri Apr 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.2.5-4
  154. - no attomics on armv5tel
  155. * Wed Feb 08 2012 Dan Horák <dan[at]danny.cz> - 2.2.5-3
  156. - substitute version information in the header (#788517)
  157. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-2
  158. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  159. * Sun Nov 06 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.5-1
  160. - New upstream release, closes #75618
  161. * Sun Nov 06 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.4-1
  162. - New upstream release
  163. * Thu Oct 13 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.3-1
  164. - New upstream release, closes #735057
  165. * Mon Aug 01 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.2-1
  166. - New upstream release, closes #727103
  167. - Updated no_pprof patch for 2.2.2
  168. * Thu Mar 31 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.1-1
  169. - New upstream release
  170. * Sun Mar 27 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.0-1
  171. - New upstream release
  172. - Updated no_pprof patch for 2.2.0
  173. * Tue Mar 15 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-2
  174. - New upstream release
  175. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
  176. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  177. * Tue Feb 01 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.1-1
  178. - New upstream release
  179. * Wed Jan 05 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.0-1
  180. - New upstream release
  181. - Updated patch to remove pprof
  182. - Added html doc and xsltproc as a requirement to build it
  183. * Sat Dec 11 2010 Dan Horák <dan[at]danny.cz> - 2.0.1-3
  184. - fix build on s390
  185. * Thu Nov 18 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.0.1-2
  186. - Added a patch that removes pprof, as it already exists in the
  187. google-perftools package
  188. - Cosmetic fixes as requested in the package review (rhbz#653682)
  189. * Mon Nov 15 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.0.1-1
  190. - First cut of an rpm distribution of jemalloc