barrier/res/synergy.spec.in

48 lines
1.5 KiB
RPMSpec
Raw Normal View History

# -*- rpm-spec -*-
2014-04-10 13:04:31 +04:00
Summary: Keyboard and mouse sharing utility
Name: synergy
Release: 1
License: GPLv2
2014-04-10 13:04:31 +04:00
Group: Applications/Productivity
URL: http://synergy-project.org/
Source: http://synergy-project.org/download/
Vendor: The Synergy Project
Packager: Nick Bolton <nick@synergy-project.org>
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.
%prep
source=%{_topdir}/../..
mkdir -p %{buildroot}/%{_datarootdir}/applications
mkdir -p %{buildroot}/%{_datarootdir}/icons
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_bindir}/../lib/synergy/plugins
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 $source/bin/plugins/* %{buildroot}%{_bindir}/../lib/synergy/plugins
%files
2014-03-20 22:17:55 +04:00
%defattr(755,root,root,-)
%{_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
%attr(644,-,-) %{_bindir}/../lib/synergy/plugins/*
%changelog
* Thu Mar 20 2014 Nick Bolton <nick@synergy-project.org>
- Initial version of the package