]> git.pld-linux.org Git - packages/ka5-incidenceeditor.git/blob - ka5-incidenceeditor.spec
- updated to 21.04.1
[packages/ka5-incidenceeditor.git] / ka5-incidenceeditor.spec
1 %define         kdeappsver      21.04.1
2 %define         kframever       5.56.0
3 %define         qtver           5.9.0
4 %define         kaname          incidenceeditor
5 Summary:        Incidence editor
6 Name:           ka5-%{kaname}
7 Version:        21.04.1
8 Release:        1
9 License:        GPL v2+/LGPL v2.1+
10 Group:          X11/Libraries
11 Source0:        http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
12 # Source0-md5:  afa67342cc6be0b866c85e2cfc4249f5
13 URL:            http://www.kde.org/
14 BuildRequires:  Qt5Core-devel >= %{qtver}
15 BuildRequires:  Qt5Gui-devel >= 5.11.1
16 BuildRequires:  Qt5Widgets-devel
17 BuildRequires:  cmake >= 2.8.12
18 BuildRequires:  gettext-devel
19 BuildRequires:  ka5-akonadi-devel >= %{kdeappsver}
20 BuildRequires:  ka5-akonadi-mime-devel >= %{kdeappsver}
21 BuildRequires:  ka5-calendarsupport-devel >= %{kdeappsver}
22 BuildRequires:  ka5-eventviews-devel >= %{kdeappsver}
23 BuildRequires:  ka5-kcalutils-devel >= %{kdeappsver}
24 BuildRequires:  ka5-kldap-devel >= %{kdeappsver}
25 BuildRequires:  ka5-kmailtransport-devel >= %{kdeappsver}
26 BuildRequires:  ka5-kmime-devel >= %{kdeappsver}
27 BuildRequires:  ka5-libkdepim-devel >= %{kdeappsver}
28 BuildRequires:  kdiagram-devel >= 1.4.0
29 BuildRequires:  kf5-extra-cmake-modules >= %{kframever}
30 BuildRequires:  kf5-kcalendarcore-devel >= %{kframever}
31 BuildRequires:  kf5-kcodecs-devel >= %{kframever}
32 BuildRequires:  kf5-ki18n-devel >= %{kframever}
33 BuildRequires:  kf5-kiconthemes-devel >= %{kframever}
34 BuildRequires:  kf5-kio-devel >= %{kframever}
35 BuildRequires:  ninja
36 BuildRequires:  qt5-build >= %{qtver}
37 BuildRequires:  rpmbuild(macros) >= 1.164
38 BuildRequires:  shared-mime-info
39 BuildRequires:  tar >= 1:1.22
40 BuildRequires:  xz
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %description
44 This lib provides incidence editor.
45
46 %package devel
47 Summary:        Header files for %{kaname} development
48 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kaname}
49 Group:          X11/Development/Libraries
50 Requires:       %{name} = %{version}-%{release}
51
52 %description devel
53 Header files for %{kaname} development.
54
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe dla programistów używających %{kaname}.
57
58 %prep
59 %setup -q -n %{kaname}-%{version}
60
61 %build
62 install -d build
63 cd build
64 %cmake \
65         -G Ninja \
66         -DHTML_INSTALL_DIR=%{_kdedocdir} \
67         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
68         ..
69 %ninja_build
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 %ninja_install -C build
74
75 %find_lang %{kaname} --all-name --with-kde
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files -f %{kaname}.lang
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/kincidenceeditor
86 %ghost %{_libdir}/libKF5IncidenceEditor.so.5
87 %attr(755,root,root) %{_libdir}/libKF5IncidenceEditor.so.*.*.*
88 %{_datadir}/qlogging-categories5/incidenceeditor.categories
89 %{_datadir}/qlogging-categories5/incidenceeditor.renamecategories
90
91 %files devel
92 %defattr(644,root,root,755)
93 %{_includedir}/KF5/IncidenceEditor
94 %{_includedir}/KF5/incidenceeditor
95 %{_includedir}/KF5/incidenceeditor_version.h
96 %{_libdir}/cmake/KF5IncidenceEditor
97 %{_libdir}/libKF5IncidenceEditor.so
98 %{_libdir}/qt5/mkspecs/modules/qt_IncidenceEditor.pri
This page took 0.126552 seconds and 3 git commands to generate.