|
|
|
@ -1,12 +1,19 @@
|
|
|
|
|
%global framework kcoreaddons
|
|
|
|
|
|
|
|
|
|
# uncomment to enable bootstrap mode
|
|
|
|
|
#global bootstrap 1
|
|
|
|
|
|
|
|
|
|
%if !0%{?bootstrap}
|
|
|
|
|
%global tests 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Version: 5.21.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 1 addon with various classes on top of QtCore
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ and GPLv2+
|
|
|
|
|
URL: http://projects.kde.org/kcoreaddons
|
|
|
|
|
URL: https://quickgit.kde.org/?p=%{framework}.git
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
@ -21,6 +28,9 @@ BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
|
%if 0%{?bootstrap}
|
|
|
|
|
BuildRequires: gamin-devel
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem >= %{version}
|
|
|
|
|
|
|
|
|
@ -46,7 +56,8 @@ developing applications that use %{name}.
|
|
|
|
|
%build
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
|
%{?tests:-DBUILD_TESTING:BOOL=TRUE}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
@ -58,6 +69,10 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
%find_lang kcoreaddons5_qt --with-qt --all-name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
time make test -C %{_target_platform} ARGS="--timeout 300 --output-on-failure"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
|
|
|
@ -88,6 +103,12 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Apr 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-2
|
|
|
|
|
- update URL
|
|
|
|
|
- BR: gamin-devel
|
|
|
|
|
- enable autotests
|
|
|
|
|
- support (minimal) bootstrap mode
|
|
|
|
|
|
|
|
|
|
* Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-1
|
|
|
|
|
- KDE Frameworks 5.21.0
|
|
|
|
|
|
|
|
|
|