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