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