Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 96517f4ea191f4b99ffaa98a99600b6c > files > 2

mediacheck-7.3-1mdk.src.rpm

%define name	mediacheck
%define version	7.3
%define release	1mdk

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Utilities for the insertion/verification of iso embedded MD5 sums
License:	GPL
Group:		File tools
URL:		http://fedora.redhat.com/projects/anaconda-installer/
Source0:	%{name}-%{version}.tar.bz2
BuildRequires:	glibc-static-devel, newt-devel
BuildRoot:	%{_tmppath}/%{name}-root
%description
The mediacheck package contains utilities for the insertion and 
verification of embedded MD5 checksums in iso images. These tools 
form part of the RedHat Anaconda installer, with this from 
version 7.3.

%prep
%setup -q

%build
%make
%make STATIC=-static mediacheck
for i in checkisomd5 implantisomd5 mediacheck; do
	strip --strip-debug --strip-unneeded $i
done

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
for i in checkisomd5 implantisomd5 mediacheck; do
	install -m 755 $i $RPM_BUILD_ROOT/%{_bindir}
done

%clean
rm -Rf %{buildroot}

%files
%defattr(-,root,root)
%doc README
%{_bindir}/checkisomd5
%{_bindir}/implantisomd5
%{_bindir}/mediacheck

%changelog
* Tue Jan 27 2004 Jaco Greeff <jaco@mandrake.org> 7.3-1mdk
- Initial Mandrake version