File libmal.spec of Package libmal
#
# spec file for package libmal
#
# Copyright (c) 2011 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: libmal
BuildRequires: pilot-link-devel
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
Group: Development/Libraries/C and C++
Summary: Palm Sync Library
Version: 0.31
Release: 411
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://jasonday.home.att.net/code/libmal/
Source: %name-%{version}.tar.bz2
Patch: libmal.diff
Patch1: libmal-pilot-link-0.12.0-api.diff
%description
Libmal is a convenience library of the object files contained in Tom
Whittaker's malsync distribution. It also includes a few wrapper
functions.
Authors:
--------
Jason Day, jasonday@worldnet.att.net
malsync code by Tom Whittaker, tom@tomw.org
%package devel
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
Summary: Palm Sync Library
Requires: libmal = %{version}
Group: Development/Libraries/C and C++
%description devel
libmal is a convenient library made up of the object files contained in
Tom Whittaker's malsync distribution. libmaal also contains a few
wrapper functions.
Authors:
--------
Jason Day, jasonday@worldnet.att.net
malsync code by Tom Whittaker, tom@tomw.org
%prep
%setup -q
%patch
%patch1
libtoolize --force
autoreconf --install --force
%build
%configure
make
%install
%make_install
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README ChangeLog MPL-1_0.txt TODO
%_libdir/libmal.so.*
%files devel
%defattr(-,root,root)
%_includedir/libmal
%_libdir/libmal.a
%_libdir/libmal.so
%_libdir/libmal.la
%changelog