Adding install of plugins for rpm based systems #4696
This commit is contained in:
parent
88e5c6197d
commit
f230ae734e
|
@ -20,6 +20,7 @@ source=%{_topdir}/../..
|
||||||
mkdir -p %{buildroot}/%{_datarootdir}/applications
|
mkdir -p %{buildroot}/%{_datarootdir}/applications
|
||||||
mkdir -p %{buildroot}/%{_datarootdir}/icons
|
mkdir -p %{buildroot}/%{_datarootdir}/icons
|
||||||
mkdir -p %{buildroot}/%{_bindir}
|
mkdir -p %{buildroot}/%{_bindir}
|
||||||
|
mkdir -p %{buildroot}/%{_bindir}/../lib/synergy/plugins
|
||||||
|
|
||||||
cp $source/bin/synergy %{buildroot}%{_bindir}
|
cp $source/bin/synergy %{buildroot}%{_bindir}
|
||||||
cp $source/bin/synergyc %{buildroot}%{_bindir}
|
cp $source/bin/synergyc %{buildroot}%{_bindir}
|
||||||
|
@ -28,6 +29,7 @@ cp $source/bin/synergyd %{buildroot}%{_bindir}
|
||||||
cp $source/bin/syntool %{buildroot}%{_bindir}
|
cp $source/bin/syntool %{buildroot}%{_bindir}
|
||||||
cp $source/res/synergy.desktop %{buildroot}%{_datarootdir}/applications
|
cp $source/res/synergy.desktop %{buildroot}%{_datarootdir}/applications
|
||||||
cp $source/res/synergy.ico %{buildroot}%{_datarootdir}/icons
|
cp $source/res/synergy.ico %{buildroot}%{_datarootdir}/icons
|
||||||
|
cp $source/bin/plugins/* %{buildroot}%{_bindir}/../lib/synergy/plugins
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(755,root,root,-)
|
%defattr(755,root,root,-)
|
||||||
|
@ -38,6 +40,7 @@ cp $source/res/synergy.ico %{buildroot}%{_datarootdir}/icons
|
||||||
%{_bindir}/syntool
|
%{_bindir}/syntool
|
||||||
%attr(644,-,-) %{_datarootdir}/applications/synergy.desktop
|
%attr(644,-,-) %{_datarootdir}/applications/synergy.desktop
|
||||||
%attr(644,-,-) %{_datarootdir}/icons/synergy.ico
|
%attr(644,-,-) %{_datarootdir}/icons/synergy.ico
|
||||||
|
%attr(644,-,-) %{_bindir}/../lib/synergy/plugins/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Mar 20 2014 Nick Bolton <nick@synergy-project.org>
|
* Thu Mar 20 2014 Nick Bolton <nick@synergy-project.org>
|
||||||
|
|
Loading…
Reference in New Issue