barrier/dist/rpm/synergy.spec.in

41 lines
963 B
Plaintext

Summary: Mouse and keyboard sharing utility
Name: @PACKAGE@
Version: @VERSION@
Release: 1
License: GPL
Packager: Chris Schoeneman <crs23@bigfoot.com>
Group: System Environment/Daemons
Prefixes: /usr/bin
Source: @PACKAGE@-@VERSION@.tar.gz
Buildroot: /var/tmp/@PACKAGE@-@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 display.
%prep
%setup
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
%build
make
%install
# FIXME -- install should install doc files
make install DESTDIR=$RPM_BUILD_ROOT
strip $RPM_BUILD_ROOT/usr/bin/synergy
strip $RPM_BUILD_ROOT/usr/bin/synergyd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
/usr/bin/synergy
/usr/bin/synergyd
# FIXME -- add doc files