Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > efdfadc226a1e821b4936215c2901fb6 > files > 3

mediacheck-7.3-6mdv2009.0.src.rpm

#no, i don't want to know
%define _requires_exceptions ld-linux.so.2(GLIBC_PRIVATE)\\|ld-linux-x86-64.so.2(GLIBC_PRIVATE)(64bit)

%define name	mediacheck
%define version	7.3
%define release	%mkrel 6

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
Patch0:		mediacheck-7.3-misc.patch
BuildRequires:	newt-devel slang-devel slang-static-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
%patch0 -p1 -b .mdv

%build
%make
%make LIBS="-Wl,-Bstatic -lnewt -lslang -Wl,-Bdynamic" mediacheck

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -m 755 mediacheck $RPM_BUILD_ROOT/%{_bindir}

%clean
rm -Rf $RPM_BUILD_ROOT

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



%changelog
* Tue Jul 29 2008 Thierry Vignaud <tvignaud@mandriva.com> 7.3-6mdv2009.0
+ Revision: 252239
- rebuild

* Tue Jan 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 7.3-4mdv2008.1
+ Revision: 146656
- BR slang-static-devel
- br slang-devel
- kill re-definition of %%buildroot on Pixel's request
- import mediacheck

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot


* Fri Sep 08 2006 David Walluck <walluck@mandriva.org> 7.3-4mdv2007.0
- fix ld-linux.so.2(GLIBC_PRIVATE) on 64-bit

* Sun Sep 03 2006 Luca Berra <bluca@mandriva.org> 7.3-3mdv2007.0
- remove a require for ld-linux.so.2(GLIBC_PRIVATE)

* Sun Sep 03 2006 Luca Berra <bluca@mandriva.org> 7.3-2mdv2007.0
- use 64bit io and misc fixes

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