hiredis-vl.spec 6.2 KB

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