barrier/dist/rpm/synergy.spec.in
2017-04-26 16:04:03 +01:00

42 lines
1.2 KiB
RPMSpec

Name: synergy
Version: @SYNERGY_VERSION@
Summary: Keyboard and mouse sharing solution
Group: Applications/Productivity
URL: https://symless.com/synergy
Source: https://symless.com/synergy/downloads
Vendor: Symless
Packager: Symless <engineering@symless.com>
License: GPLv2
Release: 1
%description
Synergy allows you to share one mouse and keyboard between multiple computers.
Work seamlessly across Windows, macOS and Linux.
%prep
mkdir -p %{buildroot}/%{_datarootdir}/applications
mkdir -p %{buildroot}/%{_datarootdir}/icons
mkdir -p %{buildroot}/%{_bindir}
cp %{bindir}/synergy %{buildroot}%{_bindir}
cp %{bindir}/synergyc %{buildroot}%{_bindir}
cp %{bindir}/synergys %{buildroot}%{_bindir}
cp %{bindir}/synergyd %{buildroot}%{_bindir}
cp %{bindir}/syntool %{buildroot}%{_bindir}
cp %{sourcedir}/res/synergy.desktop %{buildroot}%{_datarootdir}/applications
cp %{sourcedir}/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
* Wed Apr 26 2017 Symless <engineering@symless.com>
- Initial version of the package