forked from pool/kactivities5
This commit is contained in:
committed by
Git OBS Bridge
parent
e049fbebe8
commit
c6cffdbde0
@@ -16,10 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without lang
|
||||
%define lname libKF5Activities5
|
||||
%define _tar_path 5.9
|
||||
Name: kactivities5
|
||||
Version: %{_tar_path}.0
|
||||
Version: 5.9.0
|
||||
Release: 0
|
||||
%define kf5_version %{version}
|
||||
Summary: KDE Plasma Activities support
|
||||
@@ -32,20 +33,20 @@ Source1: baselibs.conf
|
||||
Patch0: kamd-rename.patch
|
||||
BuildRequires: boost-devel >= 1.49.0
|
||||
BuildRequires: cmake >= 2.8.12
|
||||
BuildRequires: extra-cmake-modules >= %{version}
|
||||
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kcmutils-devel >= %{kf5_version}
|
||||
BuildRequires: kconfig-devel >= %{kf5_version}
|
||||
BuildRequires: kcoreaddons-devel >= %{kf5_version}
|
||||
BuildRequires: kdbusaddons-devel >= %{kf5_version}
|
||||
BuildRequires: kdeclarative-devel >= %{kf5_version}
|
||||
BuildRequires: kcmutils-devel >= %{_tar_path}
|
||||
BuildRequires: kconfig-devel >= %{_tar_path}
|
||||
BuildRequires: kcoreaddons-devel >= %{_tar_path}
|
||||
BuildRequires: kdbusaddons-devel >= %{_tar_path}
|
||||
BuildRequires: kdeclarative-devel >= %{_tar_path}
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: kglobalaccel-devel >= %{kf5_version}
|
||||
BuildRequires: ki18n-devel >= %{kf5_version}
|
||||
BuildRequires: kio-devel >= %{kf5_version}
|
||||
BuildRequires: kservice-devel >= %{kf5_version}
|
||||
BuildRequires: kwindowsystem-devel >= %{kf5_version}
|
||||
BuildRequires: kxmlgui-devel >= %{kf5_version}
|
||||
BuildRequires: kglobalaccel-devel >= %{_tar_path}
|
||||
BuildRequires: ki18n-devel >= %{_tar_path}
|
||||
BuildRequires: kio-devel >= %{_tar_path}
|
||||
BuildRequires: kservice-devel >= %{_tar_path}
|
||||
BuildRequires: kwindowsystem-devel >= %{_tar_path}
|
||||
BuildRequires: kxmlgui-devel >= %{_tar_path}
|
||||
BuildRequires: xz
|
||||
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
||||
@@ -66,7 +67,9 @@ Kactivities provides an API for using and interacting with the Plasma Activities
|
||||
%package -n %lname
|
||||
Summary: Library for KDE's Plasma Activities support
|
||||
Group: System/GUI/KDE
|
||||
%if %{with lang}
|
||||
Recommends: %lname-lang = %{version}
|
||||
%endif
|
||||
|
||||
%description -n %lname
|
||||
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
||||
@@ -107,17 +110,17 @@ Development files.
|
||||
%kf5_makeinstall -C build
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
if [ -e po ]; then
|
||||
%if %{with lang}
|
||||
%find_lang %{name}
|
||||
else
|
||||
touch %{name}.lang
|
||||
fi
|
||||
%endif
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%if %{with lang}
|
||||
%files -n %lname-lang -f %{name}.lang
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user