File kopete-protocol-facebook.spec of Package kopete-protocol-facebook
#
# spec file for package kopete-protocol-facebook (Version 0.1.4)
#
# 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
%define gitrev faec2bc
Name: kopete-protocol-facebook
BuildRequires: kopete-devel >= 4.2 libkdepimlibs4-devel libqjson-devel
License: GPL v2 or later
Url: http://kopete.kde.org/
Group: System/GUI/KDE
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Facebook Protocol Support for Kopete
Version: 0.1.4
Release: 1.<RELEASE1>
Source: dmacvicar-kopete-facebook-%{gitrev}.tar.gz
Provides: kde4-kopete-protocol-facebook = 0.1.2
Obsoletes: kde4-kopete-protocol-facebook <= 0.1.2
%kde4_runtime_requires
%description
This package contains Facebook protocol support for Kopete.
Authors:
--------
Duncan Mac-Vicar Prett <duncan@kde.org>
%prep
%setup -n dmacvicar-kopete-facebook-%{gitrev}
%build
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DKOPETE_FACEBOOK_OUTOFTREE=1 ..
%make_jobs
%install
cd build
%makeinstall
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
#%doc AUTHORS COPYING
/usr/%_lib/kde4/kopete_facebook.so
/usr/share/kde4/apps/kopete/icons/*
#/usr/share/kde4/apps/kopete_facebook
/usr/share/kde4/services/kopete_facebook.desktop
%changelog