KDE Frameworks 5.7.0

epel8
Dan Vrátil 10 years ago
parent 8245ee1ded
commit 3290eea5ba

@ -1,15 +1,13 @@
Name: kf5 Name: kf5
Version: 5.6.0 Version: 5.7.0
Release: 2%{?dist} Release: 2%{?dist}
Summary: Filesystem and RPM macros for KDE Frameworks 5 Summary: Filesystem and RPM macros for KDE Frameworks 5
BuildArch: noarch
License: BSD License: BSD
URL: http://www.kde.org URL: http://www.kde.org
Source0: macros.kf5 Source0: macros.kf5
# noarch -> arch transition
Obsoletes: kf5 < 5.5.0-2
%description %description
Filesystem and RPM macros for KDE Frameworks 5 Filesystem and RPM macros for KDE Frameworks 5
@ -20,15 +18,13 @@ Filesystem for KDE Frameworks 5.
%package rpm-macros %package rpm-macros
Summary: RPM macros for KDE Frameworks 5 Summary: RPM macros for KDE Frameworks 5
BuildArch: noarch
%description rpm-macros %description rpm-macros
RPM macros for building KDE Frameworks 5 packages. RPM macros for building KDE Frameworks 5 packages.
%install %install
# See macros.kf5 where the directories are specified # See macros.kf5 where the directories are specified
mkdir -p %{buildroot}%{_prefix}/lib/qt5/plugins/kf5 mkdir -p %{buildroot}%{_libdir}/qt5/plugins/kf5
mkdir -p %{buildroot}%{_prefix}/%{_lib}/qt5/plugins/kf5
mkdir -p %{buildroot}%{_includedir}/KF5 mkdir -p %{buildroot}%{_includedir}/KF5
mkdir -p %{buildroot}%{_libexecdir}/kf5 mkdir -p %{buildroot}%{_libexecdir}/kf5
mkdir -p %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/{env,shutdown} mkdir -p %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/{env,shutdown}
@ -50,22 +46,28 @@ install -pm644 %{_sourcedir}/macros.kf5 %{buildroot}%{_rpmconfigdir}/macros.d
%changelog %changelog
* Tue Feb 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
- add %%find_lang_kf5 macro to macros.kf5 to workaround %%find_lang bugs
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
- KDE Frameworks 5.7.0
* Fri Jan 30 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-2 * Fri Jan 30 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-2
- own /etc/xdg/plasma-workspace/, /etc/xdg/plasma-workspace/{env,shutdown} - own /etc/xdg/plasma-workspace/, /etc/xdg/plasma-workspace/{env,shutdown}
* Tue Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1 * Tue Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
- KDE Frameworks 5.6.0 - KDE Frameworks 5.6.0
* Thu Dec 18 2014 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2 * Tue Jan 06 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
- make pkg arch'd, own %%_prefix/%%_lib and %%_prefix/lib - KDE Frameworks 5.6.0
* Thu Dec 11 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1 * Sat Dec 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
- KDE Frameworks 5.5.0 - KDE Frameworks 5.5.0
* Mon Nov 24 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2 * Mon Nov 24 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2
- macros.kf5: PATH, prepend %%_qt5_bindir instead of %%_kf5_bindir (ie, /usr/bin) - macros.kf5: PATH, prepend %%_qt5_bindir instead of %%_kf5_bindir (ie, /usr/bin)
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1 * Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
- KDE Frameworks 5.4.0 - KDE Frameworks 5.4.0
* Tue Oct 14 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.0-2 * Tue Oct 14 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.0-2

@ -47,3 +47,21 @@
-DKF5_LIBEXEC_INSTALL_DIR=%{_kf5_libexecdir} \\\ -DKF5_LIBEXEC_INSTALL_DIR=%{_kf5_libexecdir} \\\
-DKF5_INCLUDE_INSTALL_DIR=%{_kf5_includedir} \\\ -DKF5_INCLUDE_INSTALL_DIR=%{_kf5_includedir} \\\
-DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON -DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON
# %%find_lang_kf5
#
# This macro is used in KDE Frameworks 5 packages instead of %%find_lang,
# becasue find_lang is broken an it thinks that "_qt" in foobar_qt.qm is
# the name of the language.
# This macro should NOT be used with anything else but KDE Frameworks, since
# it does some assumptions regarding the names and locations and it might not
# work with other packages.
# We should eventually get this to RPM, or fix %%find_lang
# -- dvratil
# Usage: find_lang_kf5 fooBar5
# - will look for fooBar5_qt.qm files in %%{buildroot}/usr/share/locale/
#
%find_lang_kf5() \
(find %{buildroot}/%{_datadir}/locale/ -name "%1.qm" -type f | sed ' \
s:%{buildroot}/:: \
s:%{_datadir}/locale/\\([a-zA-Z_\\@]*\\)/\\([a-zA-Z_]*\\)/%1.qm:%lang(\\1) %{_datadir}/locale/\\1/\\2/%1.qm:' > %1.lang)

Loading…
Cancel
Save