File libflaim.spec of Package libflaim
#
# spec file for package libflaim (Version 4.9.1046)
#
# Copyright (c) 2010 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/
#
Name: libflaim
%define prefix /usr
BuildRequires: gcc-c++ ncurses-devel
Summary: Embeddable cross-platform database engine
Url: http://forge.novell.com/modules/xfmod/project/?flaim
Version: 4.9.1046
Release: 101
License: LGPLv2.1+
Group: Development/Libraries/C and C++
Source: libflaim-4.9.1046.tar.gz
Patch: libflaim-warning.patch
Patch1: libflaim-hppa.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
FLAIM is an embeddable cross-platform database engine that provides a
rich, powerful, easy-to-use feature set. It is the database engine used
by Novell eDirectory. It has proven to be highly scalable, reliable,
and robust. It is available on a wide variety of 32 bit and 64 bit
platforms.
Authors:
--------
Daniel Sanders
Andrew Hodgkinson
%package devel
License: LGPLv2.1+
Summary: Embeddable cross-platform database engine
Group: Development/Libraries/C and C++
%description devel
FLAIM is an embeddable cross-platform database engine that provides a
rich, powerful, easy-to-use feature set. It is the database engine used
by Novell eDirectory. It has proven to be highly scalable, reliable,
and robust. It is available on a wide variety of 32 bit and 64 bit
platforms.
Authors:
--------
Daniel Sanders
Andrew Hodgkinson
%prep
%setup -q
%patch
%ifarch hppa
%patch1
%endif
%build
make lib_dir_name=%{_lib} libs
%install
make rpm_build_root=$RPM_BUILD_ROOT install_prefix=%{prefix} lib_dir_name=%{_lib} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING COPYRIGHT VERSION
%{prefix}/%{_lib}/libflaim.so.5.2
%{prefix}/%{_lib}/libflaim.so.5
%files devel
%defattr(-,root,root)
%{prefix}/%{_lib}/libflaim.so
%{prefix}/%{_lib}/libflaim.a
%{prefix}/%{_lib}/pkgconfig/libflaim.pc
%{prefix}/include/flaim.h
%{prefix}/include/flaimtk.h
%changelog