]> git.pld-linux.org Git - packages/kf5-kcalendarcore.git/blob - kf5-kcalendarcore.spec
ec40e66ded48248d880cc2f2bd1e158e81d58ff5
[packages/kf5-kcalendarcore.git] / kf5-kcalendarcore.spec
1 %define         kdeframever     5.84
2 %define         qtver           5.9.0
3 %define         kfname          kcalendarcore
4 Summary:        kcalendarcore
5 Name:           kf5-%{kfname}
6 Version:        5.84.0
7 Release:        1
8 License:        GPL v2+/LGPL v2.1+
9 Group:          X11/Libraries
10 Source0:        http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
11 # Source0-md5:  15e9b12e778f202b4d8c784eeb6be180
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  Qt5Gui-devel
15 BuildRequires:  Qt5Test-devel >= 5.9.0
16 BuildRequires:  cmake >= 2.8.12
17 BuildRequires:  kf5-extra-cmake-modules >= 5.53.0
18 BuildRequires:  libical-devel >= 2.0
19 BuildRequires:  ninja
20 BuildRequires:  qt5-build >= %{qtver}
21 BuildRequires:  rpmbuild(macros) >= 1.164
22 BuildRequires:  shared-mime-info
23 BuildRequires:  tar >= 1:1.22
24 BuildRequires:  xz
25 Obsoletes:      ka5-kcalcore < 20.12.3
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 This library provides access to and handling of calendar data. It
30 supports the standard formats iCalendar and vCalendar and the group
31 scheduling standard iTIP.
32
33 A calendar contains information like incidences (events, to-dos,
34 journals), alarms, time zones, and other useful information. This API
35 provides access to that calendar information via well known calendar
36 formats iCalendar (or iCal) and the oolder vCalendar.
37
38 %package devel
39 Summary:        Header files for %{kfname} development
40 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kfname}
41 Group:          X11/Development/Libraries
42 Requires:       %{name} = %{version}-%{release}
43 Obsoletes:      ka5-kcalcore-devel < 20.12.3
44
45 %description devel
46 Header files for %{kfname} development.
47
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe dla programistów używających %{kfname}.
50
51 %prep
52 %setup -q -n %{kfname}-%{version}
53
54 %build
55 install -d build
56 cd 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
64 rm -rf $RPM_BUILD_ROOT
65 %ninja_install -C build
66
67 %clean
68 rm -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
This page took 0.082357 seconds and 2 git commands to generate.