File jpilot-Backup.spec of Package jpilot-Backup

#
# spec file for package jpilot-Backup (Version 0.51)
#
# 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:           jpilot-Backup
BuildRequires:  gdbm-devel gtk-devel gtk2-devel jpilot pilot-link-devel update-desktop-files
Version:        0.51
Release:        268
License:        GPL v2 or later
Summary:        Backup Plug-In for J-Pilot
Group:          Hardware/Palm
AutoReqProv:    on
Requires:       jpilot
Source:         jpilot-backup-%{version}.tar.bz2
Patch:          %{name}-%{version}-config.dif
Patch1:         %{name}-%{version}-symlinkfix.diff
Patch2:         %{name}-%{version}-pilot-link-0.12.patch
Patch3:         %{name}-%{version}-cflags.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://jasonday.home.att.net

%description -n jpilot-Backup
Backups are automatic. You configure when (every sync, daily, weekly,
or monthly), how many archives (1-7), and which databases to backup and
which to ignore before starting.



Authors:
--------
    Jason Day <jasonday@worldnet.att.net>

%prep
%setup -q -n jpilot-backup-%{version}
%patch
%patch1
%patch2
%patch3

%build
%{?suse_update_config:%{suse_update_config -f}}
libtoolize --force
aclocal
automake
autoconf
%configure \
    --disable-static \
    --enable-gtk2
make %{?jobs:-j%jobs}

%install
make install DESTDIR="$RPM_BUILD_ROOT"

%clean
rm -rf "$RPM_BUILD_ROOT "

%files
%defattr(-,root,root)
%doc README ChangeLog COPYING
%{_libdir}/jpilot

%changelog
* Mon Mar 26 2007 rguenther@suse.de
- add gdbm-devel BuildRequires
* Thu Mar 08 2007 prusnak@suse.cz
- changed /opt/gnome to /usr
* Tue Sep 12 2006 ro@suse.de
- re-enable jpilot-Backup-0.51-pilot-link-0.12.patch
* Mon Apr 03 2006 postadal@suse.cz
- used $CFLAGS
- enabled gtk2 support (jpilot is built with gtk2 support too)
* Thu Mar 30 2006 postadal@suse.cz
- changed path of jpilot plugins dir, according to change in jpilot
  (%%libdir/jpilot/plugins -> /opt/gnome/%%{_lib}/jpilot/plugins)
* 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
* Tue Oct 25 2005 postadal@suse.cz
- ported to pilot-link 0.12.0 API (pilot-link-0.12.patch)
- parallelized build
* Wed Aug 03 2005 anicka@suse.cz
- update to 0.51
* Sat Mar 20 2004 adrian@suse.de
- fix build, add resmgr to neededforbuild
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Fri Oct 10 2003 postadal@suse.cz
- disable GTK2 support to get rid of problems with locales and UTF8 [#27267]
- fixed the problem with hardlinks (didn't work on OpenAFS) [#26854]
* Mon Jun 23 2003 ro@suse.de
- added jpilot to neededforbuild
* Mon Feb 03 2003 postadal@suse.cz
- fixed lib64 path
* Mon Feb 03 2003 postadal@suse.cz
- updated to version 0.50
  * added persistent archive feature
  * support for GTK2
  * a check in configure for GDBM_NOLOCK, and if found, disable locking in
  gdbm. This fixes a problem with /home on NFS mount.
* Wed Nov 27 2002 postadal@suse.cz
- updated to version 0.43
  * new prefs API (J-Pilot 0.99.2 and later)
  * fixes
* Thu Sep 26 2002 postadal@suse.cz
- used libtoolize --force, aclocal, autoconf
* Fri May 03 2002 postadal@suse.cz
- fixed location of pilot-link
* Tue Feb 05 2002 tcrhak@suse.cz
- added option 'target' to configure
* Wed Jan 30 2002 tcrhak@suse.cz
- branched from jpilot as a self-contained package
- update to version 0.41
openSUSE Build Service is sponsored by