|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
%global framework kholidays
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Version: 15.12.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 15.12.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: The KHolidays Library
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+ and GPLv3+
|
|
|
|
|
URL: https://projects.kde.org/projects/kde/pim/%{framework}
|
|
|
|
|
URL: https://projects.kde.org/%{framework}
|
|
|
|
|
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
|
%if %{revision} >= 50
|
|
|
|
@ -24,7 +24,6 @@ BuildRequires: qt5-qttools-static
|
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel >= 5.15
|
|
|
|
|
BuildRequires: kf5-kitemviews-devel >= 5.15
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The KHolidays library provides a C++ API that determines holiday
|
|
|
|
|
and other special events for a geographical region.
|
|
|
|
@ -41,14 +40,16 @@ developing applications that use %{name}.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
@ -63,13 +64,16 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_kf5_includedir}/kholidays_version.h
|
|
|
|
|
%{_kf5_includedir}/KHolidays
|
|
|
|
|
%{_kf5_includedir}/KHolidays/
|
|
|
|
|
%{_kf5_libdir}/libKF5Holidays.so
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5Holidays
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5Holidays/
|
|
|
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KHolidays.pri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Feb 06 2016 Rex Dieter <rdieter@fedoraproject.org> 15.12.1-1
|
|
|
|
|
- 15.12.1
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.12.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|