Added preliminary RPM spec file.

This commit is contained in:
crs 2002-08-01 18:56:54 +00:00
parent ffea42bf91
commit ed38bc0818
5 changed files with 67 additions and 0 deletions

View File

@ -6,6 +6,7 @@ VDEPTH = ./$(VPATH)
SUBDIRS = \
lib \
cmd \
dist \
$(NULL)
EXTRA_DIST = \

View File

@ -80,5 +80,8 @@ lib/server/Makefile
cmd/Makefile
cmd/synergy/Makefile
cmd/synergyd/Makefile
dist/Makefile
dist/rpm/Makefile
dist/rpm/synergy.spec
])

15
dist/Makefile.am vendored Normal file
View File

@ -0,0 +1,15 @@
## Process this file with automake to produce Makefile.in
NULL =
DEPTH = ..
VDEPTH = ./$(VPATH)/$(DEPTH)
SUBDIRS = \
rpm \
$(NULL)
EXTRA_DIST = \
$(NULL)
MAINTAINERCLEANFILES = \
Makefile.in \
$(NULL)

11
dist/rpm/Makefile.am vendored Normal file
View File

@ -0,0 +1,11 @@
## Process this file with automake to produce Makefile.in
NULL =
DEPTH = ../..
VDEPTH = ./$(VPATH)/$(DEPTH)
EXTRA_DIST = \
$(NULL)
MAINTAINERCLEANFILES = \
Makefile.in \
$(NULL)

37
dist/rpm/synergy.spec.in vendored Normal file
View File

@ -0,0 +1,37 @@
Summary: Mouse and keyboard sharing utility
Name: @PACKAGE@
Version: @VERSION@
Release: 1
Copyright: Copyright (C) 2002 Chris Schoeneman
Packager: Chris Schoeneman <crs23@bigfoot.com>
Group: FIXME
Prefixes: FIXME
Source: @PACKAGE@-@VERSION@.tar.gz
URL: FIXME
BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-root
%description
FIXME
%prep
%setup
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
%build
make
%install
# FIXME -- install should install doc files
make install DESTDIR=$RPM_BUILD_ROOT
# FIXME -- or maybe: make PREFIX=$RPM_BUILD_ROOT%{prefix} install
strip $RPM_BUILD_ROOT/usr/bin/synergy
strip $RPM_BUILD_ROOT/usr/bin/synergyd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%attr(755, root, root) /usr/bin/synergy
%attr(755, root, root) /usr/bin/synergyd
# FIXME -- add doc files