File ziptool.spec of Package ziptool

#
# spec file for package ziptool (Version 1.4.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
#

# norootforbuild

Name:         ziptool
License:      GPL
Group:        Hardware/Other
Autoreqprov:  on
Version:      1.4.0
Release:      113
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
Prereq:       permissions

%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

%post
%run_permissions

%verifyscript
%verify_permissions -e /usr/bin/ziptool

%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 -n ziptool
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 21 2006 - schwab@suse.de
- Use RPM_OPT_FLAGS.
- Don't strip binaries.
* Tue Mar 01 2005 - mjancar@suse.cz
- remove setuid bit from the ziptool binary (#66191)
* Wed Nov 10 2004 - ro@suse.de
- permission handling fixes
* Thu Sep 30 2004 - mcihar@suse.cz
- fix typo in our patch (mount->umount) and add tmpfs to ignored filesystems (bug #46453)
- drop privileges for stating files (bug #46453)
* Tue Apr 06 2004 - kukuk@suse.de
- Build as normal user
- Fix default permissions
* Sat Jan 17 2004 - ro@suse.de
- fix for chown syntax
* Thu Jul 24 2003 - tcrhak@suse.cz
- update to version 1.4.0
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Tue Nov 06 2001 - pmladek@suse.cz
- added patch from Sebastian Krahmer <krahmer@suse.de>
  to fix potencial buffer overflow
- add "usbdevfs" to list of ignored filesystems
- fixed umount to do not check if the device is already mounted
* Wed Jun 20 2001 - pblaha@suse.cz
- add "shm" and "none"  filesystems to ignore
- correct model for 2GB JAZ  "iomega  JAZ 2GB"
* Thu Apr 26 2001 - pblaha@suse.cz
- update on 1.3 for work with 2GB jaz
- add build root
* Thu Feb 22 2001 - ro@suse.de
- define SCSI_ALLOW_... if undef
* Mon Oct 23 2000 - kukuk@suse.de
- Don't include linux/fs.h
* Tue Apr 18 2000 - ke@suse.de
- Install README.
- Add group tag; use version macro.
* Fri Mar 03 2000 - kukuk@suse.de
- Use _mandir macro
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Mon Jun 14 1999 - kukuk@suse.de
- Update to 1.2
- Add ZIP 250 String
* Thu Apr 29 1999 - ro@suse.de
- exclude PTS and AUTOFS filesystems
* Thu Oct 29 1998 - ro@suse.de
- respect change in 2.1.126 SCSI_DISK_MAJOR
* Fri Sep 25 1998 - ro@suse.de
- define MNTTYPE_PROC if not done by libc headers
* Thu Jun 19 1997 - rj@suse.de
- new package (version 1.1b)
openSUSE Build Service is sponsored by