mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 09:43:24 +03:00
Added preliminary RPM spec file.
This commit is contained in:
parent
ffea42bf91
commit
ed38bc0818
@ -6,6 +6,7 @@ VDEPTH = ./$(VPATH)
|
||||
SUBDIRS = \
|
||||
lib \
|
||||
cmd \
|
||||
dist \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
@ -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
15
dist/Makefile.am
vendored
Normal 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
11
dist/rpm/Makefile.am
vendored
Normal 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
37
dist/rpm/synergy.spec.in
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user