File Mercury-Messenger.spec of Package Mercury-Messenger-SLE11SP1

Name:           Mercury-Messenger
# List of additional build dependencies
Version:        2.0RC7
Release:        1
License:        GPL v2 or later
Source:         mercury-messenger-2.0rc7.tar.bz2
Group:          Network/Application
Summary:        Java MSN Messenger
Packager:       Leandro Terres <>
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  java-1_6_0-sun jre unzip update-desktop-files
Requires:       java-1_6_0-sun

* Sign in with multiple accounts
* Fast file transfering
* Simultaneous sending & receiving webcam
* Offline messaging
* Extensive event notifications
* User defined event actions
* Smart groups (groups made from
  a search result)
* Single window (tabbed) conversations
* Customizable contact list
* Customizable message views
* Custom status icons
* Custom emoticons
* Resource saving (Webcam streams,
  Display pictures, Emoticons)

* HTTP Proxy *
* Yahoo contacts *
* Audio/Video conference *
  (Windows & Linux only atm)
* Multiple Points of Presence *
* Multi OS
* Runs from USB stick
* Language support

%setup -q -n mercury-messenger-2.0rc7

mkdir -p %buildroot/%{_bindir}/
mkdir -p %buildroot/%{_datadir}/
mkdir -p %buildroot/%{_iconsdir}/
mkdir -p %buildroot/%{_desktopdir}/

cp -av mercury %buildroot/%{_datadir}
cp -av desktop/mercurylogo.png %buildroot/%{_iconsdir}/
cp -av desktop/Mercury-Messenger.desktop %buildroot/%{_desktopdir}
%if %suse_version > 1100
%suse_update_desktop_file Mercury-Messenger
ln -s /usr/share/mercury/startup/ %buildroot/%{_bindir}/mercury
%ifarch i586
rm %buildroot/%{_datadir}/mercury/jni/
%ifarch x86_64
rm %buildroot/%{_datadir}/mercury/jni/

rm -rf %buildroot

%files lang

%dir /usr/share/mercury
%dir /usr/share/mercury/jni
%ifarch i586
%ifarch x86_64
%dir /usr/share/mercury/lib
%dir /usr/share/mercury/resources
%dir /usr/share/mercury/resources/AppData
%dir /usr/share/mercury/resources/AppData/CustomEmoticons
%dir /usr/share/mercury/resources/AppData/Games
%dir /usr/share/mercury/resources/AppData/i18n
%dir /usr/share/mercury/resources/AppData/Images
%dir /usr/share/mercury/resources/AppData/MusicPlayerInfo
%dir /usr/share/mercury/resources/AppData/Plugins
%dir /usr/share/mercury/resources/AppData/Skins
%dir /usr/share/mercury/resources/AppData/Sounds
%dir /usr/share/mercury/resources/AppData/SplashWindow
%dir /usr/share/mercury/resources/AppData/StatusIcons
%dir /usr/share/mercury/resources/AppData/Views
%dir /usr/share/mercury/resources/AppData/Winks
%dir /usr/share/mercury/resources/config
%dir /usr/share/mercury/resources/menu
%dir /usr/share/mercury/resources/settings
%dir /usr/share/mercury/resources/xsl
%dir /usr/share/mercury/startup

* Fri Jun 11 2010
- Updated to version 2.0RC7
* Mon Jan 25 2010
- Updated translations
* Mon Jan 18 2010
- Updated to version 2.0RC6
* Fri Dec 18 2009
- Removed lang package dependency
* Thu Nov 19 2009
- Changes in desktop file and include updated translations
* Wed Nov 18 2009
- Updated to version 2.0RC5
* Mon Nov 09 2009
- Updated spanish language packs
* Sat Nov 07 2009
- Updated to version 2.0RC4a
* Mon Nov 02 2009
- Updated to version 2.0RC3-4
* Fri Oct 30 2009
- Build Fixes
* Fri Oct 16 2009
- Build errors and warnings fixed
* Wed Oct 14 2009
- Included languages in separated package
* Sat Oct 10 2009
- packaged Mercury-Messenger version 2.0RC2 using the buildservice spec file wizard