File kio_rapip.spec of Package kio_rapip
#
# spec file for package kio_rapip
#
# Copyright (c) 2012 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: kio_rapip
Version: 0.3
Release: 0
Summary: KIO Slave for Windows Mobile devices
License: MIT
Group: System/GUI/KDE
Url: http://www.synce.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: http://downloads.sourceforge.net/project/synce/SynCE-KDE/kde4-kio-rapip/kde4-kio-rapip-%{version}.tar.gz
BuildRequires: libkde4-devel >= 3.94
BuildRequires: libsynce-devel >= 0.11.1
Requires(pre): shared-mime-info
Requires: kdebase4-runtime >= 3.94
Recommends: synce-connector
Suggests: synce-kpm
Provides: kde4-kio_rapip = %{version}
Obsoletes: kde4-kio_rapip < %{version}
%description
RAPIP is the short form for "RAPI-Protocol". It is a full featured KIOSlave used to browse through a Windows Mobile
PDA's file system via the SynCE infrastructure, and to copy files to and from the PDA by drag and drop
via Konqueror, Dolphin, or any other KIOSlave enabled program. This is the KDE4/Qt4 version.
%prep
%setup -q -n kde4-kio-rapip-%{version}
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%{?make_install} %{!?make_install:%makeinstall}
%kde_post_install
%post
/usr/bin/update-mime-database %{_datadir}/mime
/sbin/ldconfig
%postun
/usr/bin/update-mime-database %{_datadir}/mime
/sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog INSTALL LICENSE README
%{_libdir}/kde4/kio_rapip.so
%{_datadir}/kde4/services/rapip.protocol
%{_datadir}/icons/hicolor/*/apps/rapip*
%{_datadir}/kde4/services/synce.protocol
%{_datadir}/mime/packages/synce-kde4-kio-rapip.xml
%changelog