respin, use %make_build %make_install %ldconfig_scriptlets %find_lang_kf5

epel8
Rex Dieter 7 years ago
parent 2ad37f7337
commit 0fa380f50b

24
.gitignore vendored

@ -1,25 +1 @@
/kcoreaddons-5.18.0.tar.xz
/kcoreaddons-5.19.0.tar.xz
/kcoreaddons-5.20.0.tar.xz
/kcoreaddons-5.21.0.tar.xz
/kcoreaddons-5.22.0.tar.xz
/kcoreaddons-5.23.0.tar.xz
/kcoreaddons-5.24.0.tar.xz
/kcoreaddons-5.25.0.tar.xz
/kcoreaddons-5.26.0.tar.xz
/kcoreaddons-5.27.0.tar.xz
/kcoreaddons-5.29.0.tar.xz
/kcoreaddons-5.31.0.tar.xz
/kcoreaddons-5.32.0.tar.xz
/kcoreaddons-5.33.0.tar.xz
/kcoreaddons-5.34.0.tar.xz
/kcoreaddons-5.35.0.tar.xz
/kcoreaddons-5.36.0.tar.xz
/kcoreaddons-5.37.0.tar.xz
/kcoreaddons-5.38.0.tar.xz
/kcoreaddons-5.39.0.tar.xz
/kcoreaddons-5.40.0.tar.xz
/kcoreaddons-5.41.0.tar.xz
/kcoreaddons-5.42.0.tar.xz
/kcoreaddons-5.43.0.tar.xz
/kcoreaddons-5.44.0.tar.xz

@ -9,25 +9,25 @@
Name: kf5-%{framework}
Version: 5.44.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: https://cgit.kde.org/%{framework}.git
%global versiondir %(echo %{version} | cut -d. -f1-2)
%global majmin %(echo %{version} | cut -d. -f1-2)
%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/%{versiondir}/%{framework}-%{version}.tar.xz
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
## upstream patches
BuildRequires: extra-cmake-modules >= %{version}
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-rpm-macros >= %{majmin}
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qttools-devel
%if ! 0%{?bootstrap}
@ -39,7 +39,7 @@ BuildRequires: time
BuildRequires: xorg-x11-server-Xvfb
%endif
Requires: kf5-filesystem >= %{version}
Requires: kf5-filesystem
%description
KCoreAddons provides classes built on top of QtCore to perform various tasks
@ -67,13 +67,13 @@ pushd %{_target_platform}
%{?tests:-DBUILD_TESTING:BOOL=ON}
popd
make %{?_smp_mflags} -C %{_target_platform}
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang kcoreaddons5_qt --with-qt --all-name
%find_lang_kf5 kcoreaddons5_qt
%check
@ -82,23 +82,25 @@ export CTEST_OUTPUT_ON_FAILURE=1
xvfb-run -a \
dbus-launch --exit-with-session \
time \
make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%make_build test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%endif
%post
/sbin/ldconfig
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
%if 0%{?rhel} && 0%{?rhel} < 8
%ldconfig_post
%postun
/sbin/ldconfig
%{?ldconfig}
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
update-mime-database %{_datadir}/mime &> /dev/null || :
fi
%posttrans
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
update-mime-database %{_datadir}/mime &> /dev/null || :
%else
%ldconfig_scriptlets
%endif
%files -f kcoreaddons5_qt.lang
%doc README.md
@ -118,6 +120,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%changelog
* Tue Mar 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.44.0-2
- respin, use %%make_build %%make_install %%ldconfig_scriptlets %%find_lang_kf5
* Sat Mar 03 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.44.0-1
- 5.44.0

@ -1 +1 @@
SHA512 (kcoreaddons-5.44.0.tar.xz) = cfbb5a604ebdc2b82ac8713a84dbfb53b0ffc4f223d3bffbcdbd6526089cf7e336e36b53fbc77404d792da936137385f1d1ab2698d9edc3dc6c72af6a275fa2d
SHA512 (kcoreaddons-5.44.0.tar.xz) = 8674a74c47dfbc8e85c1e487efd2fa8b2a5d23885d597d15b5d8b2b122596402afafb054e3be15a02cb06dda66efb2fc3259b235d3bf6546b78f388a0b9de525

Loading…
Cancel
Save