]> git.pld-linux.org Git - packages/ka5-baloo-widgets.git/blob - ka5-baloo-widgets.spec
- updated to 18.12.0
[packages/ka5-baloo-widgets.git] / ka5-baloo-widgets.spec
1 %define         kdeappsver      18.12.0
2 %define         qtver           5.9.0
3 %define         kaname          baloo-widgets
4 Summary:        Baloo widgets
5 Name:           ka5-%{kaname}
6 Version:        18.12.0
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:  355a3e9643baefd4dae0afd5ec13f00c
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  Qt5Gui-devel >= 5.11.1
15 BuildRequires:  Qt5Test-devel
16 BuildRequires:  Qt5Widgets-devel
17 BuildRequires:  cmake >= 2.8.12
18 BuildRequires:  gettext-devel
19 BuildRequires:  kf5-baloo-devel >= 5.43.0
20 BuildRequires:  kf5-extra-cmake-modules >= 5.53.0
21 BuildRequires:  kf5-kconfig-devel >= 5.43.0
22 BuildRequires:  kf5-kfilemetadata-devel >= 5.43.0
23 BuildRequires:  kf5-ki18n-devel >= 5.43.0
24 BuildRequires:  kf5-kio-devel >= 5.43.0
25 BuildRequires:  qt5-build >= %{qtver}
26 BuildRequires:  rpmbuild(macros) >= 1.164
27 BuildRequires:  shared-mime-info
28 BuildRequires:  tar >= 1:1.22
29 BuildRequires:  xz
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Widgets for Baloo.
34
35 %package devel
36 Summary:        Header files for %{kaname} development
37 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kaname}
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40
41 %description devel
42 Header files for %{kaname} development.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe dla programistów używających %{kaname}.
46
47 %prep
48 %setup -q -n %{kaname}-%{version}
49
50 %build
51 install -d build
52 cd build
53 %cmake \
54         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
55         ..
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 %{__make} -C build install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %find_lang %{kaname} --all-name --with-kde
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files -f %{kaname}.lang
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/baloo_filemetadata_temp_extractor
74 %attr(755,root,root) %ghost %{_libdir}/libKF5BalooWidgets.so.5
75 %attr(755,root,root) %{_libdir}/libKF5BalooWidgets.so.*.*.*
76 %attr(755,root,root) %{_libdir}/qt5/plugins/baloofilepropertiesplugin.so
77 %{_datadir}/kservices5/baloofilepropertiesplugin.desktop
78
79 %files devel
80 %defattr(644,root,root,755)
81 %{_includedir}/KF5/BalooWidgets
82 %{_libdir}/cmake/KF5BalooWidgets
83 %attr(755,root,root) %{_libdir}/libKF5BalooWidgets.so
This page took 0.384007 seconds and 4 git commands to generate.