synergy/synergy.spec

111 lines
4.3 KiB
RPMSpec

Name: synergy
Version: 1.10.3
Release: 1mamba
Summary: Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://synergy-foss.org/blog/
Source: https://github.com/symless/synergy-core.git/v%{version}-stable/synergy-core-%{version}.tar.bz2
#Source: https://github.com/synergy/synergy.git/%{version}/synergy-%{version}.tar.bz2
Patch0: synergy-noignoreretval.diff
Patch1: synergy-implicit-declaration.patch
Patch2: synergy-1.4.12-cryptopp-5.6.2.patch
Patch3: synergy-1.10.1-libqt5-5.12.2.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: avahi-compat-libdns_sd-devel
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel
BuildRequires: libXtst-devel
BuildRequires: libgcc
BuildRequires: libopenssl-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It's intended for users with multiple computers on their desk since each system uses its own monitor(s).
Redirecting the mouse and keyboard is as simple as moving the mouse off the edge of your screen. Synergy also merges the clipboards of all the systems into one, allowing cut-and-paste between systems. Furthermore, it synchronizes screen savers so they all start and stop together and, if screen locking is enabled, only one screen requires a password to unlock them all. Learn more about how it works.
%prep
%setup -q -n synergy-core-%{version}
#%patch3 -p1
%build
%cmake -d build \
-DCMAKE_CXX_FLAGS="`pkg-config --cflags libdns_sd`"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/synergy
%{_bindir}/syntool
%{_bindir}/synergyc
%{_bindir}/synergys
%{_datadir}/applications/synergy.desktop
%{_datadir}/icons/hicolor/scalable/apps/synergy.svg
%doc LICENSE doc/synergy.conf.example
%changelog
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 1.10.3-1mamba
- automatic version update by autodist
* Sun Mar 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.1-1mamba
- update to 1.10.1
* Thu Jan 26 2017 Automatic Build System <autodist@mambasoft.it> 1.8.7-1mamba
- automatic version update by autodist
* Thu Dec 22 2016 Automatic Build System <autodist@mambasoft.it> 1.8.6-1mamba
- automatic version update by autodist
* Wed Nov 02 2016 Automatic Build System <autodist@mambasoft.it> 1.8.5-1mamba
- automatic version update by autodist
* Mon Oct 17 2016 Automatic Build System <autodist@mambasoft.it> 1.8.4-1mamba
- automatic version update by autodist
* Fri Aug 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.2-1mamba
- update to 1.8.2
* Wed Mar 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
- update to 1.8.1
* Wed Sep 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.4-1mamba
- update to 1.7.4
* Mon Mar 23 2015 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
- automatic version update by autodist
* Sat Dec 13 2014 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic version update by autodist
* Sun Nov 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-1mamba
- update to 1.6.1
* Sat Aug 31 2013 Automatic Build System <autodist@mambasoft.it> 1.4.12-1mamba
- automatic version update by autodist
* Thu Jan 31 2013 Automatic Build System <autodist@mambasoft.it> 1.4.10-1mamba
- update to 1.4.10
* Sun Mar 08 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.3.1-1mamba
- package created by autospec. Added 2 patch to permit the compilation against gcc versions above 4.3: don't use the ones on the web site of the project because are not with the correct syntax.