From ec6744a543231f74ea902e661f399c0af60accf6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:59:22 +0100 Subject: [PATCH] update to 1.0.10 [release 1.0.10-1mamba;Sat May 25 2013] --- README.md | 2 ++ isomd5sum.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 isomd5sum.spec diff --git a/README.md b/README.md index 8bb2ad6..ba9a1dd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # isomd5sum +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. + diff --git a/isomd5sum.spec b/isomd5sum.spec new file mode 100644 index 0000000..6a66846 --- /dev/null +++ b/isomd5sum.spec @@ -0,0 +1,72 @@ +Name: isomd5sum +Version: 1.0.10 +Release: 1mamba +Summary: ISO9660 checksum utilities +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.finnie.org/software/isomd5sum +Source: http://git.fedorahosted.org/cgit/isomd5sum.git/snapshot/isomd5sum-%{version}.tar.bz2 +#Source: https://fedorahosted.org/releases/i/s/isomd5sum/isomd5sum-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpopt-devel +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +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 +%{python_sitearch}/pyisomd5sum.so +%{_mandir}/man1/checkisomd5.1.gz +%{_mandir}/man1/implantisomd5.1.gz +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/libcheckisomd5.h +%{_includedir}/libimplantisomd5.h +%{_libdir}/libcheckisomd5.a +%{_libdir}/libimplantisomd5.a + +%changelog +* Sat May 25 2013 Silvan Calarco 1.0.10-1mamba +- update to 1.0.10 + +* Thu Nov 01 2012 Silvan Calarco 1.0.9-1mamba +- package created by autospec