Name: disktype Version: 9 Release: 4%{?dist} Summary: Detect the content format of a disk or disk image Group: Applications/File License: MIT URL: http://disktype.sourceforge.net/ Source0: http://downloads.sourceforge.net/disktype/disktype-9.tar.gz Patch0: makefile.patch Patch1: ewf.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libewf-devel %description The purpose of disktype is to detect the content format of a disk or disk image. It knows about common file systems, partition tables, and boot codes. %prep %setup -q %patch0 -p1 %patch1 -p1 %build make %{?_smp_mflags} LIBEWF=1 %install rm -rf %{buildroot} mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1} install -m 755 disktype %{buildroot}%{_bindir} install -p -m 644 disktype.1 %{buildroot}%{_mandir}/man1 %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc HISTORY LICENSE TODO %{_bindir}/* %{_mandir}/*/* %changelog * Tue Feb 24 2009 Fedora Release Engineering - 9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu May 1 2008 Richard Fearn - 9-3 - update EWF patch so that it doesn't modify CFLAGS/LDFLAGS - mention EWF in man page * Fri Apr 25 2008 Richard Fearn - 9-2 - build using $(RPM_OPT_FLAGS) - install man page with -p to preserve timestamp - add patch to support EWF images * Sat Mar 8 2008 Richard Fearn - 9-1 - initial package for Fedora