Name: disktype Version: 9 Release: 1%{?dist} Summary: Disk and disk image format analyzer Group: Applications/System License: MIT URL: http://disktype.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glibc-kernheaders %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 %build %{__make} %{?_smp_mflags} CFLAGS="%{optflags}" %install rm -rf $RPM_BUILD_ROOT %{__install} -Dp -m0755 disktype %{buildroot}%{_bindir}/disktype %{__install} -Dp -m0644 disktype.1 %{buildroot}%{_mandir}/man1/disktype.1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc HISTORY LICENSE README TODO %doc %{_mandir}/man1/disktype.1* %{_bindir}/disktype %changelog * Tue Jul 22 2008 Rahul Sundaram - 9-1 - Initial package.