From cb1b7eee5003cc16102a25f97df885779a63a1c9 Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Wed, 26 Apr 2017 15:34:48 +0100 Subject: [PATCH] Clean up RPM spec --- dist/rpm/synergy.spec.in | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/dist/rpm/synergy.spec.in b/dist/rpm/synergy.spec.in index 3f0c88f9..28ae6a1f 100644 --- a/dist/rpm/synergy.spec.in +++ b/dist/rpm/synergy.spec.in @@ -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 -Version: ${in:version} +URL: https://symless.com/synergy +Source: https://symless.com/synergy/downloads +Vendor: Symless +Packager: Symless +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 +* Wed Apr 26 2017 Symless - Initial version of the package