LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File Mercury-Messenger.spec of Package Mercury-Messenger-SLE11SP1 (Project home:Lord_LT)

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

%description
* 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

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

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

%install
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
%endif
ln -s /usr/share/mercury/startup/startup_linux.sh %buildroot/%{_bindir}/mercury
%ifarch i586
rm %buildroot/%{_datadir}/mercury/jni/libv4l-64b.so
%endif
%ifarch x86_64
rm %buildroot/%{_datadir}/mercury/jni/libv4l-32b.so
%endif

%clean
rm -rf %buildroot

%files lang
%defattr(-,root,root)
/usr/share/mercury/resources/AppData/i18n/es_AR.zip
/usr/share/mercury/resources/AppData/i18n/es_ES.zip
/usr/share/mercury/resources/AppData/i18n/it_IT.zip
/usr/share/mercury/resources/AppData/i18n/nl_NL.zip
/usr/share/mercury/resources/AppData/i18n/tr_TR.zip
/usr/share/mercury/resources/AppData/i18n/zh_CN.zip

%files
%defattr(-,root,root)
/usr/bin/mercury
/usr/share/icons/mercurylogo.png
/usr/share/applications/Mercury-Messenger.desktop
%dir /usr/share/mercury
%dir /usr/share/mercury/jni
%ifarch i586
/usr/share/mercury/jni/libv4l-32b.so
%endif
%ifarch x86_64
/usr/share/mercury/jni/libv4l-64b.so
%endif
%dir /usr/share/mercury/lib
/usr/share/mercury/lib/dMSN.jar
%dir /usr/share/mercury/resources
%dir /usr/share/mercury/resources/AppData
%dir /usr/share/mercury/resources/AppData/CustomEmoticons
/usr/share/mercury/resources/AppData/CustomEmoticons/MSN7.zip
%dir /usr/share/mercury/resources/AppData/Games
%dir /usr/share/mercury/resources/AppData/i18n
/usr/share/mercury/resources/AppData/i18n/en_GB.zip
%dir /usr/share/mercury/resources/AppData/Images
/usr/share/mercury/resources/AppData/Images/*
%dir /usr/share/mercury/resources/AppData/MusicPlayerInfo
/usr/share/mercury/resources/AppData/MusicPlayerInfo/default.xml
%dir /usr/share/mercury/resources/AppData/Plugins
%dir /usr/share/mercury/resources/AppData/Skins
%dir /usr/share/mercury/resources/AppData/Sounds
/usr/share/mercury/resources/AppData/Sounds/*
%dir /usr/share/mercury/resources/AppData/SplashWindow
/usr/share/mercury/resources/AppData/SplashWindow/*
%dir /usr/share/mercury/resources/AppData/StatusIcons
/usr/share/mercury/resources/AppData/StatusIcons/*
%dir /usr/share/mercury/resources/AppData/Views
/usr/share/mercury/resources/AppData/Views/*
%dir /usr/share/mercury/resources/AppData/Winks
/usr/share/mercury/resources/AppData/Winks/*
%dir /usr/share/mercury/resources/config
/usr/share/mercury/resources/config/*
%dir /usr/share/mercury/resources/menu
/usr/share/mercury/resources/menu/*
%dir /usr/share/mercury/resources/settings
/usr/share/mercury/resources/settings/*
%dir /usr/share/mercury/resources/xsl
/usr/share/mercury/resources/xsl/*
%dir /usr/share/mercury/startup
/usr/share/mercury/startup/startup_linux.sh
/usr/share/mercury/startup/startup_linux_usb.sh

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