|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
# %define snapshot 20140315
|
|
|
|
|
%define framework plasma
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
@ -9,11 +8,13 @@ Summary: KDE Frameworks 5 Tier 3 framework is foundation to build a prima
|
|
|
|
|
License: GPLv2+ and LGPLv2+ and BSD
|
|
|
|
|
URL: http://www.kde.org
|
|
|
|
|
|
|
|
|
|
# git archive --format=tar --prefix=%{name}-%{version}/ \
|
|
|
|
|
# --remote=git://anongit.kde.org/%{name}.git master | \
|
|
|
|
|
# bzip2 -c > %{name}-%{version}-%{snapshot}git.tar.bz2
|
|
|
|
|
# Source0: %{name}-%{version}-%{snapshot}git.tar.bz2
|
|
|
|
|
Source0: http://download.kde.org/stable/frameworks/%{version}/%{framework}-framework-%{version}.tar.xz
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
|
%if %{revision} >= 50
|
|
|
|
|
%global stable unstable
|
|
|
|
|
%else
|
|
|
|
|
%global stable stable
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{version}/%{framework}-framework-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
@ -56,7 +57,6 @@ Requires: kf5-filesystem
|
|
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
@ -99,10 +99,8 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f plasma5_qt.lang
|
|
|
|
|
%doc COPYING.LIB README.md
|
|
|
|
|
%{_kf5_bindir}/dpitest
|
|
|
|
@ -121,7 +119,6 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
%{_kf5_plugindir}/kded/platformstatus.so
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5Plasma
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5PlasmaQuick
|
|
|
|
|
%{_kf5_libdir}/libKF5Plasma.so
|
|
|
|
|