Projects
Kontact:4.13:Development
baloo
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 74
View file
baloo.spec
Changed
@@ -76,6 +76,12 @@ %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +# Get our baloo package to not conflict with the kf5 version +mv %{buildroot}%{_kde4_bindir}/balooctl %{buildroot}%{_kde4_bindir}/balooctl4 +mv %{buildroot}%{_kde4_bindir}/baloosearch %{buildroot}%{_kde4_bindir}/baloosearch4 +mv %{buildroot}%{_kde4_bindir}/balooshow %{buildroot}%{_kde4_bindir}/balooshow4 +mv %{buildroot}%{_kde4_bindir}/baloo_file %{buildroot}%{_kde4_bindir}/baloo_file4 +mv %{buildroot}%{_kde4_bindir}/baloo_file_extractor %{buildroot}%{_kde4_bindir}/baloo_file_extractor4 #Those files conflict with KDE 4.12 rm %{buildroot}%{_kde4_libdir}/kde4/kio_tags.so @@ -84,8 +90,29 @@ %post -p /sbin/ldconfig +ln -s %{_kde4_bindir}/balooctl4 %{_kde4_bindir}/balooctl +ln -s %{_kde4_bindir}/baloosearch4 %{_kde4_bindir}/baloosearch +ln -s %{_kde4_bindir}/balooshow4 %{_kde4_bindir}/balooshow +ln -s %{_kde4_bindir}/baloo_file4 %{_kde4_bindir}/baloo_file +ln -s %{_kde4_bindir}/baloo_file_extractor4 %{_kde4_bindir}/baloo_file_extractor %postun +#Cleanup symlinks if there are any +if [ -L %{_kde4_bindir}/balooctl ]; then + rm %{_kde4_bindir}/balooctl +fi +if [ -L %{_kde4_bindir}/baloosearch ]; then + rm %{_kde4_bindir}/baloosearch +fi +if [ -L %{_kde4_bindir}/balooshow ]; then + rm %{_kde4_bindir}/balooshow +fi +if [ -L %{_kde4_bindir}/baloo_file ]; then + rm %{_kde4_bindir}/baloo_file +fi +if [ -L %{_kde4_bindir}/baloo_file_extractor ]; then + rm %{_kde4_bindir}/baloo_file_extractor +fi %posttrans
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.