summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2017-04-26 15:43:05 (GMT)
committerJakub Bogusz2017-04-26 15:43:05 (GMT)
commitf663b7dddd76b1c88b438de48bc62fa37dd155a4 (patch)
treec8907ff2e7c3e254b2b083a0a0fee040386e7390
parent0a8e5a5e6651c48d5c7ac87c8f637e18f63a3e6f (diff)
downloadrhash-f663b7dddd76b1c88b438de48bc62fa37dd155a4.zip
rhash-f663b7dddd76b1c88b438de48bc62fa37dd155a4.tar.gz
- updated to 1.3.4
-rw-r--r--rhash.spec23
1 files changed, 18 insertions, 5 deletions
diff --git a/rhash.spec b/rhash.spec
index dd35bb3..6e36c8b 100644
--- a/rhash.spec
+++ b/rhash.spec
@@ -1,12 +1,12 @@
Summary: RHash - Recursive Hasher
Summary(pl.UTF-8): RHash - rekursywne obliczanie funkcji skrótu
Name: rhash
-Version: 1.3.3
+Version: 1.3.4
Release: 1
License: MIT
Group: Applications/File
Source0: http://downloads.sourceforge.net/rhash/%{name}-%{version}-src.tar.gz
-# Source0-md5: 0e3c758b5e4b25e29e0094a33a9d2764
+# Source0-md5: 0b51010604659e9e99f6307b053ba13b
URL: http://rhash.anz.ru/
BuildRequires: openssl-devel
BuildRequires: sed >= 4.0
@@ -106,7 +106,12 @@ rm -rf $RPM_BUILD_ROOT
MANDIR=%{_mandir} \
DESTDIR=$RPM_BUILD_ROOT
-%{__chmod} 755 $RPM_BUILD_ROOT/%{_libdir}/librhash.so*
+# missing from top-level Makefile
+%{__make} -C librhash install-so-link \
+ LIBDIR=%{_libdir} \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__chmod} 755 $RPM_BUILD_ROOT%{_libdir}/librhash.so*
%clean
rm -rf $RPM_BUILD_ROOT
@@ -127,8 +132,16 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/tth-hash
%attr(755,root,root) %{_bindir}/whirlpool-hash
-%{_sysconfdir}/%{name}rc
-%{_mandir}/man1/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rhashrc
+%{_mandir}/man1/ed2k-link.1*
+%{_mandir}/man1/gost-hash.1*
+%{_mandir}/man1/has160-hash.1*
+%{_mandir}/man1/magnet-link.1*
+%{_mandir}/man1/rhash.1*
+%{_mandir}/man1/sfv-hash.1*
+%{_mandir}/man1/tiger-hash.1*
+%{_mandir}/man1/tth-hash.1*
+%{_mandir}/man1/whirlpool-hash.1*
%files libs
%defattr(644,root,root,755)