2014-03-20 20:09:13 +04:00
|
|
|
# -*- rpm-spec -*-
|
2014-04-10 13:04:31 +04:00
|
|
|
Summary: Keyboard and mouse sharing utility
|
2014-03-20 20:09:13 +04:00
|
|
|
Name: synergy
|
|
|
|
Release: 1
|
|
|
|
License: GPLv2
|
2014-04-10 13:04:31 +04:00
|
|
|
Group: Applications/Productivity
|
2014-05-08 11:33:35 +04:00
|
|
|
URL: http://synergy-project.org/
|
|
|
|
Source: http://synergy-project.org/download/
|
2014-03-20 20:09:13 +04:00
|
|
|
Vendor: The Synergy Project
|
2014-05-08 11:33:35 +04:00
|
|
|
Packager: Nick Bolton <nick@synergy-project.org>
|
2014-03-20 20:09:13 +04:00
|
|
|
Version: ${in:version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Synergy is free and open source software for sharing one mouse and keyboard
|
2014-04-10 13:04:31 +04:00
|
|
|
between multiple computers. Works on Windows, Mac OS X, Linux.
|
2014-03-20 20:09:13 +04:00
|
|
|
|
|
|
|
%prep
|
|
|
|
source=%{_topdir}/../..
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/%{_datarootdir}/applications
|
|
|
|
mkdir -p %{buildroot}/%{_datarootdir}/icons
|
|
|
|
mkdir -p %{buildroot}/%{_bindir}
|
2015-06-05 21:20:31 +03:00
|
|
|
mkdir -p %{buildroot}/%{_bindir}/../lib/synergy/plugins
|
2014-03-20 20:09:13 +04:00
|
|
|
|
|
|
|
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
|
2015-06-05 21:20:31 +03:00
|
|
|
cp $source/bin/plugins/* %{buildroot}%{_bindir}/../lib/synergy/plugins
|
2014-03-20 20:09:13 +04:00
|
|
|
|
|
|
|
%files
|
2014-03-20 22:17:55 +04:00
|
|
|
%defattr(755,root,root,-)
|
2014-03-20 20:09:13 +04:00
|
|
|
%{_bindir}/synergy
|
|
|
|
%{_bindir}/synergyc
|
|
|
|
%{_bindir}/synergys
|
|
|
|
%{_bindir}/synergyd
|
|
|
|
%{_bindir}/syntool
|
2014-03-20 22:17:55 +04:00
|
|
|
%attr(644,-,-) %{_datarootdir}/applications/synergy.desktop
|
|
|
|
%attr(644,-,-) %{_datarootdir}/icons/synergy.ico
|
2015-06-05 21:20:31 +03:00
|
|
|
%attr(644,-,-) %{_bindir}/../lib/synergy/plugins/*
|
2014-03-20 20:09:13 +04:00
|
|
|
|
|
|
|
%changelog
|
2014-05-08 11:33:35 +04:00
|
|
|
* Thu Mar 20 2014 Nick Bolton <nick@synergy-project.org>
|
2014-03-20 20:09:13 +04:00
|
|
|
- Initial version of the package
|