|
|
|
@ -31,6 +31,9 @@ BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
|
|
|
|
BuildRequires: qt5-qttools-static
|
|
|
|
|
|
|
|
|
|
# translations moved here
|
|
|
|
|
Conflicts: kde-l10n < 17.03
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The KHolidays library provides a C++ API that determines holiday
|
|
|
|
|
and other special events for a geographical region.
|
|
|
|
@ -61,6 +64,8 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%find_lang_kf5 libkholidays5_qt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if 0%{?tests}
|
|
|
|
@ -75,8 +80,8 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING.LIB
|
|
|
|
|
%files -f libkholidays5_qt.lang
|
|
|
|
|
%license COPYING*
|
|
|
|
|
%{_kf5_libdir}/libKF5Holidays.so.*
|
|
|
|
|
%{_kf5_datadir}/kf5/libkholidays/
|
|
|
|
|
%{_kf5_qmldir}/org/kde/kholidays/
|
|
|
|
|