Utilities for working with sm3sum implanted in ISO images
isosm3sum provides a way of making use of the ISO9660 application data area to store sm3sum data about the iso. This allows you to check the iso given nothing more than the iso itself.
Software implementation based on isomd5sum.
Use the following command to compile:
cmake -G 'Unix Makefiles' -B build .
make -j$(nproc) -C build
Use the following command to install the compilation result into /path/to/you/dir:
make -C build install DESTDIR=/path/to/you/dir
Create the src.rpm with the following command:
make srpm -C build
You will see from the screen output, the path where the src.rpm file is stored:
Source RPM: /path/to/isosm3sum/build/SRPMS/isosm3sum-*-1.src.rpm
Now you can use the rpmbuild command to build out the rpm packages:
rpmbuild --rebuild /path/to/isosm3sum/build/SRPMS/isosm3sum-*-1.src.rpm
If you want to execute unit tests during the build process, add the parameter "--with tests":
rpmbuild --rebuild /path/to/isosm3sum/build/SRPMS/isosm3sum-*-1.src.rpm --with tests