hiredis-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. Name: hiredis
  2. Summary: Minimalistic C client library for Redis
  3. Version: 1.2.0
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: BSD
  9. URL: https://github.com/redis/hiredis
  10. Source0: https://github.com/redis/hiredis/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
  11. # https://github.com/redis/hiredis/pull/554
  12. #Patch0: 0001-build-do-not-assume-that-INSTALL-is-cp.patch
  13. BuildRequires: gcc
  14. BuildRequires: redis
  15. %description
  16. Hiredis is a minimalistic C client library for the Redis database.
  17. %package devel
  18. Summary: Development files for %{name}
  19. Group: programming
  20. Requires: %{name}%{?_isa} = %{version}-%{release}
  21. %description devel
  22. This package contains libraries and header files for
  23. developing applications that use %{name}.
  24. %debug_package
  25. %prep
  26. %autosetup -p1
  27. %build
  28. %make_build PREFIX="%{_prefix}" LIBRARY_PATH="%{_lib}" \
  29. DEBUG="%{optflags}" LDFLAGS="%{?__global_ldflags}"
  30. %install
  31. %make_install PREFIX="%{_prefix}" LIBRARY_PATH="%{_lib}"
  32. find %{buildroot} -name '*.a' -delete -print
  33. # I don't believe it's stable, so keep previous schema here.
  34. cd %{buildroot}%{_libdir} && ldconfig -N -n .
  35. %check
  36. # TODO: Koji isolated environment may cause some tests fail to pass.
  37. make check || true
  38. %files
  39. %license COPYING
  40. %{_libdir}/libhiredis.so.*
  41. %files devel
  42. %doc CHANGELOG.md README.md
  43. %{_includedir}/%{name}/
  44. %{_libdir}/libhiredis.so
  45. %{_libdir}/pkgconfig/hiredis.pc
  46. %changelog
  47. * Wed Jul 12 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.0-1
  48. - new upstream release.
  49. * Wed Nov 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.1.0-1
  50. - new upstream release.
  51. * Thu Oct 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.2-1
  52. - new upstream release.
  53. - dropped ldconfig scriptlets.
  54. * Mon Aug 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.0-1
  55. - new upstream release.
  56. * Tue May 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.14.1-1
  57. - new upstream release.
  58. * Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.14.0-1
  59. - initial build for Vine Linux.
  60. - new upstream release.
  61. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.3-11
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  63. * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.3-10
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  65. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.3-9
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  67. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.3-8
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  69. * Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.3-7
  70. - Switch to %%ldconfig_scriptlets
  71. * Mon Oct 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.3-6
  72. - Fix FTBFS
  73. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.3-5
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  75. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.3-4
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  77. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.3-3
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  79. * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.3-2
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  81. * Sat Sep 19 2015 Christopher Meng <rpm@cicku.me> - 0.13.3-1
  82. - Update to 0.13.3
  83. * Thu Aug 27 2015 Christopher Meng <rpm@cicku.me> - 0.13.2-1
  84. - Update to 0.13.2
  85. * Fri Jul 31 2015 Christopher Meng <rpm@cicku.me> - 0.13.1-1
  86. - Update to 0.13.1
  87. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-3
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  89. * Wed Feb 04 2015 Petr Machata <pmachata@redhat.com> - 0.12.1-2
  90. - Bump for rebuild.
  91. * Fri Jan 30 2015 Christopher Meng <rpm@cicku.me> - 0.12.1-1
  92. - Update to 0.12.1
  93. * Fri Jan 30 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.12.0-4
  94. - Again build for f22-boost
  95. * Fri Jan 30 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.12.0-3
  96. - Once build on f22
  97. * Tue Jan 27 2015 David Tardon <dtardon@redhat.com> - 0.12.0-2
  98. - install all headers
  99. * Fri Jan 23 2015 Christopher Meng <rpm@cicku.me> - 0.12.0-1
  100. - Update to 0.12.0
  101. * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-5
  102. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  103. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-4
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  105. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-3
  106. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  107. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-2
  108. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  109. * Sat Sep 29 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.11.0-1
  110. - Updated to 0.11.0
  111. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-4
  112. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  113. * Fri Jan 20 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.10.1-3
  114. - Removed Requires redis.
  115. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
  116. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  117. * Fri Dec 30 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.10.1-1
  118. - Updated to upstream 0.10.1-28-gd5d8843.
  119. * Mon May 16 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.10.0-3
  120. - Removed INSTALL_LIB from install target as we use INSTALL_LIBRARY_PATH.
  121. - Use 'client library' in Summary.
  122. * Wed May 11 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.10.0-2
  123. - Updated devel sub-package description.
  124. - Added optimization flags.
  125. - Remove manual installation of shared objects.
  126. - Use upstream .tar.gz sources.
  127. * Tue May 10 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.10.0-1.gitdf203bc328
  128. - Updated to upstream gitdf203bc328.
  129. - Added TODO to the files.
  130. - Updated to use libhiredis.so.0, libhiredis.so.0.10.
  131. * Fri Apr 29 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.9.2-1
  132. - First release.