File dds2tar.spec of Package dds2tar

#
# spec file for package dds2tar (Version 2.5.2)
#
# Copyright (c) 2008 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/
#

# norootforbuild


Name:           dds2tar
Url:            http://www.eulesoft.de/
License:        GPL v2 or later
Group:          Productivity/Archiving/Backup
AutoReqProv:    on
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.



Authors:
--------
    Joerg Weule <weule@cs.uni-duesseldorf.de>

%prep
%setup
%patch
%patch1

%build
make CC="gcc $RPM_OPT_FLAGS -fno-strict-aliasing"

%install
make MANDIR=%{_mandir} DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README COPYING Changes
/usr/bin/*
%doc %{_mandir}/man1/*

%changelog
* Fri Nov 10 2006 ro@suse.de
- fix manpage permissions
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 16 2006 schwab@suse.de
- Don't strip binaries.
* Thu Sep 30 2004 postadal@suse.cz
- removed dependency on kernel-source and set macro ST_BUFFER_BLOCKS on default value 32 (without-kernel-header.diff)
* Mon Apr 26 2004 ro@suse.de
- use RPM_OPT_FLAGS
- add no-strict-aliasing
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Wed Jun 06 2001 adostal@suse.cz
- fixed neededforbuild
* Thu Apr 05 2001 cihlar@suse.cz
- fixed neededforbuild
* Thu Feb 08 2001 cihlar@suse.cz
- fixed neededforbuild
* Tue Oct 31 2000 cihlar@suse.de
- updated to version 2.5.2
- fixed copyright tag
- used %%{_mandir}
* Mon May 15 2000 cihlar@suse.cz
- Group sorted
* Tue Apr 04 2000 cihlar@suse.cz
- added BuildRoot
* Tue Jan 18 2000 ro@suse.de
- man -> usr/share/man
* Thu Oct 28 1999 ro@suse.de
- filelist fixed
* Thu Oct 28 1999 ro@suse.de
- created package (version 2.4.21)
openSUSE Build Service is sponsored by