]> git.pld-linux.org Git - packages/kf5-baloo.git/blob - kf5-baloo.spec
- updated to 5.39.0
[packages/kf5-baloo.git] / kf5-baloo.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # build without tests
4
5 # TODO:
6 # - runtime Requires if any
7
8 %define         kdeframever     5.39
9 %define         qtver           5.3.2
10 %define         kfname          baloo
11 Summary:        A  file indexing and file search framework
12 Name:           kf5-%{kfname}
13 Version:        5.39.0
14 Release:        1
15 License:        GPL v2+/LGPL v2.1+
16 Group:          X11/Libraries
17 Source0:        http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
18 # Source0-md5:  77f987703e1d82b2ae3cfaf40105794a
19 Patch0:         kf5-baloo-absolute-path.patch
20 URL:            http://www.kde.org/
21 BuildRequires:  Qt5Core-devel >= %{qtver}
22 BuildRequires:  Qt5Gui-devel >= %{qtver}
23 BuildRequires:  Qt5Network-devel >= %{qtver}
24 BuildRequires:  Qt5Test-devel >= %{qtver}
25 %if %{with tests}
26 BuildRequires:  Qt5Gui-devel >= %{qtver}
27 BuildRequires:  Qt5Widgets-devel >= %{qtver}
28 %endif
29 BuildRequires:  cmake >= 2.8.12
30 BuildRequires:  kf5-extra-cmake-modules >= 1.4.0
31 BuildRequires:  kf5-kio-devel >= %{version}
32 BuildRequires:  kf5-kfilemetadata-devel >= %{version}
33 BuildRequires:  kf5-kidletime-devel >= %{version}
34 BuildRequires:  lmdb-devel
35 BuildRequires:  qt5-build >= %{qtver}
36 BuildRequires:  rpmbuild(macros) >= 1.164
37 BuildRequires:  tar >= 1:1.22
38 BuildRequires:  xz
39 Conflicts:      kde4-baloo
40 Requires:       kf5-dirs
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %description
44 Baloo is the file indexing and file search framework for KDE.
45
46 Baloo focuses on providing a very small memory footprint along with
47 with extremely fast searching. It internally uses a mixture of sqlite
48 along with Xapian to store the file index.
49
50 %package devel
51 Summary:        Header files for %{kfname} development
52 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kfname}
53 Group:          X11/Development/Libraries
54 Requires:       %{name} = %{version}-%{release}
55
56 %description devel
57 Header files for %{kfname} development.
58
59 %description devel -l pl.UTF-8
60 Pliki nagłówkowe dla programistów używających %{kfname}.
61
62 %prep
63 %setup -q -n %{kfname}-%{version}
64
65 %build
66 install -d build
67 cd build
68 %cmake \
69         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
70         ..
71 %{__make}
72
73 %{?with_tests:%{__make} test}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 %{__make} -C build install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 %find_lang %{kfname}5 --all-name --with-kde
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %files -f %{kfname}5.lang
89 %defattr(644,root,root,755)
90 #%%attr(755,root,root) %{_bindir}/baloo-monitor
91 %attr(755,root,root) %{_bindir}/baloo_file
92 %attr(755,root,root) %{_bindir}/baloo_file_extractor
93 %attr(755,root,root) %{_bindir}/balooctl
94 %attr(755,root,root) %{_bindir}/baloosearch
95 %attr(755,root,root) %{_bindir}/balooshow
96 #%%attr(755,root,root) %{_libdir}/kauth/kde_baloo_filewatch_raiselimit
97 #/etc/dbus-1/system.d/org.kde.baloo.filewatch.conf
98 /etc/xdg/autostart/baloo_file.desktop
99 %{_datadir}/dbus-1/interfaces/org.kde.baloo.file.indexer.xml
100 %{_datadir}/dbus-1/interfaces/org.kde.baloo.fileindexer.xml
101 %{_datadir}/dbus-1/interfaces/org.kde.baloo.main.xml
102 %{_datadir}/dbus-1/interfaces/org.kde.baloo.scheduler.xml
103 #%%{_datadir}/dbus-1/system-services/org.kde.baloo.filewatch.service
104 %attr(755,root,root) %{_libdir}/libKF5Baloo.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libKF5Baloo.so.5
106 %attr(755,root,root) %{_libdir}/libKF5BalooEngine.so.*.*.*
107 %attr(755,root,root) %ghost %{_libdir}/libKF5BalooEngine.so.5
108 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/baloosearchmodule.so
109 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/baloosearch.so
110 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/tags.so
111 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/timeline.so
112 %dir %{_libdir}/qt5/qml/org/kde/baloo
113 %dir %{_libdir}/qt5/qml/org/kde/baloo/experimental
114 %{_libdir}/qt5/qml/org/kde/baloo/qmldir
115 %{_libdir}/qt5/qml/org/kde/baloo/experimental/qmldir
116 %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/baloo/libbalooplugin.so
117 %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/baloo/experimental/libbaloomonitorplugin.so
118 %{_iconsdir}/hicolor/128x128/apps/baloo.png
119 %{_datadir}/kservices5/baloosearch.protocol
120 #%%{_datadir}/kservices5/kded/baloosearchfolderupdater.desktop
121 %{_datadir}/kservices5/tags.protocol
122 %{_datadir}/kservices5/timeline.protocol
123 #%%{_datadir}/polkit-1/actions/org.kde.baloo.filewatch.policy
124
125 %files devel
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/libKF5Baloo.so
128 #%%attr(755,root,root) %{_libdir}/libKF5BalooEngine.so
129 %{_includedir}/KF5/Baloo
130 %{_includedir}/KF5/baloo_version.h
131 %{_libdir}/cmake/KF5Baloo
132 %{_pkgconfigdir}/Baloo.pc
This page took 0.280021 seconds and 3 git commands to generate.