This commit is contained in:
committed by
Git OBS Bridge
parent
40e7c689c1
commit
e83aac3a12
31
kded.spec
31
kded.spec
@@ -16,30 +16,33 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without lang
|
||||
%define _tar_path 5.9
|
||||
Name: kded
|
||||
Version: %{_tar_path}.0
|
||||
Version: 5.9.0
|
||||
Release: 0
|
||||
%define kf5_version %{version}
|
||||
BuildRequires: cmake >= 2.8.12
|
||||
BuildRequires: extra-cmake-modules >= %{version}
|
||||
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kcoreaddons-devel >= %{kf5_version}
|
||||
BuildRequires: kcrash-devel >= %{kf5_version}
|
||||
BuildRequires: kdbusaddons-devel >= %{kf5_version}
|
||||
BuildRequires: kdoctools-devel >= %{kf5_version}
|
||||
BuildRequires: kcoreaddons-devel >= %{_tar_path}
|
||||
BuildRequires: kcrash-devel >= %{_tar_path}
|
||||
BuildRequires: kdbusaddons-devel >= %{_tar_path}
|
||||
BuildRequires: kdoctools-devel >= %{_tar_path}
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: ki18n-devel >= %{kf5_version}
|
||||
BuildRequires: kinit-devel >= %{kf5_version}
|
||||
BuildRequires: kservice-devel >= %{kf5_version}
|
||||
BuildRequires: kwindowsystem-devel >= %{kf5_version}
|
||||
BuildRequires: ki18n-devel >= %{_tar_path}
|
||||
BuildRequires: kinit-devel >= %{_tar_path}
|
||||
BuildRequires: kservice-devel >= %{_tar_path}
|
||||
BuildRequires: kwindowsystem-devel >= %{_tar_path}
|
||||
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Network) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0
|
||||
%if %{with lang}
|
||||
Recommends: %{name}-lang
|
||||
%endif
|
||||
Summary: Central daemon of KDE workspaces
|
||||
License: LGPL-2.1+
|
||||
Group: System/GUI/KDE
|
||||
@@ -74,23 +77,23 @@ Development files.
|
||||
%kf5_makeinstall -C build
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
if [ -e po ]; then
|
||||
%if %{with lang}
|
||||
echo "%doc %lang(it) %{_kf5_mandir}/it" >>%{name}.lang
|
||||
echo "%doc %lang(nl) %{_kf5_mandir}/nl" >>%{name}.lang
|
||||
echo "%doc %lang(pt_BR) %{_kf5_mandir}/pt_BR" >>%{name}.lang
|
||||
echo "%doc %lang(ru) %{_kf5_mandir}/ru" >>%{name}.lang
|
||||
echo "%doc %lang(sv) %{_kf5_mandir}/sv" >>%{name}.lang
|
||||
echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}.lang
|
||||
else
|
||||
touch %{name}.lang
|
||||
fi
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user