File sim.spec of Package sim

# spec file for package sim (Version
# 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

# norootforbuild

Name:           sim
BuildRequires:  flex kdelibs3-devel zip
%if %suse_version < 1010
BuildRequires:  openssl-devel
Release:        152
Summary:        Plugins-based instant messenger for several protocols
License:        GPL v2 or later
Group:          Productivity/Networking/Instant Messenger
Source0:        sim-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch3:         sim-fix_compiler_warnings.diff

SIM - Multiprotocol Instant Messenger

SIM (Simple Instant Messenger) is a plugins-based open- source instant
messenger that supports various protocols (ICQ, Jabber, AIM, MSN, YIM).
It uses the QT library and works on X11 with optional KDE-support.

SIM has a lot of features, many of them are listed at:

    Maintainer: Vladimir Shutoff <>
    Developemnt: Christian Ehrlicher <>
    KAddressBook syncronization and some art: Stanislav Klyuhin <>
    Bulgarian translation:
    Catalane translation: Pau Bosch i Crespo <>
    Chinese translation:
    Czech translation: Pavel Rousar <>
    Dutch translation: Arend van Beelen jr. <>
    German translation, bug hunting (Win32): Tobias Franz <>
    German translation, bug hunting (Linux): Christoph Thielecke <>
    Greek translation: Theodore Karkoulis <>
    Hebrew translation: Amir Tal <>
    Franch translation: Rom351o VIU-BERGES <>
    Italian translation: Lapo Luchini <>
    Polish translation: Rafal Bera <>
    Russian translation: Vladimir Shutoff <>
    Sloval translation:  Tom?Ol? <>
    Spain translation: Jorge Lopez <>
    Swabian translation: Robert Scheck <>
    Turkish translation: Ismail Donmez <>
    Ukranian translation: Ivan O.Krutyholova <>

%setup -q

. /etc/opt/kde3/common_options
%if "%_lib" == "lib64"
./configure $configkde --enable-libsuffix=64 --disable-final
./configure $configkde --disable-final
make %{?jobs:-j %jobs}

. /etc/opt/kde3/common_options
%if %suse_version > 1000
%suse_update_desktop_file -G "Instant Messenger" %name Network InstantMessaging
%suse_update_desktop_file %name Network InstantMessaging
%find_lang %name
rm $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/x-icq.desktop
cd $RPM_BUILD_ROOT/opt/kde3/%_lib/sim/
find . -name \*.la | xargs perl -pi -w -e 's,-L/usr/src/packages/BUILD/sim-%{version}/sim/.libs,,g;'


%files -f %name.lang



* Mon Oct 15 2007
- Fix specfile.
* Sun Aug 19 2007
- fix build on 64bit and 10.0
* Sat Aug 04 2007
- update to version
  * almost 3 years newer version, please see ChangeLog
* Fri Mar 30 2007
- add flex to BuildRequires
* Tue Jan 23 2007
- fix build for < 10.1
* Tue Jan 09 2007
- Added patch for fix some compiler warnings, which prevent build
  the package for STABLE
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Mon Dec 12 2005
- add -fno-strict-aliasing
* Thu Nov 03 2005
- don't build as root
* Tue May 03 2005
- Fix for gcc4
* Thu Feb 17 2005
- menu entry move to xdg dir
* Fri Nov 26 2004
- add %%suse_update_desktop_file
* Fri Oct 29 2004
- clean specfile
* Thu Oct 28 2004
- Initial checkin of new icq-client  sim