This commit is contained in:
committed by
Git OBS Bridge
parent
e8fce40603
commit
a17b4967d7
@@ -22,7 +22,7 @@ Release: 0
|
||||
Summary: KDE Plasma Activities support
|
||||
License: GPL-2.0+
|
||||
Group: System/GUI/KDE
|
||||
Url: http://projects.kde.org/kactivities
|
||||
Url: http://projects.kde.org/kactivitymanagerd
|
||||
Source: kactivitymanagerd-%{version}.tar.xz
|
||||
BuildRequires: boost-devel >= 1.49.0
|
||||
BuildRequires: cmake >= 2.8.12
|
||||
@@ -61,6 +61,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%description
|
||||
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
|
||||
|
||||
%package lang
|
||||
Summary: KDE Plasma Activities support
|
||||
Group: System/GUI/KDE
|
||||
Requires: %{name} = %{version}
|
||||
Provides: libKF5Activities5-lang = 5.20.0
|
||||
Obsoletes: libKF5Activities5-lang < 5.20.0
|
||||
|
||||
%description lang
|
||||
Provides translations to the package %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n kactivitymanagerd-%{version}
|
||||
|
||||
@@ -73,13 +83,17 @@ Kactivities provides an API for using and interacting with the Plasma Activities
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%if %{with lang}
|
||||
%find_lang %{name}
|
||||
%find_lang kactivities5
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%if %{with lang}
|
||||
%files -n %name-lang -f kactivities5.lang
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_kf5_bindir}/kactivitymanagerd
|
||||
|
Reference in New Issue
Block a user