Commit c4d2eeb6 authored by Raine Makelainen's avatar Raine Makelainen

[transfer-engine] Own installation directories. Contributes to JB#22780

parent 58cc8b94
...@@ -36,7 +36,7 @@ Obsoletes: nemo-transferengine <= 0.0.19 ...@@ -36,7 +36,7 @@ Obsoletes: nemo-transferengine <= 0.0.19
%dir %{_datadir}/nemo-transferengine %dir %{_datadir}/nemo-transferengine
%{_bindir}/nemo-transfer-engine %{_bindir}/nemo-transfer-engine
%{_datadir}/dbus-1/services/org.nemo.transferengine.service %{_datadir}/dbus-1/services/org.nemo.transferengine.service
%{_datadir}/translations/nemo-transfer-engine_eng_en.qm %{_datadir}/translations/*.qm
%{_datadir}/mapplauncherd/privileges.d/* %{_datadir}/mapplauncherd/privileges.d/*
%package -n libnemotransferengine-qt5 %package -n libnemotransferengine-qt5
...@@ -49,7 +49,7 @@ Group: Development/Libraries ...@@ -49,7 +49,7 @@ Group: Development/Libraries
%files -n libnemotransferengine-qt5 %files -n libnemotransferengine-qt5
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_libdir}/qt5/qml/org/nemomobile/transferengine/* %{_libdir}/qt5/qml/org/nemomobile/transferengine
%package -n libnemotransferengine-qt5-devel %package -n libnemotransferengine-qt5-devel
Summary: Development headers for transfer engine library. Summary: Development headers for transfer engine library.
...@@ -62,7 +62,7 @@ Requires: libnemotransferengine-qt5 = %{version} ...@@ -62,7 +62,7 @@ Requires: libnemotransferengine-qt5 = %{version}
%files -n libnemotransferengine-qt5-devel %files -n libnemotransferengine-qt5-devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/*.so %{_libdir}/*.so
%{_includedir}/TransferEngine-qt5/*.h %{_includedir}/TransferEngine-qt5
%{_datadir}/qt5/mkspecs/features/nemotransferengine-plugin-qt5.prf %{_datadir}/qt5/mkspecs/features/nemotransferengine-plugin-qt5.prf
%{_libdir}/pkgconfig/nemotransferengine-qt5.pc %{_libdir}/pkgconfig/nemotransferengine-qt5.pc
...@@ -78,7 +78,7 @@ Translation source for Nemo TransferEngine ...@@ -78,7 +78,7 @@ Translation source for Nemo TransferEngine
%files ts-devel %files ts-devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_datadir}/translations/source/nemo-transfer-engine.ts %{_datadir}/translations/source/*.ts
%package tests %package tests
Summary: Unit tests for Nemo TransferEngine Summary: Unit tests for Nemo TransferEngine
...@@ -90,7 +90,7 @@ Unit tests for Nemo TransferEngine ...@@ -90,7 +90,7 @@ Unit tests for Nemo TransferEngine
%files tests %files tests
%defattr(-,root,root,-) %defattr(-,root,root,-)
/opt/tests/nemo-transfer-engine-qt5/* /opt/tests/nemo-transfer-engine-qt5
%package doc %package doc
Summary: Documentation for Nemo TransferEngine Summary: Documentation for Nemo TransferEngine
...@@ -104,7 +104,7 @@ Documentation for Nemo TransferEngine ...@@ -104,7 +104,7 @@ Documentation for Nemo TransferEngine
%files doc %files doc
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_datadir}/doc/nemo-transferengine-qt5/* %{_datadir}/doc/%{name}
...@@ -135,7 +135,7 @@ install -m 644 -p %{SOURCE1} %{buildroot}%{_datadir}/mapplauncherd/privileges.d ...@@ -135,7 +135,7 @@ install -m 644 -p %{SOURCE1} %{buildroot}%{_datadir}/mapplauncherd/privileges.d
%post -n libnemotransferengine-qt5 %post -n libnemotransferengine-qt5
/sbin/ldconfig /sbin/ldconfig
%post -n nemo-transferengine-qt5 %post -n %{name}
if [ -n "%{te_pid}" ] if [ -n "%{te_pid}" ]
then then
kill -s 10 %{te_pid} kill -s 10 %{te_pid}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment