File ktp-send-file.spec of Package ktp-send-file

#
# spec file for package ktp-send-file
#
# Copyright (c) 2014 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/
#


Name:           ktp-send-file
Version:        0.8.80
Release:        0
Summary:        File manager plugin
License:        LGPL-2.1+
Group:          Productivity/Networking/Instant Messenger
Url:            http://community.kde.org/Real-Time_Communication_and_Collaboration
Source:         http://download.kde.org/unstable/kde-telepathy/%{version}/src/%{name}-%{version}.tar.bz2
BuildRequires:  fdupes
BuildRequires:  ktp-common-internals-devel >= %{version}
BuildRequires:  libkde4-devel >= 4.7.0
BuildRequires:  telepathy-qt4-devel >= 0.8.9
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

%description
A File manager plugin to launch a file transfer job with a specified contact

%lang_package
%prep
%setup -q

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  %kde4_makeinstall -C build
  %kde_post_install
  %fdupes -s %{buildroot}
  %find_lang %{name} %{name}.lang

%files lang -f %{name}.lang

%files
%defattr(-,root,root)
%doc COPYING
%{_kde4_bindir}/%{name}
%{_kde4_servicesdir}/ServiceMenus/ktp-send-file.desktop

%changelog
openSUSE Build Service is sponsored by