142 lines
3.9 KiB
RPMSpec
142 lines
3.9 KiB
RPMSpec
Name: rhash
|
|
Version: 1.4.5
|
|
Release: 1mamba
|
|
Summary: Great utility for computing hash sums
|
|
Group: System/Tools
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://rhash.sourceforge.io/
|
|
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}
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall install install-lib-headers
|
|
|
|
#chmod +x %{buildroot}%{_libdir}/librhash.so.*
|
|
|
|
ln -s librhash.so.1 %{buildroot}%{_libdir}/librhash.so
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
%files
|
|
#-f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%config(noreplace) %{_sysconfdir}/rhashrc
|
|
%{_bindir}/ed2k-link
|
|
%{_bindir}/edonr256-hash
|
|
%{_bindir}/edonr512-hash
|
|
%{_bindir}/gost12-256-hash
|
|
%{_bindir}/gost12-512-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*
|
|
%{_mandir}/man1/edonr256-hash.1*
|
|
%{_mandir}/man1/edonr512-hash.1*
|
|
%{_mandir}/man1/gost12-256-hash.1*
|
|
%{_mandir}/man1/gost12-512-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*
|
|
%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
|
|
#%{_libdir}/librhash.a
|
|
%{_libdir}/librhash.so
|
|
%doc ChangeLog
|
|
|
|
%changelog
|
|
* Sat Oct 19 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.5-1mamba
|
|
- update to 1.4.5
|
|
|
|
* Thu Dec 28 2023 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jun 17 2022 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jul 16 2021 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jan 11 2021 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 23 2020 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* Mon Feb 04 2019 Automatic Build System <autodist@mambasoft.it> 1.3.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 09 2019 Automatic Build System <autodist@mambasoft.it> 1.3.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|