diff --git a/.cvsignore b/.cvsignore index e69de29..d4bfdbc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +isomd5sum-1.0.1.tar.bz2 diff --git a/isomd5sum.spec b/isomd5sum.spec new file mode 100644 index 0000000..5c04354 --- /dev/null +++ b/isomd5sum.spec @@ -0,0 +1,61 @@ +%{!?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.1 +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 + +%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.1-1 +- Add some simple callback support in the library + +* Fri Dec 7 2007 Jeremy Katz - 1.0-1 +- Initial build. + diff --git a/sources b/sources index e69de29..5add38c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +499370511832fbde0e5894c5af1a02ed isomd5sum-1.0.1.tar.bz2