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