barrier/dist/rpm/synergy.spec.in

39 lines
953 B
RPMSpec

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
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
%doc AUTHORS BUGS COPYING ChangeLog FAQ INSTALL NEWS README