File kbiff.spec of Package kbiff

#
# spec file for package kbiff (Version 3.9)
#
# 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

Url:            http://kbiff.granroth.org/

Name:           kbiff
BuildRequires:  kdelibs3-devel
License:        LGPL v2.1 or later
Group:          Productivity/Networking/Email/Utilities
Summary:        An Application to Check for New E-Mail
Version:        3.9
Release:        3
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        kbiff-%version.tar.bz2
Patch1:         fix-desktop-file.diff

%description
KBiff docks to the KDE panel (Kicker) and shows incoming e-mail.



Authors:
--------
    Kurt Granroth <granroth@kde.org>

%prep
%setup -q
%patch1
cd po
cd ..
. /etc/opt/kde3/common_options
update_admin --no-unsermake

%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final
make

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%suse_update_desktop_file kbiff Applet
%find_lang %name

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f %name.lang
%defattr(-,root,root)
%doc README AUTHORS INSTALL ChangeLog COPYING 
/opt/kde3/bin/*
/opt/kde3/%_lib/kde3/kbiff.la
/opt/kde3/%_lib/kde3/kbiff.so
/opt/kde3/%_lib/libkdeinit_kbiff.la
/opt/kde3/%_lib/libkdeinit_kbiff.so
/opt/kde3/share/appl*/*/*.desktop
/opt/kde3/share/apps/kbiff
/opt/kde3/share/icons/??color
%{_mandir}/*/*

%changelog
* Fri Mar 20 2009 llunak@suse.cz
- run ldconfig on (un)install (bnc#462705)
* Mon Oct 13 2008 wstephenson@suse.de
- Fix library path on 32 bit
* Fri Oct 10 2008 wstephenson@suse.de
- Update to version 3.9
  * Convert to kdeinit module
  * Fix GCC 4.3 warnings
  * Integrate disable APOP patch
* Mon Oct 22 2007 wstephenson@suse.de
- Fix compilation with GCC 4.3; Qt3 conditionals no longer needed
* Tue Oct 17 2006 wstephenson@suse.de
- Clean up previous patch to support existing configs properly
* Fri Oct 13 2006 wstephenson@suse.de
- Allow user to disable APOP if required (#207626)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Oct 02 2005 stbinner@suse.de
- fix .desktop file
* Mon Sep 19 2005 stbinner@suse.de
- update to version 3.8
* Thu Feb 17 2005 adrian@suse.de
- update to version 3.7.1
- menu entry moved to xdg dir
* Wed Nov 03 2004 coolo@suse.de
- don't install a broken kdeinit module
* Tue Nov 02 2004 ro@suse.de
- locale rename: no -> nb
* Thu Apr 15 2004 coolo@suse.de
- build without unsermake
* Wed Feb 25 2004 hmacht@suse.de
- building as nonroot-user
* Tue Aug 05 2003 adrian@suse.de
- kbiff is a X-SuSE-Applet now
* Mon Jul 28 2003 adrian@suse.de
- add Categories
* Fri Jun 13 2003 coolo@suse.de
- use %%find_lang
* Tue Jun 03 2003 coolo@suse.de
- readding patch again
* Fri May 23 2003 adrian@suse.de
- update to version 3.6.3
* Thu Jun 06 2002 coolo@suse.de
- fixing documentation
* Mon May 27 2002 coolo@suse.de
- fixing configure so that the PACKAGE is kbiff not kbiff-3.6.1
* Fri May 24 2002 coolo@suse.de
- use update_admin
* Wed May 22 2002 coolo@suse.de
- add admin tar ball and use common options
* Tue Apr 16 2002 adrian@suse.de
- update to version 3.6.1
  (based on KDE 3)
* Mon Mar 18 2002 adrian@suse.de
- fix encodings in in .desktop file
* Fri Nov 09 2001 adrian@suse.de
- kde2-devel-packages
* Tue Aug 28 2001 adrian@suse.de
- New version 3.5
* Mon Aug 13 2001 ro@suse.de
- changed neededforbuild <sp_libs> to <sp-devel>
* Tue Aug 07 2001 adrian@suse.de
- autoconf 2.52 fixes
* Sun Jul 15 2001 @suse.de
- New version 3.4.2
* Fri Jun 22 2001 adrian@suse.de
- autoconf 2.50 fixes
- docs are not building until kdelibs 2.2
* Tue Mar 27 2001 ro@suse.de
- changed neededforbuild <docbkdsl> to <docbook-dsssl-stylesheets>
* Mon Mar 26 2001 adrian@suse.de
- New version 3.4
* Mon Mar 19 2001 adrian@suse.de
- fixed #neededforbuild
* Sat Mar 17 2001 adrian@suse.de
- Spec file created from kbiff-3.3.2.tar.bz2 by autospec