File libmal1.spec of Package libmal1
#
# spec file for package libmal1 (Version 0.44)
#
# 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: libmal1
BuildRequires: pilot-link-devel
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
Group: Development/Libraries/C and C++
Summary: Palm Sync Library
Version: 0.44
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://jasonday.home.att.net/code/libmal/
Source: libmal-%{version}.tar.bz2
Patch: fix-cflags.diff
Patch1: lib64.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
Summary: Palm Sync Library
Requires: %{name} = %{version}
Requires: pilot-link-devel
Conflicts: libmal-devel
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 -n libmal-%{version}
%patch
%patch1
%build
libtoolize --force
autoreconf --install --force
export CFLAGS="$RPM_OPT_FLAGS"
%configure --disable-static
make %{?jobs:-j %jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT/usr/bin/malsync
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README ChangeLog MPL-1_0.txt
%_libdir/libmal.so.1
%_libdir/libmal.so.1.0.1
%files devel
%defattr(-,root,root)
/usr/include/libmal
%_libdir/libmal.so
%_libdir/libmal.la
%changelog
* Tue Jul 24 2007 - dmueller@suse.de
- update to 0.44:
* major overhaul now based on malsync 2.2.0 sources
* Mon Aug 28 2006 - dgollub@suse.de
- reenabled libmal-pilot-link-0.12.0-api.diff
* Wed Mar 29 2006 - dgollub@suse.de
- splitted libmal.diff <-> libmal-pilot-link-0.12.0-api.diff
- removed pilot-link 0.12.0 API patch from spec file.
downgrade to pilot-link version 0.11.8 - see #161722
* Wed Mar 01 2006 - dmueller@suse.de
- fix stackbased buffer overflow (#151310)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Aug 06 2005 - adrian@suse.de
- fix build with pilot-link 0.12pre4
* Sat Mar 20 2004 - adrian@suse.de
- fix build, add resmgr to neededforbuild
* Sat May 03 2003 - adrian@suse.de
- initial package of version 0.31