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