]> git.pld-linux.org Git - packages/kf5-kcalendarcore.git/blame - kf5-kcalendarcore.spec
- updated to 5.97.0
[packages/kf5-kcalendarcore.git] / kf5-kcalendarcore.spec
CommitLineData
18c4bdd4
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
e107bdf6 4%define kdeframever 5.97
b2dcdccd 5%define qtver 5.15.2
2df15a7c
WF
6%define kfname kcalendarcore
7Summary: kcalendarcore
8Name: kf5-%{kfname}
e107bdf6 9Version: 5.97.0
6f787891 10Release: 1
2df15a7c
WF
11License: GPL v2+/LGPL v2.1+
12Group: X11/Libraries
28677feb 13Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
e107bdf6 14# Source0-md5: a77b9f69f5975628b8ca33d97ae2a39d
2df15a7c
WF
15URL: http://www.kde.org/
16BuildRequires: Qt5Core-devel >= %{qtver}
17BuildRequires: Qt5Gui-devel
18BuildRequires: Qt5Test-devel >= 5.9.0
19BuildRequires: cmake >= 2.8.12
20BuildRequires: kf5-extra-cmake-modules >= 5.53.0
21BuildRequires: libical-devel >= 2.0
22BuildRequires: ninja
23BuildRequires: qt5-build >= %{qtver}
24BuildRequires: rpmbuild(macros) >= 1.164
25BuildRequires: shared-mime-info
26BuildRequires: tar >= 1:1.22
27BuildRequires: xz
1c25e0a2 28Obsoletes: ka5-kcalcore < 20.12.3
2df15a7c
WF
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32This library provides access to and handling of calendar data. It
33supports the standard formats iCalendar and vCalendar and the group
34scheduling standard iTIP.
35
36A calendar contains information like incidences (events, to-dos,
37journals), alarms, time zones, and other useful information. This API
38provides access to that calendar information via well known calendar
39formats iCalendar (or iCal) and the oolder vCalendar.
40
41%package devel
42Summary: Header files for %{kfname} development
43Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
44Group: X11/Development/Libraries
45Requires: %{name} = %{version}-%{release}
1c25e0a2 46Obsoletes: ka5-kcalcore-devel < 20.12.3
2df15a7c
WF
47
48%description devel
49Header files for %{kfname} development.
50
51%description devel -l pl.UTF-8
52Pliki nagłówkowe dla programistów używających %{kfname}.
53
54%prep
55%setup -q -n %{kfname}-%{version}
56
57%build
58install -d build
59cd build
60%cmake -G Ninja \
18c4bdd4 61 %{!?with_tests:-DBUILD_TESTING=OFF} \
2df15a7c
WF
62 -DHTML_INSTALL_DIR=%{_kdedocdir} \
63 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
64 ..
65%ninja_build
66
18c4bdd4
WF
67%if %{with tests}
68ctest
69%endif
70
71
2df15a7c
WF
72%install
73rm -rf $RPM_BUILD_ROOT
74%ninja_install -C build
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
83%defattr(644,root,root,755)
84%ghost %{_libdir}/libKF5CalendarCore.so.5
85%attr(755,root,root) %{_libdir}/libKF5CalendarCore.so.5.*.*
86%{_datadir}/qlogging-categories5/kcalendarcore.categories
87%{_datadir}/qlogging-categories5/kcalendarcore.renamecategories
88
89%files devel
90%defattr(644,root,root,755)
91%{_libdir}/cmake/KF5CalendarCore
92%{_libdir}/libKF5CalendarCore.so
93%{_libdir}/qt5/mkspecs/modules/qt_KCalendarCore.pri
94%{_includedir}/KF5/kcalcore_version.h
95%{_includedir}/KF5/KCalendarCore
e395fd99 96%{_pkgconfigdir}/KF5CalendarCore.pc
This page took 0.206216 seconds and 4 git commands to generate.