]> git.pld-linux.org Git - packages/ka5-baloo-widgets.git/blame - ka5-baloo-widgets.spec
- updated to 21.08.3
[packages/ka5-baloo-widgets.git] / ka5-baloo-widgets.spec
CommitLineData
c596371c 1%define kdeappsver 21.08.3
ab461cd6 2%define kframever 5.56.0
46297aeb 3%define qtver 5.9.0
88fa9475 4%define kaname baloo-widgets
46297aeb 5Summary: Baloo widgets
88fa9475 6Name: ka5-%{kaname}
c596371c 7Version: 21.08.3
88fa9475
WF
8Release: 1
9License: GPL v2+/LGPL v2.1+
10Group: X11/Libraries
a8176581 11Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
c596371c 12# Source0-md5: aa304e23c8aa19bec0e64e9235a76c0a
88fa9475
WF
13URL: http://www.kde.org/
14BuildRequires: Qt5Core-devel >= %{qtver}
46297aeb
WF
15BuildRequires: Qt5Gui-devel >= 5.11.1
16BuildRequires: Qt5Test-devel
17BuildRequires: Qt5Widgets-devel
88fa9475 18BuildRequires: cmake >= 2.8.12
46297aeb 19BuildRequires: gettext-devel
ab461cd6
WF
20BuildRequires: kf5-baloo-devel >= %{kframever}
21BuildRequires: kf5-extra-cmake-modules >= %{kframever}
22BuildRequires: kf5-kconfig-devel >= %{kframever}
23BuildRequires: kf5-kfilemetadata-devel >= %{kframever}
24BuildRequires: kf5-ki18n-devel >= %{kframever}
25BuildRequires: kf5-kio-devel >= %{kframever}
59305f40 26BuildRequires: ninja
88fa9475
WF
27BuildRequires: qt5-build >= %{qtver}
28BuildRequires: rpmbuild(macros) >= 1.164
29BuildRequires: shared-mime-info
30BuildRequires: tar >= 1:1.22
31BuildRequires: xz
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
46297aeb 35Widgets for Baloo.
88fa9475 36
6478b46b
WF
37%description -l pl.UTF-8
38Widżety dla Baloo.
39
88fa9475
WF
40%package devel
41Summary: Header files for %{kaname} development
46297aeb 42Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
88fa9475
WF
43Group: X11/Development/Libraries
44Requires: %{name} = %{version}-%{release}
45
46%description devel
47Header files for %{kaname} development.
48
49%description devel -l pl.UTF-8
50Pliki nagłówkowe dla programistów używających %{kaname}.
51
52%prep
53%setup -q -n %{kaname}-%{version}
54
55%build
56install -d build
57cd build
58%cmake \
59305f40 59 -G Ninja \
ab461cd6 60 -DHTML_INSTALL_DIR=%{_kdedocdir} \
88fa9475
WF
61 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
62 ..
59305f40 63%ninja_build
88fa9475
WF
64
65%install
66rm -rf $RPM_BUILD_ROOT
59305f40 67%ninja_install -C build
88fa9475
WF
68
69%find_lang %{kaname} --all-name --with-kde
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%post -p /sbin/ldconfig
75%postun -p /sbin/ldconfig
76
77%files -f %{kaname}.lang
78%defattr(644,root,root,755)
79%attr(755,root,root) %{_bindir}/baloo_filemetadata_temp_extractor
ad33337d 80%ghost %{_libdir}/libKF5BalooWidgets.so.5
88fa9475 81%attr(755,root,root) %{_libdir}/libKF5BalooWidgets.so.*.*.*
46297aeb 82%attr(755,root,root) %{_libdir}/qt5/plugins/baloofilepropertiesplugin.so
ab461cd6 83%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kfileitemaction/tagsfileitemaction.so
46297aeb 84%{_datadir}/kservices5/baloofilepropertiesplugin.desktop
a8176581 85%{_datadir}/qlogging-categories5/baloo-widgets.categories
88fa9475
WF
86
87%files devel
88%defattr(644,root,root,755)
89%{_includedir}/KF5/BalooWidgets
90%{_libdir}/cmake/KF5BalooWidgets
ad33337d 91%{_libdir}/libKF5BalooWidgets.so
This page took 0.072552 seconds and 4 git commands to generate.