LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File koffice-database-mdb.spec of Package koffice-database-mdb (Project KDE:KDE3)

#
# spec file for package koffice-database-mdb (Version 1.1.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:           koffice-database-mdb
BuildRequires:  kdelibs3-devel koffice-database koffice-devel
URL:            http://www.kexi-project.org/wiki/wikiview/?MDBDriver
License:        GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group:          Productivity/Databases/Clients
Summary:        MDB file migration driver for Kexi
Version:        1.1.0
Release:        20
#Requires:       kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3`)
#Requires:       koffice >= %( echo `rpm -q --queryformat '%{VERSION}' koffice`)
Requires:       koffice-database >= %( echo `rpm -q --queryformat '%{VERSION}' koffice-database`)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        keximdb-%{version}.tar.bz2

%description
This is keximdb, the MDB file migration driver for Kexi.

MDB files are the native database format of MS Access (and also some
other MS applications).  This driver can be used by Kexi's migration
framework to convert simple Access databases into native Kexi
databases.



%prep
%setup -q -n keximdb-%version
. /etc/opt/kde3/common_options
%if %suse_version > 930
update_admin --no-unsermake
%endif

%build
. /etc/opt/kde3/common_options
export CFLAGS="-fno-strict-aliasing $CFLAGS"
./configure $configkde
make %{?jobs:-j%jobs}

%install
. /etc/opt/kde3/common_options
make DESTDIR=${RPM_BUILD_ROOT} $INSTALL_TARGET
find $RPM_BUILD_ROOT -name "*.la" -print0 | xargs -0 -r perl -spi -e "s@ -L/usr/src[^ ]*@@g" 

%clean
rm -rf ${RPM_BUILD_ROOT}

%post
%run_ldconfig

%postun
%run_ldconfig

%files
%defattr(-,root,root)
/opt/kde3/%_lib/kde3/keximigrate_mdb.*
/opt/kde3/share/services/keximigrate_mdb.desktop

%changelog -n koffice-database-mdb
* Wed Nov 08 2006 - nadvornik@suse.cz
- remove references to BUILD_DIR from la file
* Wed Oct 04 2006 - ltinkl@suse.cz
- update to 1.1.0
* Thu Aug 31 2006 - ltinkl@suse.cz
- initial release, version 1.0.2