Sisyphus repository
Last update: 9 march 2021 | SRPMs: 17847 | Visits: 20425812
en ru br
ALT Linux repos
S:1.2.3-alt2
5.0: 1.0.4-alt0.20080218
4.1: 1.0.4-alt0.20080218

Group :: System/Base
RPM: isomd5sum

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: isomd5sum
Version: 1.2.3
Release: alt2

Summary: Utilities to implant/verify md5sum in ISO images
License: %gpl2plus
Group: System/Base

Url: https://github.com/rhinstaller/isomd5sum
Source: %name-%version.tar
Patch: 0001-Makefile-getconf-LIBDIR-instead-of-arch-list.patch

BuildRequires(pre): rpm-build-licenses rpm-build-python3
BuildRequires: libpopt-devel python3-devel

%description
This package contains utilities for implanting and verifying
MD5 checksum in an ISO9660 image.

%package -n python3-module-%name
Summary: Python module for isomd5sum
Group: Development/Python
Requires: %name = %EVR

%description -n python3-module-%name
This package contains python module for implanting and verifying
MD5 checksum in an ISO9660 image.

%package devel
Summary: Development headers and library for isomd5sum
Group: Development/C
Requires: %name = %EVR

%description devel
This package contains header files and a library for implanting
and verifying MD5 checksum in an ISO9660 image.

%prep
%setup
%patch -p1

%build
PYTHON=python3 make checkisomd5 implantisomd5 pyisomd5sum.so

%install
PYTHON=python3 %makeinstall_std

%files
%doc COPYING
%_bindir/implantisomd5
%_bindir/checkisomd5
%_mandir/man*/*

%files -n python3-module-%name
%python3_sitelibdir/pyisomd5sum.so

%files devel
%_includedir/*.h
%_libdir/*.a
%_datadir/pkgconfig/isomd5sum.pc

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin