File pilot-mailsync.spec of Package pilot-mailsync

#
# spec file for package pilot-mailsync (Version 0.9.1)
#
# 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:           pilot-mailsync
BuildRequires:  bison gcc-c++ gnome-common gtk-devel openssl-devel pam-devel pilot-link-devel
Url:            http://wissrech.iam.uni-bonn.de/people/garcke/pms/
License:        Public Domain, Freeware
Group:          Hardware/Palm
AutoReqProv:    on
Version:        0.9.1
Release:        242
Summary:        An e-mail Synchronization Program for Palm OS-based Organisers
Source:         %{name}-%{version}.tar.bz2
Patch:          %{name}-%{version}.diff
Patch1:         %{name}-%{version}-gcc4.diff
Patch2:         %{name}-%{version}-implicit.diff
Patch3:         %{name}-%{version}-pilot-link-0.12.patch
Patch4:         %{name}-%{version}-nostrip.patch
Patch5:         %{name}-%{version}-warning.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
An application to transfer outgoing mail from and deliver incoming mail
to a Palm OS device. Pilot-mailsync relies on the libraries installed
by pilot-link.



Authors:
--------
    jochen@pms.garcke.de

%prep
%setup -q 
%patch
%patch1 -p 1
%patch2
%patch3
%patch4
%patch5

%build
%{?suse_update_config:%{suse_update_config -f .}}
autoconf
CFLAGS="$RPM_OPT_FLAGS" \
	./configure \
	    --prefix=%{_prefix} \
	    --mandir=%{_mandir} \
	    --libdir=%{_libdir} \
	    --target=%{_target_cpu}-suse-linux-gnu \
            --host=%{_target_cpu}-suse-linux-gnu
EXTRABASECFLAGS="-fno-strict-aliasing -fPIC $RPM_OPT_FLAGS" \
make

%install
make install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README docs/*
%{_bindir}/*

%changelog
* Fri Mar 30 2007 aj@suse.de
- Add bison to BuildRequires.
* Mon Jan 29 2007 ro@suse.de
- silence one compiler warning
* Mon Aug 28 2006 dgollub@suse.de
- reenabled -pilot-link-0.12.patch
* Wed Mar 29 2006 dgollub@suse.de
- removed pilot-link 0.12.0 API patch from spec file.
  downgrade to pilot-link version 0.11.8 - see #161722
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Oct 24 2005 postadal@suse.cz
- updated to version 0.9.1
- ported to pilot-link 0.12.0 API (pilot-link-0.12.patch)
- don't strip (nostrip.patch)
- used flags -fPIC and -fno-strict-aliasing
* Tue Aug 02 2005 anicka@suse.cz
- update to 0.9.0
- add patch fixing implicit prototypes
* Thu Apr 28 2005 yxu@suse.de
- eliminate superflous autoconf checks for UID/GID defines
- fixed buffer overflow
* Wed Jan 26 2005 postadal@suse.cz
- updated to version 0.8.3
* Tue Aug 17 2004 postadal@suse.cz
- updated to version 0.8.2
  * bugfix for very long addresses
  * update to imap-2004a
  * new option keepdays=number for .pilotmailrc
* Sat Apr 24 2004 sndirsch@suse.de
- use xorg-x11 packages
* Sat Mar 20 2004 adrian@suse.de
- fix build, add resmgr to neededforbuild
* Fri Feb 27 2004 postadal@suse.cz
- updated to version 0.8.1
  * mail identification now finally works (almost ?) perfect
  * memory cleanup
  * update to imap-2002e
* Sun Jan 11 2004 adrian@suse.de
- build as user
* Tue Jul 29 2003 postadal@suse.cz
- updated to version 0.8.0.2
  * SMTP after POP possible
  * Draft and Filed of the Palm mail application are also synched
  * FindMail now works with multiple adresses in fields
  * update to imap-2002c1
* Mon Feb 17 2003 postadal@suse.cz
- fixed function find_incloc() in configure.in
- added lib64 paths
- fixed to compile with -fPIC
* Thu Feb 13 2003 postadal@suse.cz
- initial version 0.7.2
openSUSE Build Service is sponsored by