%define majver %(echo %version | cut -d. -f1-2) %define minver %(echo %version | cut -d. -f3) Name: baloo Version: 5.38.0 Release: 1mamba Summary: Baloo provides search capabilities in KDE5 Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{majver}/baloo-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libkcompletion-devel BuildRequires: libkconfig-devel BuildRequires: libkcoreaddons-devel BuildRequires: libkcrash-devel BuildRequires: libkdbusaddons-devel BuildRequires: libkfilemetadata-devel BuildRequires: libki18n-devel BuildRequires: libkidletime-devel BuildRequires: libkio-devel BuildRequires: libkjobwidgets-devel BuildRequires: libkservice-devel BuildRequires: libkwidgetsaddons-devel BuildRequires: liblmdb-devel BuildRequires: libqt5-devel BuildRequires: libsolid-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: automoc4 BuildRequires: cmake Conflicts: baloo4 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Baloo provides search capabilities in KDE5. %package -n lib%{name} Group: System/Libraries Summary: Baloo provides search capabilities in KD5. Provides: libbaloo5 Obsoletes: libbaloo5 %description -n lib%{name} Baloo provides search capabilities in KD5. This package contains libraries and header files for developing applications that use %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: baloo-devel Obsoletes: baloo-devel Provides: libbaloo5-devel Obsoletes: libbaloo5-devel %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n baloo-%{version} %build %cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build install -d -m0744 %{buildroot}%{_datadir} #mv %{buildroot}%{_kde4_sharedir}/polkit-1 \ # %{buildroot}%{_datadir}/ %find_lang baloo_file5 %find_lang baloo_file_extractor5 %find_lang balooctl5 %find_lang baloomonitorplugin %find_lang baloosearch5 %find_lang balooshow5 %find_lang kio5_baloosearch %find_lang kio5_tags %find_lang kio5_timeline > %{name}.lang for f in baloo_file5 baloo_file_extractor5 balooctl5 baloomonitorplugin baloosearch5 balooshow5 \ kio5_baloosearch kio5_tags kio5_timeline; do cat $f.lang >> %{name}.lang done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post /sbin/ldconfig touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 exit 0 %postun /sbin/ldconfig if [ $1 -eq 0 ]; then update-desktop-database -q >/dev/null 2>&1 touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 fi exit 0 %files -f %{name}.lang %defattr(-,root,root) #%{_sysconfdir}/dbus-1/system.d/org.kde.baloo.filewatch.conf %{_sysconfdir}/xdg/autostart/baloo_file.desktop %{_bindir}/baloo_file #%{_bindir}/baloo_file_cleaner %{_bindir}/baloo_file_extractor %{_bindir}/balooctl %{_bindir}/baloosearch %{_bindir}/balooshow %{_datadir}/dbus-1/interfaces/org.kde.baloo*.xml #%{_datadir}/dbus-1/system-services/org.kde.baloo.filewatch.service %{_datadir}/icons/hicolor/128x128/apps/baloo.png %{_datadir}/kservices5/baloosearch.protocol #%{_datadir}/kservices5/kded/baloosearchfolderupdater.desktop %{_datadir}/kservices5/tags.protocol %{_datadir}/kservices5/timeline.protocol #%{_datadir}/polkit-1/actions/org.kde.baloo.filewatch.policy %doc COPYING %files -n lib%{name} %defattr(-,root,root) %{_kde5_libdir}/libKF5Baloo.so.* %{_kde5_libdir}/libKF5BalooEngine.so.* %{_libdir}/qt5/plugins/kf5/kio/baloosearch.so %{_libdir}/qt5/plugins/kf5/kio/tags.so %{_libdir}/qt5/plugins/kf5/kio/timeline.so %{_libdir}/qt5/plugins/kf5/kded/baloosearchmodule.so %{_libdir}/qt5/qml/org/kde/baloo/libbalooplugin.so %{_libdir}/qt5/qml/org/kde/baloo/qmldir %{_libdir}/qt5/qml/org/kde/baloo/experimental/libbaloomonitorplugin.so %{_libdir}/qt5/qml/org/kde/baloo/experimental/qmldir %doc COPYING.LIB %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_kde5_includedir}/Baloo %dir %{_kde5_includedir}/Baloo/Baloo %{_kde5_includedir}/Baloo/Baloo/* %dir %{_kde5_includedir}/Baloo/baloo %{_kde5_includedir}/Baloo/baloo/*.h %{_kde5_includedir}/baloo_version.h %{_kde5_libdir}/cmake/KF5Baloo/KF5BalooConfig.cmake %{_kde5_libdir}/cmake/KF5Baloo/KF5BalooConfigVersion.cmake %{_kde5_libdir}/cmake/KF5Baloo/KF5BalooTargets-relwithdebinfo.cmake %{_kde5_libdir}/cmake/KF5Baloo/KF5BalooTargets.cmake %{_kde5_libdir}/libKF5Baloo.so %{_libdir}/pkgconfig/Baloo.pc %changelog * Thu Sep 14 2017 Automatic Build System 5.38.0-1mamba - automatic version update by autodist * Fri Aug 25 2017 Automatic Build System 5.37.0-1mamba - automatic version update by autodist * Wed Aug 09 2017 Automatic Build System 5.36.0-1mamba - automatic version update by autodist * Tue Apr 11 2017 Automatic Build System 5.32.0-1mamba - automatic version update by autodist * Thu Jan 26 2017 Automatic Build System 5.30.0-1mamba - automatic version update by autodist * Fri Dec 23 2016 Automatic Build System 5.29.0-1mamba - automatic version update by autodist * Sat Oct 15 2016 Automatic Build System 5.27.0-1mamba - automatic version update by autodist * Mon Oct 10 2016 Automatic Build System 5.26.0-1mamba - automatic version update by autodist * Wed Aug 24 2016 Automatic Build System 5.25.0-1mamba - automatic version update by autodist * Sun Jul 24 2016 Automatic Build System 5.24.0-1mamba - automatic version update by autodist * Sun Jun 26 2016 Automatic Build System 5.23.0-1mamba - automatic version update by autodist * Sun May 29 2016 Automatic Build System 5.22.0-1mamba - automatic version update by autodist * Sat Apr 23 2016 Automatic Build System 5.21.0-1mamba - automatic version update by autodist * Sun Apr 03 2016 Automatic Build System 5.20.0-1mamba - automatic version update by autodist * Tue Mar 08 2016 Silvan Calarco 5.19.0-3mamba - renameed from baloo5 to baloo * Mon Feb 29 2016 Silvan Calarco 5.19.0-2mamba - libbaloo5-devel: require libbaloo5 * Sat Feb 27 2016 Automatic Build System 5.19.0-1mamba - automatic version update by autodist * Mon Jan 18 2016 Automatic Build System 5.18.0-1mamba - automatic version update by autodist * Sat Jan 02 2016 Silvan Calarco 5.17.0-2mamba - renamed from baloo to baloo5 - added libbaloo5 and libbaloo5-devel * Fri Jan 01 2016 Silvan Calarco 5.17.0-1mamba - update to 5.17.0 * Fri Jun 05 2015 Silvan Calarco 5.9.1-1mamba - update to 5.9.1 * Thu May 07 2015 Silvan Calarco 5.9.0-1mamba - update to 5.9.0 * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist * Mon Oct 20 2014 Automatic Build System 4.14.2-1mamba - automatic version update by autodist * Sun Sep 28 2014 Automatic Build System 4.14.1-1mamba - automatic version update by autodist * Sat Aug 23 2014 Automatic Build System 4.14.0-1mamba - automatic version update by autodist * Wed Jul 16 2014 Automatic Build System 4.13.3-1mamba - automatic version update by autodist * Wed Jun 11 2014 Automatic Build System 4.13.2-1mamba - automatic version update by autodist * Sun May 25 2014 Automatic Build System 4.13.1-1mamba - automatic version update by autodist * Wed Apr 23 2014 Silvan Calarco 4.13.0-1mamba - package created using the webbuild interface