File dbview.spec of Package dbview
#
# spec file for package dbview (Version 1.0.4)
#
# Copyright (c) 2009 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: dbview
Url: http://www.infodrom.org/projects/dbview/
License: GPL v2 or later
Group: Productivity/Databases/Tools
AutoReqProv: on
Version: 1.0.4
Release: 95
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)