forked from pool/rhash
- Update to version 1.3.5:
* look for locales directory at PROGRAM_DIRECTORY\locale on Windows * look for config at PROGRAM_DIRECTORY\rhashrc on Windows OBS-URL: https://build.opensuse.org/package/show/network:utilities/rhash?expand=0&rev=5
This commit is contained in:
parent
be3fad9ef9
commit
ab776bbeab
@ -1,10 +1,10 @@
|
|||||||
Description: Install development files with shared library.
|
Description: Install development files with shared library.
|
||||||
Author: Kyrill Detinov <lazy.kent@opensuse.org>
|
Author: Kyrill Detinov <lazy.kent@opensuse.org>
|
||||||
Index: rhash-1.3.4/Makefile
|
Index: RHash-1.3.5/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- rhash-1.3.4.orig/Makefile
|
--- RHash-1.3.5.orig/Makefile
|
||||||
+++ rhash-1.3.4/Makefile
|
+++ RHash-1.3.5/Makefile
|
||||||
@@ -164,7 +164,7 @@ check: version.h
|
@@ -174,7 +174,7 @@ check: version.h
|
||||||
echo "version=$(VERSION)" > bindings/version.properties
|
echo "version=$(VERSION)" > bindings/version.properties
|
||||||
[ -s dist/rhash.1.html ]
|
[ -s dist/rhash.1.html ]
|
||||||
|
|
||||||
@ -13,12 +13,12 @@ Index: rhash-1.3.4/Makefile
|
|||||||
$(CC) $(OBJECTS) -o $@ $(ALLLDFLAGS)
|
$(CC) $(OBJECTS) -o $@ $(ALLLDFLAGS)
|
||||||
|
|
||||||
$(SHARED_TRG): $(OBJECTS) $(SHAREDLIB)
|
$(SHARED_TRG): $(OBJECTS) $(SHAREDLIB)
|
||||||
Index: rhash-1.3.4/librhash/Makefile
|
Index: RHash-1.3.5/librhash/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- rhash-1.3.4.orig/librhash/Makefile
|
--- RHash-1.3.5.orig/librhash/Makefile
|
||||||
+++ rhash-1.3.4/librhash/Makefile
|
+++ RHash-1.3.5/librhash/Makefile
|
||||||
@@ -43,13 +43,14 @@ lib-shared: $(SONAME)
|
@@ -49,13 +49,14 @@ dylib: $(DYNAME)
|
||||||
libs-all: lib-static lib-shared
|
dll: $(DLLNAME)
|
||||||
dist-clean: clean
|
dist-clean: clean
|
||||||
|
|
||||||
-install-lib-static: $(LIBRARY) install-headers
|
-install-lib-static: $(LIBRARY) install-headers
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:406662c4703bd4cb1caae26f32700951a5e12adf39f141d3f40e0b461b1e9e49
|
|
||||||
size 249357
|
|
3
rhash-1.3.5-src.tar.gz
Normal file
3
rhash-1.3.5-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:98e0688acae29e68c298ffbcdbb0f838864105f9b2bd8857980664435b1f1f2e
|
||||||
|
size 316867
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 16 14:09:59 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.3.5:
|
||||||
|
* look for locales directory at PROGRAM_DIRECTORY\locale on
|
||||||
|
Windows
|
||||||
|
* look for config at PROGRAM_DIRECTORY\rhashrc on Windows
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 13 08:09:55 UTC 2017 - mpluskal@suse.com
|
Tue Jun 13 08:09:55 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
40
rhash.spec
40
rhash.spec
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define major 0
|
%define major 0
|
||||||
Name: rhash
|
Name: rhash
|
||||||
Version: 1.3.4
|
Version: 1.3.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Recursive Hasher
|
Summary: Recursive Hasher
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -77,11 +77,11 @@ This package includes LibRHash development files.
|
|||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n RHash-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Don't run parallel make — it doesn't work.
|
# Don't run parallel make %{?_smp_mflags} — it doesn't work.
|
||||||
# Use OPTLDFLAGS="" not to strip binaries.
|
# Use OPTLDFLAGS="" not to strip binaries.
|
||||||
make \
|
make \
|
||||||
ADDCFLAGS="-DUSE_GETTEXT -rdynamic" \
|
ADDCFLAGS="-DUSE_GETTEXT -rdynamic" \
|
||||||
@ -111,23 +111,37 @@ make \
|
|||||||
%postun -n librhash%{major} -p /sbin/ldconfig
|
%postun -n librhash%{major} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%doc ChangeLog COPYING README
|
||||||
%doc ChangeLog COPYING README dist/rhash.1.html
|
|
||||||
%{_bindir}/*
|
|
||||||
%{_mandir}/man?/*
|
|
||||||
%config(noreplace) %{_sysconfdir}/rhashrc
|
%config(noreplace) %{_sysconfdir}/rhashrc
|
||||||
|
%{_sysconfdir}/rhashrc
|
||||||
|
%{_bindir}/ed2k-link
|
||||||
|
%{_bindir}/gost-hash
|
||||||
|
%{_bindir}/has160-hash
|
||||||
|
%{_bindir}/magnet-link
|
||||||
|
%{_bindir}/rhash
|
||||||
|
%{_bindir}/sfv-hash
|
||||||
|
%{_bindir}/tiger-hash
|
||||||
|
%{_bindir}/tth-hash
|
||||||
|
%{_bindir}/whirlpool-hash
|
||||||
|
%{_mandir}/man1/ed2k-link.1%{ext_man}
|
||||||
|
%{_mandir}/man1/gost-hash.1%{ext_man}
|
||||||
|
%{_mandir}/man1/has160-hash.1%{ext_man}
|
||||||
|
%{_mandir}/man1/magnet-link.1%{ext_man}
|
||||||
|
%{_mandir}/man1/rhash.1%{ext_man}
|
||||||
|
%{_mandir}/man1/sfv-hash.1%{ext_man}
|
||||||
|
%{_mandir}/man1/tiger-hash.1%{ext_man}
|
||||||
|
%{_mandir}/man1/tth-hash.1%{ext_man}
|
||||||
|
%{_mandir}/man1/whirlpool-hash.1%{ext_man}
|
||||||
|
|
||||||
%files -n librhash%{major}
|
%files -n librhash%{major}
|
||||||
%defattr(-,root,root,-)
|
%{_libdir}/librhash.so.%{major}*
|
||||||
%{_libdir}/*.so.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc ChangeLog COPYING README
|
%doc ChangeLog COPYING README
|
||||||
%{_includedir}/rhash*
|
%{_includedir}/rhash.h
|
||||||
%{_libdir}/*.so
|
%{_includedir}/rhash_torrent.h
|
||||||
|
%{_libdir}/librhash.so
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user