]> git.pld-linux.org Git - packages/ka5-ktp-send-file.git/blob - ka5-ktp-send-file.spec
- updated to 22.04.1
[packages/ka5-ktp-send-file.git] / ka5-ktp-send-file.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # build with tests
4 %define         kdeappsver      22.04.1
5 %define         kframever       5.56.0
6 %define         qtver           5.9.0
7 %define         kaname          ktp-send-file
8 Summary:        ktp-send-file
9 Name:           ka5-%{kaname}
10 Version:        22.04.1
11 Release:        1
12 License:        GPL v2+/LGPL v2.1+
13 Group:          X11/Applications
14 Source0:        http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
15 # Source0-md5:  690d2403f7a5b5b66d7c937091266fbb
16 URL:            http://www.kde.org/
17 BuildRequires:  Qt5Core-devel >= %{qtver}
18 BuildRequires:  Qt5Gui-devel >= 5.11.1
19 BuildRequires:  Qt5Widgets-devel
20 BuildRequires:  cmake >= 2.8.12
21 BuildRequires:  gettext-devel
22 BuildRequires:  ka5-ktp-common-internals-devel >= %{kdeappsver}
23 BuildRequires:  kf5-extra-cmake-modules >= %{kframever}
24 BuildRequires:  kf5-kcmutils-devel >= %{kframever}
25 BuildRequires:  kf5-ki18n-devel >= %{kframever}
26 BuildRequires:  kf5-kiconthemes-devel >= %{kframever}
27 BuildRequires:  kf5-kio-devel >= %{kframever}
28 BuildRequires:  ninja
29 BuildRequires:  qt5-build >= %{qtver}
30 BuildRequires:  rpmbuild(macros) >= 1.164
31 BuildRequires:  shared-mime-info
32 BuildRequires:  tar >= 1:1.22
33 BuildRequires:  telepathy-qt5-devel >= 0.9.8
34 BuildRequires:  xz
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 KDE Telepathy file manager plugin to send files to contacts.
39
40 %description -l pl.UTF-8
41 Wtyczka menadżera plików KDE Telepathy do wysyłania plików
42 do kontaktów.
43
44 %prep
45 %setup -q -n %{kaname}-%{version}
46
47 %build
48 install -d build
49 cd build
50 %cmake \
51         -G Ninja \
52         %{!?with_tests:-DBUILD_TESTING=OFF} \
53         -DHTML_INSTALL_DIR=%{_kdedocdir} \
54         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
55         ..
56 %ninja_build
57
58 %if %{with tests}
59 ctest
60 %endif
61
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 %ninja_install -C build
66
67 %find_lang %{kaname} --all-name --with-kde
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files -f %{kaname}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/ktp-send-file
This page took 0.10215 seconds and 3 git commands to generate.