File skype4pidgin.spec of Package skype4pidgin

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

%ifarch x86_64
%define _arch 64
%else
%define _arch 32
%endif

%define svnver 20090723

Name:           skype4pidgin
Summary:        A simple API that allow to use skype in pidgin
Version:        0.svn%{svnver}
Release:        1
License:        GPL v2
Group:          Productivity/Networking/Talk/Clients
URL:            http://eion.robbmob.com/
#svn co http://skype4pidgin.googlecode.com/svn/trunk/ skype4pidgin
Source0:        %{name}-svn%{svnver}.tar.bz2
Patch0:         skype4pidgin-makefile-lib-arch.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires:  make gcc gcc-c++ pidgin-devel glib2-devel
BuildRequires:  fdupes
Recommends:     pidgin


%description
This is the Skype API Plugin for Pidgin/libpurple/Adium.
If you're already running Skype, you can have your Skype contacts
displayed with your Pidgin/libpurple/Adium contacts. It is intended as
a complete replacement for the Skype user interface,
hopefully everything you can do in Skype you can do with this plugin.

%prep
%setup -q -n %{name}-svn%{svnver}
%patch0 -p1

%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%__make linux%{_arch}

%install
%__make install-linux%{_arch} DESTDIR=%{buildroot}

%fdupes -s %{buildroot}

%find_lang %{name}

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%clean
rm -fr %buildroot

%files -f %{name}.lang
%defattr(-,root,root)
%{_datadir}/pixmaps/pidgin/emotes/skype/theme
%dir %{_datadir}/pixmaps/pidgin/emotes/skype
%{_datadir}/pixmaps/pidgin/protocols/*/skypeout.png
%{_datadir}/pixmaps/pidgin/protocols/*/skype.png
%{_libdir}/purple-2/*.so

%changelog
* Wed Feb 25 2009 - Radomir Cernoch <radomir.cernoch@gmail.com> - 0.svn20090225
- explicit dependencies removed
- source code updated
- proper version set
* Tue Jan 06 2009 - Andrea Florio <andrea@opensuse.org>
- new upstream version 1.4
* Sat Dec 27 2008 - Andrea Florio <andrea@opensuse.org>
- new package
openSUSE Build Service is sponsored by