File aimage.spec of Package aimage

#
# spec file for package aimage
#
# Copyright (c) 2011 Sebastien Braun.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# norootforbuild

Name:           aimage
Version:        3.2.5
Release:        1
Summary:        Advanced Disk Imager
Group:          System/Filesystems

License:        BSD-4-Clause
URL:            http://afflib.org/software/aimage-the-advanced-disk-imager
Source0:        http://afflib.org/downloads/aimage-%{version}.tar.gz
Patch0:         aimage-3.2.5-fix-bad-compilation-warnings.patch

BuildRequires:  afflib-devel
# Requires:       
# BuildArch:      noarch

%description
The Advanced Disk Imager aimage allows the creation of
forensic disk snapshots as AFF (Advanced Forensics Format)
files.

%prep
%setup -q
%patch0 -p 1

%build
%configure --prefix=/usr --mandir=%{_mandir}
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(0644,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%attr(0755,root,root) /usr/bin/aimage

%changelog
openSUSE Build Service is sponsored by