synergy/synergy.spec

89 lines
3.2 KiB
RPMSpec
Raw Normal View History

Name: synergy
Version: 1.6.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/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
License: GPL
## AUTOBUILDREQ-BEGIN
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: libcurl-devel
BuildRequires: libgcc
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
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
cd ext
mkdir gmock-1.6.0
(cd gmock-1.6.0; unzip ../gmock-1.6.0.zip)
mkdir gtest-1.6.0
(cd gtest-1.6.0; unzip ../gtest-1.6.0.zip)
mkdir cryptopp562
(cd cryptopp562; unzip ../cryptopp562.zip)
cd ..
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#% makeinstall
for f in synergyc synergyd synergys; do
install -D -m0755 bin/$f %{buildroot}%{_bindir}/$f
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/synergyc
%{_bindir}/synergyd
%{_bindir}/synergys
%doc COPYING
#ChangeLog NEWS README
%changelog
* 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.