From f6b8a1aec66caeca784af1b5d6f460b7536aadff Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 01 2019 17:32:19 +0000 Subject: import isomd5sum-1.0.10-5.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4fd21d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/isomd5sum-1.0.10.tar.bz2 diff --git a/.isomd5sum.metadata b/.isomd5sum.metadata new file mode 100644 index 0000000..7dd16ee --- /dev/null +++ b/.isomd5sum.metadata @@ -0,0 +1 @@ +c97ac56c84c8a0f814b63bc19fb55dd2df01af13 SOURCES/isomd5sum-1.0.10.tar.bz2 diff --git a/SOURCES/0001-Add-aarch64-1041320.patch b/SOURCES/0001-Add-aarch64-1041320.patch new file mode 100644 index 0000000..072ad1f --- /dev/null +++ b/SOURCES/0001-Add-aarch64-1041320.patch @@ -0,0 +1,25 @@ +From b6b2bddecfa773bb2ea55332ed0dfd944337628f Mon Sep 17 00:00:00 2001 +From: Radek Vykydal +Date: Tue, 28 Jan 2014 13:09:55 +0100 +Subject: [PATCH] Add aarch64 (#1041320) + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index cf77b78..1d95534 100644 +--- a/Makefile ++++ b/Makefile +@@ -4,7 +4,7 @@ PYTHONINCLUDE = /usr/include/$(PYTHON) + + VERSION=1.0.10 + +-ifneq (,$(filter sparc64 ppc64 x86_64 s390x,$(shell uname -m))) ++ifneq (,$(filter aarch64 sparc64 ppc64 x86_64 s390x,$(shell uname -m))) + LIBDIR = lib64 + else + LIBDIR = lib +-- +1.7.11.7 + diff --git a/SOURCES/0002-Add-ppc64le-1125552.patch b/SOURCES/0002-Add-ppc64le-1125552.patch new file mode 100644 index 0000000..f8a206b --- /dev/null +++ b/SOURCES/0002-Add-ppc64le-1125552.patch @@ -0,0 +1,25 @@ +From 84e47026d23ed228c20e11f78f6c86219736a855 Mon Sep 17 00:00:00 2001 +From: "Brian C. Lane" +Date: Fri, 10 Jan 2014 08:42:18 -0800 +Subject: [PATCH] Add ppc64le + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index f59bfb0..eecd893 100644 +--- a/Makefile ++++ b/Makefile +@@ -4,7 +4,7 @@ PYTHONINCLUDE = /usr/include/$(PYTHON) + + VERSION=1.0.10 + +-ifneq (,$(filter aarch64 sparc64 ppc64 x86_64 s390x,$(shell uname -m))) ++ifneq (,$(filter sparc64 ppc64 ppc64le x86_64 s390x aarch64,$(shell uname -m))) + LIBDIR = lib64 + else + LIBDIR = lib +-- +1.9.3 + diff --git a/SPECS/isomd5sum.spec b/SPECS/isomd5sum.spec new file mode 100644 index 0000000..7fb1b18 --- /dev/null +++ b/SPECS/isomd5sum.spec @@ -0,0 +1,152 @@ +Summary: Utilities for working with md5sum implanted in ISO images +Name: isomd5sum +Version: 1.0.10 +Release: 5%{?dist} +Epoch: 1 +License: GPLv2+ +Group: Applications/System +URL: http://git.fedorahosted.org/git/?p=isomd5sum.git;a=summary +Source0: http://fedorahosted.org/releases/i/s/isomd5sum/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: popt-devel +Patch0: 0001-Add-aarch64-1041320.patch +Patch1: 0002-Add-ppc64le-1125552.patch + +%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} +Provides: %{name}-static = %{epoch}:%{version}-%{release} + +%description devel +This contains header files and a library for working with the isomd5sum +implanting and checking. + +%package -n python-isomd5sum +Summary: Python bindings for isomd5sum +BuildRequires: python-devel + +%description -n python-isomd5sum +Python bindings for isomd5sum + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 + +%build +CFLAGS="$RPM_OPT_FLAGS -Wno-strict-aliasing"; export CFLAGS +make checkisomd5 implantisomd5 pyisomd5sum.so + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install-bin install-devel install-python + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING +/usr/bin/implantisomd5 +/usr/bin/checkisomd5 +%{_mandir}/man*/* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/*.h +%{_libdir}/*.a + +%files -n python-isomd5sum +%defattr(-,root,root,-) +%{python_sitearch}/pyisomd5sum.so + +%changelog +* Tue Aug 26 2014 Radek Vykydal - 1:1.0.10-5 +- Add ppc64le (aldyh@redhat.com) + Resolves: rhbz#1125552 + +* Tue Jan 28 2014 Radek Vykydal - 1:1.0.10-4 +- Add aarch64 (bcl) + Resolves: rhbz#1041320 + +* Fri Jan 24 2014 Daniel Mach - 1:1.0.10-3 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1:1.0.10-2 +- Mass rebuild 2013-12-27 + +* Tue Feb 26 2013 Brian C. Lane 1.0.10-1 +- Fix for gcc type-punned and sizeof pointer warnings. (bcl) +- Add exit code 2 for user abort (#907600) (bcl) +- Cleanup TABs and update Copyrights (bcl) +- Standardize *FLAGS in Makefile (ryan) + +* Thu Feb 14 2013 Fedora Release Engineering - 1:1.0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 1:1.0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Mar 09 2012 Brian C. Lane 1.0.9-1 +- Add python-isomd5sum package with python bindings +- Add callback and interrupt support to the python library +- Add RPM_OPT_FLAGS to CFLAGS and update makefile to use CFLAGS from environment + +* Fri Jan 13 2012 Fedora Release Engineering - 1:1.0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Apr 8 2011 Radek Vykydal - 1:1.0.7-1 +- Allocate one more char for string sentinel (#692135) (rvykydal) + +* Wed Feb 09 2011 Fedora Release Engineering - 1:1.0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jun 30 2010 Michael Schwendt - 1:1.0.6-2 +- Add virtual -static package to -devel package (#609607). + +* Fri Mar 26 2010 Radek Vykydal - 1:1.0.6-1 +- Add abort check feature (#555107) (dpierce, rvykydal) + Changes prototype of exported checkMediaFile function. +- Fix exit value of checkisomd5 (rvykydal) +- Remove output to stderr from library (#576251) (bcl) +- Use separate return value for image not found (#578160) (bcl) + +* Fri Jul 24 2009 Fedora Release Engineering - 1:1.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 1:1.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Jan 8 2009 Jeremy Katz - 1:1.0.5-1 +- Don't install the unused python module (#479005) + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1:1.0.4-4 +- Rebuild for Python 2.6 + +* Wed Nov 5 2008 Hans de Goede - 1:1.0.4-3 +- Fix permission on installed manpages (#469936) + +* Thu Apr 24 2008 Dennis Gilmore - 1:1.0.4-2 +- add patch for making libdir /usr/lib64 for sparc64 + +* Thu Feb 7 2008 Jeremy Katz - 1:1.0.4-1 +- Add man pages from Ryan Finnie (ryan AT finnie DOT org) +- Use popt in checkisomd5 (Ryan Finnie) +- Fix verbose/gauge interactions (Ryan Finnie) +- A few other little janitorial things (Ryan Finnie) + +* 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. +