# -*- rpm-spec -*- Summary: Synergy Name: synergy Release: 1 License: GPLv2 Group: Applications/Accessories URL: http://synergy-foss.org/ Source: http://synergy-foss.org/download/ Vendor: The Synergy Project Packager: Nick Bolton Version: ${in:version} %description Synergy is free and open source software for sharing one mouse and keyboard between multiple computers. Works on Windows, Mac OS X, Linux, Android and Apple iOS. %prep source=%{_topdir}/../.. mkdir -p %{buildroot}/%{_datarootdir}/applications mkdir -p %{buildroot}/%{_datarootdir}/icons mkdir -p %{buildroot}/%{_bindir} cp $source/bin/synergy %{buildroot}%{_bindir} cp $source/bin/synergyc %{buildroot}%{_bindir} cp $source/bin/synergys %{buildroot}%{_bindir} cp $source/bin/synergyd %{buildroot}%{_bindir} cp $source/bin/syntool %{buildroot}%{_bindir} cp $source/res/synergy.desktop %{buildroot}%{_datarootdir}/applications cp $source/res/synergy.ico %{buildroot}%{_datarootdir}/icons %files %defattr(755,root,root,-) %{_bindir}/synergy %{_bindir}/synergyc %{_bindir}/synergys %{_bindir}/synergyd %{_bindir}/syntool %attr(644,-,-) %{_datarootdir}/applications/synergy.desktop %attr(644,-,-) %{_datarootdir}/icons/synergy.ico %changelog * Thu Mar 20 2014 Nick Bolton - Initial version of the package