Projects
Kontact:4.13:Git
baloo
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 10
View file
_service:set_version:baloo.spec
Changed
@@ -72,6 +72,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 @@ -80,8 +86,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 @@ -126,6 +153,7 @@ %{_kde4_libdir}/cmake/Baloo* %post libs -p /sbin/ldconfig + %postun libs -p /sbin/ldconfig %files libs
View file
baloo.spec
Changed
@@ -72,6 +72,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 @@ -80,8 +86,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 @@ -126,6 +153,7 @@ %{_kde4_libdir}/cmake/Baloo* %post libs -p /sbin/ldconfig + %postun libs -p /sbin/ldconfig %files libs
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
.