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