- update %%files
- update URL
- make fedora cache script fedora-only (for now)
epel9
Rex Dieter 9 years ago
parent aa3a38e25c
commit 51d9776adf

@ -6,7 +6,7 @@ Release: 1%{?dist}
Summary: KDE Frameworks 5 Tier 3 framework is foundation to build a primary user interface
License: GPLv2+ and LGPLv2+ and BSD
URL: https://projects.kde.org/plasma-framework
URL: https://quickgit.kde.org/?p=plasma-framework.git
%global versiondir %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3)
@ -63,7 +63,10 @@ BuildRequires: qt5-qtx11extras-devel
Requires: kf5-filesystem >= %{version}
%if 0%{?fedora}
# https://bugzilla.redhat.com/1293415
Conflicts: kdeplasma-addons < 5.5.0-3
%endif
%description
%{summary}.
@ -100,9 +103,11 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang plasma5_qt --with-qt --all-name
%if 0%{?fedora}
mkdir -p %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/env
sed -e "s|@@VERSION@@|%{version}|g" fedora-plasma-cache.sh.in > \
%{buildroot}%{_sysconfdir}/xdg/plasma-workspace/env/fedora-plasma-cache.sh
%endif
%post -p /sbin/ldconfig
@ -111,7 +116,9 @@ sed -e "s|@@VERSION@@|%{version}|g" fedora-plasma-cache.sh.in > \
%files -f plasma5_qt.lang
%doc README.md
%license COPYING.LIB
%if 0%{?fedora}
%{_sysconfdir}/xdg/plasma-workspace/env/fedora-plasma-cache.sh
%endif
%{_kf5_bindir}/plasmapkg2
%{_kf5_libdir}/libKF5Plasma.so.*
%{_kf5_libdir}/libKF5PlasmaQuick.so.*
@ -136,6 +143,7 @@ sed -e "s|@@VERSION@@|%{version}|g" fedora-plasma-cache.sh.in > \
%{_kf5_includedir}/plasma_version.h
%{_kf5_includedir}/plasma/
%{_kf5_includedir}/Plasma/
%{_kf5_includedir}/PlasmaQuick/
%dir %{_kf5_datadir}/kdevappwizard/
%{_kf5_datadir}/kdevappwizard/templates/

Loading…
Cancel
Save