baloo/baloo.spec

141 lines
4.5 KiB
RPMSpec

Name: baloo
Version: 4.13.1
Release: 1mamba
Summary: Baloo provides search capabilities in KMail and Akonadi
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/baloo-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: kdepimlibs-devel
BuildRequires: kfilemetadata-devel
BuildRequires: libgcc
BuildRequires: libqjson-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxapian-devel
## AUTOBUILDREQ-END
BuildRequires: automoc4
BuildRequires: cmake
Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Baloo provides search capabilities in KMail and Akonadi.
## remove the devel blocks if this package does not provide development stuff
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: kdelibs-devel
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde4 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install -d -m0744 %{buildroot}%{_datadir}
mv %{buildroot}%{_kde4_sharedir}/polkit-1 \
%{buildroot}%{_datadir}/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
touch --no-create %{_kde4_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 %{_kde4_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
fi
exit 0
%files
%defattr(-,root,root)
%{_sysconfdir}/dbus-1/system.d/org.kde.baloo.filewatch.conf
%{_kde4_bindir}/akonadi_baloo_indexer
%{_kde4_bindir}/balooctl
%{_kde4_bindir}/baloo_file
%{_kde4_bindir}/baloo_file_cleaner
%{_kde4_bindir}/baloo_file_extractor
%{_kde4_bindir}/baloosearch
%{_kde4_bindir}/balooshow
%{_kde4_libdir}/libbaloocore.so.*
%{_kde4_libdir}/libbaloofiles.so.*
%{_kde4_libdir}/libbaloopim.so.*
%{_kde4_libdir}/libbalooxapian.so.*
%{_kde4_libdir}/kde4/akonadi/akonadi_baloo_searchplugin.so
%{_kde4_libdir}/kde4/akonadi/akonadibaloosearchplugin.desktop
%{_kde4_libdir}/kde4/baloo_contactsearchstore.so
%{_kde4_libdir}/kde4/baloo_emailsearchstore.so
%{_kde4_libdir}/kde4/baloo_filesearchstore.so
%{_kde4_libdir}/kde4/baloo_notesearchstore.so
%{_kde4_libdir}/kde4/kcm_baloofile.so
%{_kde4_libdir}/kde4/kio_baloosearch.so
%{_kde4_libdir}/kde4/kio_tags.so
%{_kde4_libdir}/kde4/kio_timeline.so
%{_kde4_libdir}/kde4/krunner_baloosearchrunner.so
%{_kde4_libexecdir}/kde_baloo_filewatch_raiselimit
%{_kde4_sharedir}/akonadi/agents/akonadibalooindexingagent.desktop
%{_kde4_autostartdir}/baloo_file.desktop
%{_kde4_icondir}/hicolor/128x128/apps/baloo.png
%{_kde4_servicesdir}/baloo_contactsearchstore.desktop
%{_kde4_servicesdir}/baloo_emailsearchstore.desktop
%{_kde4_servicesdir}/baloo_filesearchstore.desktop
%{_kde4_servicesdir}/baloo_notesearchstore.desktop
%{_kde4_servicesdir}/baloosearch.protocol
%{_kde4_servicesdir}/kcm_baloofile.desktop
%{_kde4_servicesdir}/plasma-runner-baloosearch.desktop
%{_kde4_servicesdir}/tags.protocol
%{_kde4_servicesdir}/timeline.protocol
%{_kde4_servicetypesdir}/baloosearchstore.desktop
%{_datadir}/polkit-1/actions/org.kde.baloo.filewatch.policy
%{_datadir}/dbus-1/interfaces/org.kde.baloo.file.indexer.xml
%{_datadir}/dbus-1/system-services/org.kde.baloo.filewatch.service
%doc COPYING COPYING.LIB
%files devel
%defattr(-,root,root)
%dir %{_kde4_includedir}/baloo
%{_kde4_includedir}/baloo/*.h
%dir %{_kde4_includedir}/baloo/pim
%{_kde4_includedir}/baloo/pim/*.h
%{_kde4_libdir}/cmake/Baloo/BalooConfig.cmake
%{_kde4_libdir}/cmake/Baloo/BalooConfigVersion.cmake
%{_kde4_libdir}/cmake/Baloo/BalooTargetsWithPrefix-relwithdebinfo.cmake
%{_kde4_libdir}/cmake/Baloo/BalooTargetsWithPrefix.cmake
%{_kde4_libdir}/libbaloocore.so
%{_kde4_libdir}/libbaloofiles.so
%{_kde4_libdir}/libbaloopim.so
%{_kde4_libdir}/libbalooxapian.so
%changelog
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 4.13.1-1mamba
- automatic version update by autodist
* Wed Apr 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.13.0-1mamba
- package created using the webbuild interface