]> git.pld-linux.org Git - packages/ka5-ktp-call-ui.git/blame - ka5-ktp-call-ui.spec
- bcond_with tests
[packages/ka5-ktp-call-ui.git] / ka5-ktp-call-ui.spec
CommitLineData
18f87930
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
09e816c5 4%define kdeappsver 21.12.3
404003a0 5%define kframever 5.56.0
74c45ed8
WF
6%define qtver 5.9.0
7%define kaname ktp-call-ui
8Summary: ktp-call-ui
9Name: ka5-%{kaname}
09e816c5 10Version: 21.12.3
74c45ed8
WF
11Release: 1
12License: GPL v2+/LGPL v2.1+
13Group: X11/Applications
f8449c18 14Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
09e816c5 15# Source0-md5: 4274d1a59729a0d19341226a287cca29
74c45ed8
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Qml-devel
19BuildRequires: Qt5Quick-devel
20BuildRequires: cmake >= 2.8.12
21BuildRequires: gettext-devel
404003a0
WF
22BuildRequires: ka5-ktp-common-internals-devel >= %{kdeappsver}
23BuildRequires: kf5-extra-cmake-modules >= %{kframever}
24BuildRequires: kf5-kcmutils-devel >= %{kframever}
25BuildRequires: kf5-kconfig-devel >= %{kframever}
26BuildRequires: kf5-kdeclarative-devel >= %{kframever}
27BuildRequires: kf5-ki18n-devel >= %{kframever}
28BuildRequires: kf5-kiconthemes-devel >= %{kframever}
29BuildRequires: kf5-knotifications-devel >= %{kframever}
30BuildRequires: kf5-kxmlgui-devel >= %{kframever}
3a20f36d 31BuildRequires: ninja
74c45ed8
WF
32BuildRequires: phonon-qt5-devel
33BuildRequires: qt5-build >= %{qtver}
34BuildRequires: qt5-gstreamer-devel
35BuildRequires: rpmbuild(macros) >= 1.164
36BuildRequires: shared-mime-info
37BuildRequires: tar >= 1:1.22
f8449c18 38BuildRequires: telepathy-qt5-devel >= 0.9.8
74c45ed8
WF
39BuildRequires: xz
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%description
43ktp-call-ui is interacting with telepathy and farstream.
44
020c1682
WF
45%description -l pl.UTF-8
46ktp-call-ui komunikuje siÄ™ z telepathy i farstream.
47
74c45ed8
WF
48%prep
49%setup -q -n %{kaname}-%{version}
50
51%build
52install -d build
53cd build
54%cmake \
3a20f36d 55 -G Ninja \
18f87930 56 %{!?with_tests:-DBUILD_TESTING=OFF} \
404003a0 57 -DHTML_INSTALL_DIR=%{_kdedocdir} \
74c45ed8
WF
58 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
59 ..
3a20f36d 60%ninja_build
74c45ed8 61
18f87930
WF
62%if %{with tests}
63ctest
64%endif
65
66
74c45ed8
WF
67%install
68rm -rf $RPM_BUILD_ROOT
3a20f36d 69%ninja_install -C build
74c45ed8
WF
70
71%find_lang %{kaname} --all-name --with-kde
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files -f %{kaname}.lang
77%defattr(644,root,root,755)
78%attr(755,root,root) %{_bindir}/ktp-dialout-ui
79%attr(755,root,root) %{_libexecdir}/ktp-call-ui
80%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.KTp.CallUi.service
81%{_datadir}/ktp-call-ui
82%{_datadir}/kxmlgui5/ktp-call-ui
83%{_datadir}/telepathy/clients/KTp.CallUi.client
This page took 0.106261 seconds and 4 git commands to generate.