Clean up RPM spec

This commit is contained in:
Andrew Nelless 2017-04-26 15:34:48 +01:00
parent cc0048657e
commit cb1b7eee50
1 changed files with 18 additions and 21 deletions

View File

@ -1,33 +1,30 @@
# -*- rpm-spec -*-
Summary: Keyboard and mouse sharing utility
Name: synergy Name: synergy
Release: 1 Version: @SYNERGY_VERSION@
License: GPLv2 Summary: Keyboard and mouse sharing solution
Group: Applications/Productivity Group: Applications/Productivity
URL: http://symless.com/ URL: https://symless.com/synergy
Source: http://symless.com/download/ Source: https://symless.com/synergy/downloads
Vendor: The Synergy Project Vendor: Symless
Packager: Nick Bolton <nick@symless.com> Packager: Symless <engineering@symless.com>
Version: ${in:version} License: GPLv2
Release: 1
%description %description
Synergy is free and open source software for sharing one mouse and keyboard Synergy allows you to share one mouse and keyboard between multiple computers.
between multiple computers. Works on Windows, Mac OS X, Linux. Work seamlessly across Windows, macOS and Linux.
%prep %prep
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}
cp $source/bin/synergy %{buildroot}%{_bindir} cp $bindir/synergy %{buildroot}%{_bindir}
cp $source/bin/synergyc %{buildroot}%{_bindir} cp $bindir/synergyc %{buildroot}%{_bindir}
cp $source/bin/synergys %{buildroot}%{_bindir} cp $bindir/synergys %{buildroot}%{_bindir}
cp $source/bin/synergyd %{buildroot}%{_bindir} cp $bindir/synergyd %{buildroot}%{_bindir}
cp $source/bin/syntool %{buildroot}%{_bindir} cp $bindir/syntool %{buildroot}%{_bindir}
cp $source/res/synergy.desktop %{buildroot}%{_datarootdir}/applications cp $sourcedir/res/synergy.desktop %{buildroot}%{_datarootdir}/applications
cp $source/res/synergy.ico %{buildroot}%{_datarootdir}/icons cp $sourcedir/res/synergy.ico %{buildroot}%{_datarootdir}/icons
%files %files
%defattr(755,root,root,-) %defattr(755,root,root,-)
@ -40,5 +37,5 @@ cp $source/res/synergy.ico %{buildroot}%{_datarootdir}/icons
%attr(644,-,-) %{_datarootdir}/icons/synergy.ico %attr(644,-,-) %{_datarootdir}/icons/synergy.ico
%changelog %changelog
* Thu Mar 20 2014 Nick Bolton <nick@symless.com> * Wed Apr 26 2017 Symless <engineering@symless.com>
- Initial version of the package - Initial version of the package