f6b8a1
Summary: Utilities for working with md5sum implanted in ISO images
f6b8a1
Name: isomd5sum
f6b8a1
Version: 1.0.10
f6b8a1
Release: 5%{?dist}
f6b8a1
Epoch: 1
f6b8a1
License: GPLv2+
f6b8a1
Group: Applications/System
f6b8a1
URL: http://git.fedorahosted.org/git/?p=isomd5sum.git;a=summary
f6b8a1
Source0: http://fedorahosted.org/releases/i/s/isomd5sum/%{name}-%{version}.tar.bz2
f6b8a1
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
f6b8a1
BuildRequires: popt-devel
f6b8a1
Patch0: 0001-Add-aarch64-1041320.patch
f6b8a1
Patch1: 0002-Add-ppc64le-1125552.patch
f6b8a1
f6b8a1
%description
f6b8a1
The isomd5sum package contains utilities for implanting and verifying
f6b8a1
an md5sum implanted into an ISO9660 image.
f6b8a1
f6b8a1
%package devel
f6b8a1
Summary: Development headers and library for using isomd5sum 
f6b8a1
Group: Development/System
f6b8a1
Requires: %{name} = %{epoch}:%{version}-%{release}
f6b8a1
Provides: %{name}-static = %{epoch}:%{version}-%{release}
f6b8a1
f6b8a1
%description devel
f6b8a1
This contains header files and a library for working with the isomd5sum
f6b8a1
implanting and checking.
f6b8a1
f6b8a1
%package -n python-isomd5sum
f6b8a1
Summary: Python bindings for isomd5sum
f6b8a1
BuildRequires: python-devel
f6b8a1
f6b8a1
%description -n python-isomd5sum
f6b8a1
Python bindings for isomd5sum
f6b8a1
f6b8a1
%prep
f6b8a1
%setup -q
f6b8a1
%patch0 -p1
f6b8a1
%patch1 -p1
f6b8a1
f6b8a1
%build
f6b8a1
CFLAGS="$RPM_OPT_FLAGS -Wno-strict-aliasing"; export CFLAGS
f6b8a1
make checkisomd5 implantisomd5 pyisomd5sum.so
f6b8a1
f6b8a1
%install
f6b8a1
rm -rf $RPM_BUILD_ROOT
f6b8a1
make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel install-python
f6b8a1
f6b8a1
%clean
f6b8a1
rm -rf $RPM_BUILD_ROOT
f6b8a1
f6b8a1
f6b8a1
%files
f6b8a1
%defattr(-,root,root,-)
f6b8a1
%doc COPYING
f6b8a1
/usr/bin/implantisomd5
f6b8a1
/usr/bin/checkisomd5
f6b8a1
%{_mandir}/man*/*
f6b8a1
f6b8a1
%files devel
f6b8a1
%defattr(-,root,root,-)
f6b8a1
%{_includedir}/*.h
f6b8a1
%{_libdir}/*.a
f6b8a1
f6b8a1
%files -n python-isomd5sum
f6b8a1
%defattr(-,root,root,-)
f6b8a1
%{python_sitearch}/pyisomd5sum.so
f6b8a1
f6b8a1
%changelog
f6b8a1
* Tue Aug 26 2014 Radek Vykydal <rvykydal@redhat.com> - 1:1.0.10-5
f6b8a1
- Add ppc64le (aldyh@redhat.com)
f6b8a1
  Resolves: rhbz#1125552
f6b8a1
f6b8a1
* Tue Jan 28 2014 Radek Vykydal <rvykydal@redhat.com> - 1:1.0.10-4
f6b8a1
- Add aarch64 (bcl)
f6b8a1
  Resolves: rhbz#1041320
f6b8a1
f6b8a1
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1:1.0.10-3
f6b8a1
- Mass rebuild 2014-01-24
f6b8a1
f6b8a1
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:1.0.10-2
f6b8a1
- Mass rebuild 2013-12-27
f6b8a1
f6b8a1
* Tue Feb 26 2013 Brian C. Lane <bcl@redhat.com> 1.0.10-1
f6b8a1
- Fix for gcc type-punned and sizeof pointer warnings. (bcl)
f6b8a1
- Add exit code 2 for user abort (#907600) (bcl)
f6b8a1
- Cleanup TABs and update Copyrights (bcl)
f6b8a1
- Standardize *FLAGS in Makefile (ryan)
f6b8a1
f6b8a1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.9-3
f6b8a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f6b8a1
f6b8a1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.9-2
f6b8a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f6b8a1
f6b8a1
* Fri Mar 09 2012 Brian C. Lane <bcl@redhat.com> 1.0.9-1
f6b8a1
- Add python-isomd5sum package with python bindings
f6b8a1
- Add callback and interrupt support to the python library
f6b8a1
- Add RPM_OPT_FLAGS to CFLAGS and update makefile to use CFLAGS from environment
f6b8a1
f6b8a1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.7-2
f6b8a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f6b8a1
f6b8a1
* Fri Apr 8 2011 Radek Vykydal <rvykydal@fedoraproject.org> - 1:1.0.7-1
f6b8a1
- Allocate one more char for string sentinel (#692135) (rvykydal)
f6b8a1
f6b8a1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.6-3
f6b8a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f6b8a1
f6b8a1
* Wed Jun 30 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1:1.0.6-2
f6b8a1
- Add virtual -static package to -devel package (#609607).
f6b8a1
f6b8a1
* Fri Mar 26 2010 Radek Vykydal <rvykydal@redhat.com> - 1:1.0.6-1
f6b8a1
- Add abort check feature (#555107) (dpierce, rvykydal)
f6b8a1
  Changes prototype of exported checkMediaFile function.
f6b8a1
- Fix exit value of checkisomd5 (rvykydal)
f6b8a1
- Remove output to stderr from library (#576251) (bcl)
f6b8a1
- Use separate return value for image not found (#578160) (bcl)
f6b8a1
f6b8a1
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.5-3
f6b8a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f6b8a1
f6b8a1
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.5-2
f6b8a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f6b8a1
f6b8a1
* Thu Jan  8 2009 Jeremy Katz <katzj@redhat.com> - 1:1.0.5-1
f6b8a1
- Don't install the unused python module (#479005)
f6b8a1
f6b8a1
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1:1.0.4-4
f6b8a1
- Rebuild for Python 2.6
f6b8a1
f6b8a1
* Wed Nov  5 2008 Hans de Goede <hdegoede@redhat.com> - 1:1.0.4-3
f6b8a1
- Fix permission on installed manpages (#469936)
f6b8a1
f6b8a1
* Thu Apr 24 2008 Dennis Gilmore <dennis@ausil.us> - 1:1.0.4-2
f6b8a1
- add patch for making libdir /usr/lib64 for sparc64
f6b8a1
f6b8a1
* Thu Feb  7 2008 Jeremy Katz <katzj@redhat.com> - 1:1.0.4-1
f6b8a1
- Add man pages from Ryan Finnie (ryan AT finnie DOT org)
f6b8a1
- Use popt in checkisomd5 (Ryan Finnie)
f6b8a1
- Fix verbose/gauge interactions (Ryan Finnie)
f6b8a1
- A few other little janitorial things (Ryan Finnie)
f6b8a1
f6b8a1
* Mon Dec 10 2007 Jeremy Katz <katzj@redhat.com> - 1:1.0.2-1
f6b8a1
- The "fix the build after changing the API" release
f6b8a1
f6b8a1
* Mon Dec 10 2007 Jeremy Katz <katzj@redhat.com> - 1:1.0.1-1
f6b8a1
- Add some simple callback support in the library
f6b8a1
f6b8a1
* Fri Dec  7 2007 Jeremy Katz <katzj@redhat.com> - 1.0-1
f6b8a1
- Initial build.
f6b8a1