]> git.pld-linux.org Git - packages/ka5-incidenceeditor.git/blame - ka5-incidenceeditor.spec
- updated to 18.12.1; ninja
[packages/ka5-incidenceeditor.git] / ka5-incidenceeditor.spec
CommitLineData
cd33deb7 1%define kdeappsver 18.12.1
4bd654df
WF
2%define qtver 5.9.0
3%define kaname incidenceeditor
4Summary: Incidence editor
5Name: ka5-%{kaname}
cd33deb7 6Version: 18.12.1
4bd654df
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
cd33deb7 11# Source0-md5: b93f2db9904e81aae0d5cebcd74c6ffd
4bd654df
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
055f8cff
WF
14BuildRequires: Qt5Gui-devel >= 5.11.1
15BuildRequires: Qt5Widgets-devel
4bd654df 16BuildRequires: cmake >= 2.8.12
055f8cff 17BuildRequires: gettext-devel
cd33deb7
WF
18BuildRequires: ka5-akonadi-devel >= %{kdeappsver}
19BuildRequires: ka5-akonadi-mime-devel >= %{kdeappsver}
20BuildRequires: ka5-calendarsupport-devel >= %{kdeappsver}
21BuildRequires: ka5-eventviews-devel >= %{kdeappsver}
22BuildRequires: ka5-kcalcore-devel >= %{kdeappsver}
23BuildRequires: ka5-kcalutils-devel >= %{kdeappsver}
24BuildRequires: ka5-kdepim-apps-libs-devel >= %{kdeappsver}
25BuildRequires: ka5-kldap-devel >= %{kdeappsver}
26BuildRequires: ka5-kmailtransport-devel >= %{kdeappsver}
27BuildRequires: ka5-kmime-devel >= %{kdeappsver}
28BuildRequires: ka5-libkdepim-devel >= %{kdeappsver}
055f8cff 29BuildRequires: kdiagram-devel >= 1.4.0
4bd654df 30BuildRequires: kf5-extra-cmake-modules >= 5.53.0
055f8cff
WF
31BuildRequires: kf5-kcodecs-devel >= 5.51.0
32BuildRequires: kf5-ki18n-devel >= 5.51.0
33BuildRequires: kf5-kiconthemes-devel >= 5.51.0
34BuildRequires: kf5-kio-devel >= 5.51.0
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 \
4bd654df
WF
66 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
67 ..
cd33deb7 68%ninja_build
4bd654df
WF
69
70%install
71rm -rf $RPM_BUILD_ROOT
cd33deb7 72%ninja_install -C build
4bd654df
WF
73
74%find_lang %{kaname} --all-name --with-kde
75
76%clean
77rm -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)
055f8cff
WF
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.*.*
4bd654df
WF
89
90%files devel
91%defattr(644,root,root,755)
055f8cff
WF
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.089197 seconds and 4 git commands to generate.