Blob Blame History Raw
Name:           devio
Version:        1.2
Release:        2%{?dist}
Summary:        Read and write utility for block devices

Group:          Development/Tools
License:        MIT
URL:            http://devio.sourceforge.net
Source0:        http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1:        %{name}.man
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


%description
devio is a command line utility intended to read and write on block devices.
The primary difference between devio and other command line utilities, such
as dd and cat, is that it is not stream based - it writes directly into
the object rather than reading and writing a stream of data.


%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

install -Dp -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*


%changelog
* Wed Sep 15 2009 Dan Horák <dan[at]danny.cz> - 1.2-2
- fixed section number in the man page

* Mon Aug 31 2009 Dan Horák <dan[at]danny.cz> - 1.2-1
- initial Fedora version