File dbview.spec of Package dbview

#
# spec file for package dbview (Version 1.0.4)
#
# Copyright (c) 2007 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:           dbview
URL:            http://www.infodrom.org/projects/dbview/
License:        GNU General Public License (GPL)
Group:          Productivity/Databases/Tools
Autoreqprov:    on
Version:        1.0.4
Release:        1
Source0:        ftp://ftp.infodrom.north.de/pub/Linux/Devel/%{name}/%{name}-%{version}.tar.bz2
Patch1:         %{name}-%{version}-makefile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Viewer for dBase III and dBase IV Files

%description
dbview is a little tool that displays dBase III and IV files. You can
also use it to convert your old .dbf files for further use with Unix.



Authors:
--------
    Martin Schulze <joey@infodrom.north.de>

%prep
%setup
%patch1

%build
make CFLAGS="$RPM_OPT_FLAGS"

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc README dBASE CHANGES
%doc %{_mandir}/man1/*
%{_prefix}/bin/dbview

%changelog
* Fri Apr 06 2007 - lmichnovic@suse.cz
- update to version 1.0.4
  - Support for deleted records
  Added --deleted|-D to display deleted records as well.
  - Improved handling of differences between dBase III and
  dBase III+ files.
  - Improved error handling
- obsoletes patch gcc-warning
- patch %%name-%%version.diff renamed to *makefile.patch
* Mon May 22 2006 - schwab@suse.de
- Don't build as root.
- Don't strip binaries.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 19 2005 - pnemec@suse.cz
- fix gcc warning
* Thu May 12 2005 - meissner@suse.de
- use RPM_OPT_FLAGS
* Tue Jul 17 2001 - rvasice@suse.cz
- initial release (version 1.0.3)
openSUSE Build Service is sponsored by