isomd5sum/isomd5sum.spec

93 lines
2.8 KiB
RPMSpec
Raw Normal View History

Name: isomd5sum
Version: 1.2.5
Release: 1mamba
Summary: ISO9660 checksum utilities
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/rhinstaller/isomd5sum
Source: https://github.com/rhinstaller/isomd5sum/archive/%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpopt-devel
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
%description
isomd5sum is a collection of utilities for implanting and checking MD5 checksums within an ISO9660 image. A checksum is implanted in an image using the implantisomd5 utility, and the corresponding checkisomd5 utility can be used to verify burned CDs are error-free. Also included is a Python extension for performing these tasks.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
%build
%make CPPFLAGS+="-Wno-format"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%ifarch x86_64 aarch64
install -d %{buildroot}%{_prefix}/lib/
mv %{buildroot}%{_libdir}/python* %{buildroot}%{_prefix}/lib/
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/checkisomd5
%{_bindir}/implantisomd5
%{python3_sitelib}/pyisomd5sum.so
%{_mandir}/man1/checkisomd5.1*
%{_mandir}/man1/implantisomd5.1*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/libcheckisomd5.h
%{_includedir}/libimplantisomd5.h
%{_libdir}/libcheckisomd5.a
%{_libdir}/libimplantisomd5.a
%{_datadir}/pkgconfig/isomd5sum.pc
%changelog
* Wed Jun 26 2024 Automatic Build System <autodist@openmamba.org> 1.2.5-1mamba
- automatic version update by autodist
* Sun Feb 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.4-1mamba
- update to 1.2.4
* Wed Oct 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-2mamba
- rebuilt with python3 == 3.11
* Wed May 23 2018 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic version update by autodist
* Sat Mar 24 2018 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Sun Jun 25 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.2.1-1mamba
- update to 1.2.1
* Sat Oct 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.12-1mamba
- update to 1.0.12
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.10-1mamba
- update to 1.0.10
* Thu Nov 01 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-1mamba
- package created by autospec