|
|
@ -1,7 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: kwrited
|
|
|
|
Name: kwrited
|
|
|
|
|
|
|
|
Summary: KDE Write Daemon
|
|
|
|
Version: 5.4.2
|
|
|
|
Version: 5.4.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: KDE Write Daemon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/kwrited
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/kwrited
|
|
|
@ -14,16 +15,16 @@ URL: https://projects.kde.org/projects/kde/workspace/kwrited
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## upstreamable patches
|
|
|
|
Patch0: kwrited-call-setgroups.patch
|
|
|
|
Patch0: kwrited-call-setgroups.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: kf5-kpty-devel
|
|
|
|
BuildRequires: kf5-kpty-devel >= 5.13.0-2
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
|
|
|
|
|
|
|
@ -36,26 +37,36 @@ Conflicts: kde-workspace < 5.0.0-1
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%patch0 -p1 -b .setgroups
|
|
|
|
%patch0 -p1 -b .setgroups
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc COPYING
|
|
|
|
%license COPYING
|
|
|
|
%{_bindir}/kwrited
|
|
|
|
# kpty built with utempter support
|
|
|
|
|
|
|
|
%if 1
|
|
|
|
|
|
|
|
%{_kf5_qtpluginsdir}/kded_kwrited.so
|
|
|
|
|
|
|
|
%{_kf5_datadir}/kservices5/kded/kwrited.desktop
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%{_kf5_bindir}/kwrited
|
|
|
|
%{_sysconfdir}/xdg/autostart/kwrited-autostart.desktop
|
|
|
|
%{_sysconfdir}/xdg/autostart/kwrited-autostart.desktop
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%{_kf5_datadir}/knotifications5/kwrited.notifyrc
|
|
|
|
%{_kf5_datadir}/knotifications5/kwrited.notifyrc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|