ssdeep-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. # spec file for ssdeep
  2. #
  3. # Copyright (c) 2014-2018 Remi Collet
  4. # License: CC-BY-SA
  5. # http://creativecommons.org/licenses/by-sa/4.0/
  6. #
  7. # Please, preserve the changelog entries
  8. #
  9. Name: ssdeep
  10. Version: 2.14.1
  11. Release: 8%{?_dist_release}
  12. Summary: Compute context triggered piecewise hashes
  13. Group: Development/Libraries
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. License: GPLv2+
  17. URL: https://ssdeep-project.github.io/ssdeep/
  18. Source0: https://github.com/ssdeep-project/ssdeep/releases/download/release-%{version}/ssdeep-%{version}.tar.gz
  19. BuildRequires: gcc
  20. BuildRequires: gcc-c++
  21. Requires: %{name}-libs%{?_isa} = %{version}-%{release}
  22. %description
  23. ssdeep is a program for computing context triggered piecewise hashes (CTPH).
  24. Also called fuzzy hashes, CTPH can match inputs that have homologies.
  25. Such inputs have sequences of identical bytes in the same order, although bytes
  26. in between these sequences may be different in both content and length.
  27. %package devel
  28. Summary: Development files for libfuzzy
  29. Requires: %{name}-libs%{?_isa} = %{version}-%{release}
  30. %description devel
  31. The %{name}-devel package contains library and header files for
  32. developing applications that use libfuzzy.
  33. %package libs
  34. Summary: Runtime libfuzzy library
  35. %description libs
  36. The %{name}-libs package contains libraries needed by applications
  37. that use libfuzzy.
  38. %prep
  39. %setup -q
  40. # avoid autotools being re-run
  41. touch -r aclocal.m4 configure configure.ac
  42. %build
  43. %configure \
  44. --disable-auto-search \
  45. --disable-static
  46. # rpath removal
  47. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  48. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  49. make %{?_smp_mflags}
  50. %install
  51. make install DESTDIR=%{buildroot}
  52. rm %{buildroot}%{_libdir}/libfuzzy.la
  53. %post libs -p /sbin/ldconfig
  54. %postun libs -p /sbin/ldconfig
  55. %files
  56. %doc AUTHORS
  57. %{_bindir}/%{name}
  58. %{_mandir}/man1/%{name}.*
  59. %files devel
  60. %doc FILEFORMAT NEWS README TODO
  61. %{_includedir}/fuzzy.h
  62. %{_includedir}/edit_dist.h
  63. %{_libdir}/libfuzzy.so
  64. %files libs
  65. %license COPYING
  66. %{_libdir}/libfuzzy.so.2*
  67. %changelog
  68. * Wed Oct 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.14.1-8
  69. - initial build for Vine Linux.
  70. * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.1-7
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  72. * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.1-6
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  74. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.1-5
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  76. * Tue Feb 20 2018 Remi Collet <remi@remirepo.net> - 2.14.1-4
  77. - missing BR on C/C++ compilers
  78. * Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 2.14.1-3
  79. - drop ldconfig scriptlets
  80. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.1-2
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  82. * Tue Nov 7 2017 Remi Collet <remi@fedoraproject.org> - 2.14.1-1
  83. - update to 2.14.1
  84. * Fri Sep 15 2017 Remi Collet <remi@fedoraproject.org> - 2.14-1
  85. - update to 2.14
  86. - sources from github
  87. - fix project URL
  88. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-6
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  90. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-5
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  92. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-4
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  94. * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-3
  95. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  96. * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-2
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  98. * Tue May 5 2015 Remi Collet <remi@fedoraproject.org> - 2.13-1
  99. - update to 2.13
  100. * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.12-2
  101. - Rebuilt for GCC 5 C++11 ABI change
  102. * Sun Oct 26 2014 Remi Collet <remi@fedoraproject.org> - 2.12-1
  103. - update to 2.12
  104. * Mon Sep 29 2014 Remi Collet <remi@fedoraproject.org> - 2.11.1-1
  105. - update to 2.11.1 (no change)
  106. - fix license handling
  107. * Fri Sep 12 2014 Remi Collet <remi@fedoraproject.org> - 2.11-1
  108. - update to 2.11
  109. * Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-4
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  111. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-3
  112. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  113. * Wed Jan 22 2014 Remi Collet <remi@fedoraproject.org> - 2.10-2
  114. - cleanup build path (comment from review #1056460)
  115. * Wed Jan 22 2014 Remi Collet <remi@fedoraproject.org> - 2.10-1
  116. - initial package