Репозиторий Sisyphus
Последнее обновление: 24 марта 2019 | Пакетов: 17646 | Посещений: 13267054
en ru br
Репозитории ALT

Группа :: Коммуникации
Пакет: kde4-connect

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _kde_alternate_placement 1
%define sover 1
%define libkdeconnect libkdeconnect%sover
%define libkdeconnectinterfaces libkdeconnectinterfaces%sover
%define libkdeconnectcore libkdeconnectcore

%define rname kdeconnect-kde
Name: kde4-connect
Version: 0.8
Release: alt2

Group: Communications
Summary: KDE Connect client for communication with smartphones
Url: https://projects.kde.org/projects/playground/base/kdeconnect-kde
License: GPLv2+

Provides: %rname = %version
Provides: kde-connect = %version

Requires: fuse-sshfs qca2-ossl

Source: %rname-%version.tar

Patch1: alt-old-cmake.patch

# Automatically added by buildreq on Thu May 29 2014 (-bi)

# optimized out: automoc cmake cmake-modules elfutils fontconfig fontconfig-devel glibc-devel-static kde4libs libICE-devel libSM-devel libX11-devel libXScrnSaver-devel libXau-devel libXcomposite-devel libXcursor-devel libXdamage-devel libXdmcp-devel libXext-devel libXfixes-devel libXft-devel libXi-devel libXinerama-devel libXpm-devel libXrandr-devel libXrender-devel libXt-devel libXtst-devel libXv-devel libXxf86vm-devel libcloog-isl4 libdbus-devel libdbusmenu-qt2 libfreetype-devel libpng-devel libqt4-core libqt4-dbus libqt4-declarative libqt4-devel libqt4-gui libqt4-network libqt4-script libqt4-sql libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libsoprano-devel libstdc++-devel libxkbfile-devel phonon-devel pkg-config python-base ruby ruby-stdlibs xorg-kbproto-devel xorg-xf86miscproto-devel xorg-xproto-devel zlib-devel
#BuildRequires: gcc-c++ glib2-devel kde4libs-devel libXxf86misc-devel libicu50 libqca2-devel libqt3-devel python-module-protobuf qjson-devel qt4-designer rpm-build-ruby zlib-devel-static
BuildRequires: gcc-c++ kde4libs-devel libqca2-devel qjson-devel kde-common-devel
BuildRequires: libfakekey-devel

%description
KDE Connect adds communication between KDE and your smartphone.

Currently, you can pair with your Android devices over Wifi using the
KDE Connect app from Albert Vaka which you can obtain via Google Play, F-Droid
or the project website.

%package common
Summary: %name common package
Group: System/Configuration/Other
BuildArch: noarch
%description common
Common package for %name

%package -n %libkdeconnectcore
Summary: %name libraries
Group: System/Libraries
Requires: %name-common >= %EVR
%description -n %libkdeconnectcore
%name libraries

%package -n %libkdeconnectinterfaces
Summary: %name libraries
Group: System/Libraries
Requires: %name-common >= %EVR
%description -n %libkdeconnectinterfaces
%name libraries

%package devel
Summary: Development files for %name
Group: Development/KDE and QT
Requires: %name-common = %version-%release
%description devel
Development files for %name


%prep
%setup -n %rname-%version
%patch1 -p0

sed -i "/^add_subdirectory.*tests.*/d" CMakeLists.txt
echo "macro_optional_add_subdirectory( po )" >> CMakeLists.txt


%build
%K4build


%install
%K4install
%find_lang --all-name --with-kde %name



%files common

%files -f %name.lang
%doc README

%_kde4_bindir/kdeconnect-cli
%_K4exec/kdeconnectd

%_K4lib/kcm_kdeconnect.so
%_kde4_xdg_apps/kdeconnect.desktop

#%_K4lib/kio_kdeconnect.so

#%_K4srv/kdeconnect.protocol

%_K4lib/imports/org/kde/kdeconnect/
%_K4lib/kded_kdeconnect.so
%_K4lib/kio_kdeconnect.so
%_K4lib/kdeconnectfiletiemaction.so


%_K4lib/kdeconnect_*.so
%_K4apps/kdeconnect/
%_K4apps/plasma/plasmoids/kdeconnect/

%_K4srv/kded/kdeconnect.desktop
%_K4srv/*kdeconnect*
%_K4srvtyp/kdeconnect_plugin.desktop
%_K4dbus_services/org.kde.kdeconnect.service

%_kde4_iconsdir/hicolor/*/apps/kdeconnect.*

%files -n %libkdeconnectcore
%_K4libdir/libkdeconnectcore.so.%sover
%_K4libdir/libkdeconnectcore.so.%sover.*

%files -n %libkdeconnectinterfaces
%_K4libdir/libkdeconnectinterfaces.so.%sover
%_K4libdir/libkdeconnectinterfaces.so.%sover.*

%files devel
%_K4includedir/kdeconnect/
%_K4includedir/KDEConnect/
%_libdir/cmake/KDEConnect/
%_K4link/lib*.so
%_K4dbus_interfaces/org.kde.kdeconnect.*.xml

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin