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