File kepas.spec of Package kepas

#
# spec file for package kepas
#
# Copyright (c) 2013 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:           kepas
Version:        0.9.3
Release:        0
Summary:        KDE Easy Publish and Share
License:        GPL-2.0+
Group:          System/GUI/KDE
Url:            http://kde-apps.org/content/show.php/Kepas+-+KDE+Easy+Publish+and+Share?content=73968
Source0:        kepas-%{version}.tar.bz2
Patch1:         kepas-link-qt3support.patch
BuildRequires:  fdupes
BuildRequires:  libkde4-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

%description
Kepas is a filetransfer Utility. Using DNSSD services it discovers
buddies in your local LAN and lets you send files and klipper entries
via plasmoid or trayicon.

%prep
%setup -q -n kepas-%{version}
%patch1

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %make_install
  %fdupes -s %{buildroot}
  %kde_post_install

%post   -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
  rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS
%{_kde4_applicationsdir}/kepas.desktop
%{_kde4_appsdir}/kepas
%{_kde4_appsdir}/plasma
%{_kde4_bindir}/kepastray
%{_kde4_iconsdir}/hicolor/*/apps/kepas.*
%{_kde4_libdir}/libkepas.so
%{_kde4_libdir}/libkpf.so
%{_kde4_modulesdir}/plasma_applet_kepas.so
%{_kde4_servicesdir}/plasma-applet-kepas.desktop

%changelog
openSUSE Build Service is sponsored by