File ziptool.spec of Package ziptool

#
# spec file for package ziptool
#
# Copyright (c) 2013 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:           ziptool
License:        GPL-2.0+
Group:          Hardware/Other
AutoReqProv:    on
Version:        1.4.0
Release:        246
Url:            http://wolfpack.twu.net/utilities.html
Summary:        Tool for the Iomega ZIP and JAZ drives
Source:         %{name}-%{version}.tar.bz2
Patch0:         %{name}-%{version}.patch
Patch1:         %{name}-%{version}-makefile.patch
Patch2:         ziptool-1.4.0-fixes.patch
Patch3:         ziptool-1.4.0-uid.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
A tool for configuration of the Iomega ZIP and JAZ drives. Automatic
eject and write protection (password too) can be configured.



Authors:
--------
    Mirko Kraft       <Mirko.Kraft@ixos.de>
    Grant R. Guenther <grant@torque.net>
    Aaron Segura      <aaronsegura@netscape.net>
    Tara Milana       <learfox@twu.net>

%prep
%setup
%patch0
%patch1
%patch2
%patch3

%build
make CFLAGS="$RPM_OPT_FLAGS"

%install
make DESTDIR=$RPM_BUILD_ROOT install

%files
%defattr(644,root,root,755)
%doc README
%attr(755,root,root) /usr/bin/jaztool
%verify(not mode) %attr(750,root,trusted) /usr/bin/ziptool
%doc %{_mandir}/man1/jaztool.1.gz
%doc %{_mandir}/man1/ziptool.1.gz

%changelog
openSUSE Build Service is sponsored by