File dds2tar.spec of Package dds2tar
#
# spec file for package dds2tar
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: dds2tar
Url: http://www.eulesoft.de/
License: GPL v2 or later
Group: Productivity/Archiving/Backup
Version: 2.5.2
Release: 1308
Summary: DDS2 Tape Streamer Utilities
Source: dds2tar-%{version}.tar.bz2
Patch: dds2tar-%{version}.dif
Patch1: %{name}-%{version}-without-kernel-header.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A tool for quick extraction of individual files from a DDS2 streamer.
dds2tar can control data compression for HP DAT streamers.
%prep
%setup
%patch
%patch1
%build
make CC="gcc $RPM_OPT_FLAGS -fno-strict-aliasing" %{?_smp_mflags}
%install
make MANDIR=%{_mandir} DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc README COPYING Changes
/usr/bin/*
%doc %{_mandir}/man1/*
%changelog