|
|
@ -12,10 +12,13 @@ Release: 1%{?dist}
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
URL: http://www.kde.org
|
|
|
|
URL: http://www.kde.org
|
|
|
|
|
|
|
|
|
|
|
|
# git archive --format=tar --prefix=%{name}-%{version}-%{snapshot}/ \
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
# --remote=git://anongit.kde.org/kactivities.git | \
|
|
|
|
%if %{revision} >= 50
|
|
|
|
# bzip2 -c > ${name}-%{version}-%{snapshot}.tar.bz2
|
|
|
|
%global stable unstable
|
|
|
|
Source0: http://download.kde.org/stable/frameworks/%{version}/%{framework}-%{version}.tar.xz
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global stable stable
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{version}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
|
|
|
|
|
|
@ -45,14 +48,12 @@ Provides: kactivities = %{version}-%{release}
|
|
|
|
A KDE Frameworks 5 Tier 3 API for using and interacting with Activities as a
|
|
|
|
A KDE Frameworks 5 Tier 3 API for using and interacting with Activities as a
|
|
|
|
consumer, application adding information to them or as an activity manager.
|
|
|
|
consumer, application adding information to them or as an activity manager.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
%package libs
|
|
|
|
Summary: Libraries for KActivities framework
|
|
|
|
Summary: Libraries for KActivities framework
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
%description libs
|
|
|
|
%description libs
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Developer files for %{name}-libs
|
|
|
|
Summary: Developer files for %{name}-libs
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
@ -85,9 +86,6 @@ rm -r %{buildroot}%{_kf5_qtplugindir}/*.so
|
|
|
|
rm -rf %{buildroot}/%{_kf5_datadir}/kf5/kactivitymanagerd
|
|
|
|
rm -rf %{buildroot}/%{_kf5_datadir}/kf5/kactivitymanagerd
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?build_main_package}
|
|
|
|
%if 0%{?build_main_package}
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -101,6 +99,9 @@ rm -rf %{buildroot}/%{_kf5_datadir}/kf5/kactivitymanagerd
|
|
|
|
%{_kf5_datadir}/kf5/kactivitymanagerd/
|
|
|
|
%{_kf5_datadir}/kf5/kactivitymanagerd/
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files libs -f kactivities5_qt.lang
|
|
|
|
%files libs -f kactivities5_qt.lang
|
|
|
|
%if !0%{?build_main_package}
|
|
|
|
%if !0%{?build_main_package}
|
|
|
|
%doc README README.md README.packagers README.developers MAINTAINER
|
|
|
|
%doc README README.md README.packagers README.developers MAINTAINER
|
|
|
|