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