]> git.pld-linux.org Git - packages/ka5-incidenceeditor.git/blob - ka5-incidenceeditor.spec
- updated to 18.12.1; ninja
[packages/ka5-incidenceeditor.git] / ka5-incidenceeditor.spec
1 %define         kdeappsver      18.12.1
2 %define         qtver           5.9.0
3 %define         kaname          incidenceeditor
4 Summary:        Incidence editor
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:  b93f2db9904e81aae0d5cebcd74c6ffd
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  Qt5Gui-devel >= 5.11.1
15 BuildRequires:  Qt5Widgets-devel
16 BuildRequires:  cmake >= 2.8.12
17 BuildRequires:  gettext-devel
18 BuildRequires:  ka5-akonadi-devel >= %{kdeappsver}
19 BuildRequires:  ka5-akonadi-mime-devel >= %{kdeappsver}
20 BuildRequires:  ka5-calendarsupport-devel >= %{kdeappsver}
21 BuildRequires:  ka5-eventviews-devel >= %{kdeappsver}
22 BuildRequires:  ka5-kcalcore-devel >= %{kdeappsver}
23 BuildRequires:  ka5-kcalutils-devel >= %{kdeappsver}
24 BuildRequires:  ka5-kdepim-apps-libs-devel >= %{kdeappsver}
25 BuildRequires:  ka5-kldap-devel >= %{kdeappsver}
26 BuildRequires:  ka5-kmailtransport-devel >= %{kdeappsver}
27 BuildRequires:  ka5-kmime-devel >= %{kdeappsver}
28 BuildRequires:  ka5-libkdepim-devel >= %{kdeappsver}
29 BuildRequires:  kdiagram-devel >= 1.4.0
30 BuildRequires:  kf5-extra-cmake-modules >= 5.53.0
31 BuildRequires:  kf5-kcodecs-devel >= 5.51.0
32 BuildRequires:  kf5-ki18n-devel >= 5.51.0
33 BuildRequires:  kf5-kiconthemes-devel >= 5.51.0
34 BuildRequires:  kf5-kio-devel >= 5.51.0
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         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
67         ..
68 %ninja_build
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 %ninja_install -C build
73
74 %find_lang %{kaname} --all-name --with-kde
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files -f %{kaname}.lang
83 %defattr(644,root,root,755)
84 /etc/xdg/incidenceeditor.categories
85 /etc/xdg/incidenceeditor.renamecategories
86 %attr(755,root,root) %{_bindir}/kincidenceeditor
87 %attr(755,root,root) %ghost %{_libdir}/libKF5IncidenceEditor.so.5
88 %attr(755,root,root) %{_libdir}/libKF5IncidenceEditor.so.5.*.*
89
90 %files devel
91 %defattr(644,root,root,755)
92 %{_includedir}/KF5/IncidenceEditor
93 %{_includedir}/KF5/incidenceeditor
94 %{_includedir}/KF5/incidenceeditor_version.h
95 %{_libdir}/cmake/KF5IncidenceEditor
96 %attr(755,root,root) %{_libdir}/libKF5IncidenceEditor.so
97 %{_libdir}/qt5/mkspecs/modules/qt_IncidenceEditor.pri
This page took 0.099449 seconds and 4 git commands to generate.