2024-01-05 17:25:39 +01:00
|
|
|
Name: rhash
|
2024-01-09 18:19:22 +01:00
|
|
|
Version: 1.4.4
|
2024-01-05 17:25:39 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:25:39 +01:00
|
|
|
Summary: Great utility for computing hash sums
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:25:39 +01:00
|
|
|
URL: https://sourceforge.net/projects/rhash/
|
2024-01-05 17:25:39 +01:00
|
|
|
Source: https://github.com/rhash/RHash.git/v%{version}/RHash-%{version}.tar.bz2
|
|
|
|
License: MIT, BSD, GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Great utility for computing hash sums.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n RHash-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
./configure \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--mandir=%{_mandir}
|
|
|
|
|
2024-01-09 18:19:22 +01:00
|
|
|
%make
|
2024-01-05 17:25:39 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-09 18:19:22 +01:00
|
|
|
%makeinstall install install-lib-headers
|
2024-01-05 17:25:39 +01:00
|
|
|
|
2024-01-09 18:19:22 +01:00
|
|
|
#chmod +x %{buildroot}%{_libdir}/librhash.so.*
|
2024-01-05 17:25:39 +01:00
|
|
|
|
2024-01-09 18:19:22 +01:00
|
|
|
ln -s librhash.so.1 %{buildroot}%{_libdir}/librhash.so
|
2024-01-05 17:25:39 +01:00
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 17:25:39 +01:00
|
|
|
%files
|
|
|
|
#-f %{name}.lang
|
2024-01-05 17:25:39 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/rhashrc
|
|
|
|
%{_bindir}/ed2k-link
|
|
|
|
%{_bindir}/edonr256-hash
|
|
|
|
%{_bindir}/edonr512-hash
|
2024-01-05 17:25:39 +01:00
|
|
|
%{_bindir}/gost12-256-hash
|
|
|
|
%{_bindir}/gost12-512-hash
|
2024-01-05 17:25:39 +01:00
|
|
|
%{_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*
|
|
|
|
%{_mandir}/man1/edonr256-hash.1*
|
|
|
|
%{_mandir}/man1/edonr512-hash.1*
|
2024-01-05 17:25:39 +01:00
|
|
|
%{_mandir}/man1/gost12-256-hash.1*
|
|
|
|
%{_mandir}/man1/gost12-512-hash.1*
|
2024-01-05 17:25:39 +01:00
|
|
|
%{_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*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/librhash.so.*
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/rhash.h
|
|
|
|
%{_includedir}/rhash_torrent.h
|
2024-01-09 18:19:22 +01:00
|
|
|
#%{_libdir}/librhash.a
|
2024-01-05 17:25:39 +01:00
|
|
|
%{_libdir}/librhash.so
|
2024-01-05 17:25:39 +01:00
|
|
|
%doc ChangeLog
|
2024-01-05 17:25:39 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-09 18:19:22 +01:00
|
|
|
* Thu Dec 28 2023 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:25:40 +01:00
|
|
|
* Fri Jun 17 2022 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:25:39 +01:00
|
|
|
* Fri Jul 16 2021 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:25:39 +01:00
|
|
|
* Mon Jan 11 2021 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:25:39 +01:00
|
|
|
* Sun Aug 23 2020 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:25:39 +01:00
|
|
|
* Wed May 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.9-2mamba
|
|
|
|
- fix missing library x permission
|
|
|
|
|
|
|
|
* Wed Jan 01 2020 Automatic Build System <autodist@mambasoft.it> 1.3.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:25:39 +01:00
|
|
|
* Mon Feb 04 2019 Automatic Build System <autodist@mambasoft.it> 1.3.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:25:39 +01:00
|
|
|
* Wed Jan 09 2019 Automatic Build System <autodist@mambasoft.it> 1.3.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:25:39 +01:00
|
|
|
* Sat Aug 04 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.6-2mamba
|
|
|
|
- fix headers installation
|
|
|
|
|
|
|
|
* Fri Aug 03 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.6-1mamba
|
|
|
|
- package created using the webbuild interface
|