]> git.pld-linux.org Git - packages/kp5-kwrited.git/blame - kp5-kwrited.spec
- updated to 5.26.1
[packages/kp5-kwrited.git] / kp5-kwrited.spec
CommitLineData
9df1d0ed
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
b08a7788 4%define kdeplasmaver 5.26.1
124b2354 5%define qtver 5.15.2
67fba71d
WF
6%define kpname kwrited
7Summary: kwrited
8Name: kp5-%{kpname}
b08a7788 9Version: 5.26.1
89a5ca49 10Release: 1
67fba71d
WF
11License: GPL v2+/LGPL v2.1+
12Group: Base
7000cbb5 13Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
b08a7788 14# Source0-md5: cc8d253b8406a8590173f81149b57bda
67fba71d
WF
15URL: http://www.kde.org/
16BuildRequires: Qt5Core-devel
17BuildRequires: Qt5Gui-devel >= %{qtver}
18BuildRequires: Qt5Widgets-devel >= %{qtver}
19BuildRequires: cmake >= 2.8.12
20BuildRequires: gettext-devel
21BuildRequires: kf5-extra-cmake-modules >= 1.4.0
22BuildRequires: kf5-kcoreaddons-devel
23BuildRequires: kf5-kdbusaddons-devel
24BuildRequires: kf5-ki18n-devel
25BuildRequires: kf5-knotifications-devel
26BuildRequires: kf5-kpty-devel
c8922465 27BuildRequires: ninja
67fba71d
WF
28BuildRequires: qt5-build >= %{qtver}
29BuildRequires: rpmbuild(macros) >= 1.164
30BuildRequires: tar >= 1:1.22
31BuildRequires: xz
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
49e6995b 35KDE Plasma daemon listening for wall and write messages.
67fba71d
WF
36
37%prep
38%setup -q -n %{kpname}-%{version}
39
40%build
41install -d build
42cd build
c8922465 43%cmake -G Ninja \
9df1d0ed 44 %{!?with_tests:-DBUILD_TESTING=OFF} \
67fba71d 45 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
57ca26e8 46 -DHTML_INSTALL_DIR=%{_kdedocdir} \
67fba71d 47 ..
c8922465 48%ninja_build
67fba71d 49
9df1d0ed
WF
50%if %{with tests}
51ctest
52%endif
53
67fba71d
WF
54%install
55rm -rf $RPM_BUILD_ROOT
c8922465 56%ninja_install -C build
67fba71d
WF
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
efa5607b 63%{_libdir}/qt5/plugins/kf5/kded/kwrited.so
67fba71d 64%{_datadir}/knotifications5/kwrited.notifyrc
This page took 0.337132 seconds and 4 git commands to generate.