LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kbiff.spec of Package kbiff (Project openSUSE:Factory)

#
# spec file for package kbiff
#
# 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/
#

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

Name:           kbiff
%define _mandir /opt/kde3/share/man
BuildRequires:  kdelibs3-devel
License:        LGPL-2.1+
Group:          Productivity/Networking/Email/Utilities
Summary:        An Application to Check for New E-Mail
Version:        3.9
Release:        13
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}/*/*
%if %suse_version > 1130
%dir /opt/kde3/share/locale/br
%dir /opt/kde3/share/locale/br/LC_MESSAGES
%dir /opt/kde3/share/locale/zh_TW.Big5
%dir /opt/kde3/share/locale/zh_TW.Big5/LC_MESSAGES
%endif

%changelog