%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Summary: Utilities for working with md5sum implanted in ISO images Name: isomd5sum Version: 1.0.2 Release: 1 Epoch: 1 License: GPLv2+ Group: Applications/System URL: http://git.fedoraproject.org Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: python-devel popt-devel %description The isomd5sum package contains utilities for implanting and verifying an md5sum implanted into an ISO9660 image. %package devel Summary: Development headers and library for using isomd5sum Group: Development/System Requires: %{name} = %{epoch}:%{version}-%{release} %description devel This contains header files and a library for working with the isomd5sum implanting and checking. %prep %setup -q %build make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING /usr/bin/implantisomd5 /usr/bin/checkisomd5 %{python_sitearch}/pyisomd5sum.so %files devel %defattr(-,root,root,-) %{_includedir}/*.h %{_libdir}/*.a %changelog * Mon Dec 10 2007 Jeremy Katz - 1:1.0.2-1 - The "fix the build after changing the API" release * Mon Dec 10 2007 Jeremy Katz - 1:1.0.1-1 - Add some simple callback support in the library * Fri Dec 7 2007 Jeremy Katz - 1.0-1 - Initial build.