SPECS: synergy.spec - xinitrc script for synergy client/server

arekm arekm at pld-linux.org
Tue Apr 1 10:58:56 CEST 2008


Author: arekm                        Date: Tue Apr  1 08:58:56 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- xinitrc script for synergy client/server

---- Files affected:
SPECS:
   synergy.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/synergy.spec
diff -u SPECS/synergy.spec:1.6 SPECS/synergy.spec:1.7
--- SPECS/synergy.spec:1.6	Fri Mar  7 22:19:20 2008
+++ SPECS/synergy.spec	Tue Apr  1 10:58:51 2008
@@ -9,6 +9,11 @@
 URL:		http://synergy2.sourceforge.net/
 Source0:	http://dl.sourceforge.net/synergy2/%{name}-%{version}.tar.gz
 # Source0-md5:	a6e09d6b71cb217f23069980060abf27
+Source1:	%{name}-client.init
+Source2:	%{name}-client.conf
+Source3:	%{name}-server.init
+Source4:	%{name}-server.conf
+Source5:	%{name}-server-layout.conf
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libstdc++-devel
@@ -29,9 +34,25 @@
 %description -l pl.UTF-8
 Synergy pozwala łatwo i bez specjalnego sprzętu dzielić jedną mysz i
 klawiaturę pomiędzy wiele komputerów z różnymi systemami operacyjnymi,
-z których każdy ma własny monitor. Jest przeznaczony dla
-użytkowników z wieloma komputerami na biurku, jako że każdy system
-używa własnego monitora.
+z których każdy ma własny monitor. Jest przeznaczony dla użytkowników
+z wieloma komputerami na biurku, jako że każdy system używa własnego
+monitora.
+
+%package xinitrc-client
+Summary:	xinitrc startup scripts for synergy client
+Group:		Daemons
+Requires:	%{name} = %{version}-%{release}
+
+%description xinitrc-client
+xinitrc startup scripts for synergy client.
+
+%package xinitrc-server
+Summary:	xinitrc startup scripts for synergy server
+Group:		Daemons
+Requires:	%{name} = %{version}-%{release}
+
+%description xinitrc-server
+xinitrc startup scripts for synergy server.
 
 %prep
 %setup -q
@@ -44,9 +65,19 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT/etc/{X11/xinit/xinitrc.d,synergy}
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/synergyc.sh
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/synergy/synergyc.conf
+
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/synergys.sh
+install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/synergy/synergys.conf
+
+install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/synergy/layout.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -57,6 +88,18 @@
 %doc examples/synergy.conf
 %attr(755,root,root) %{_bindir}/synergyc
 %attr(755,root,root) %{_bindir}/synergys
+%dir %{_sysconfdir}/synergy
+
+%files xinitrc-client
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/synergyc.sh
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/synergy/synergyc.conf
+
+%files xinitrc-server
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/synergys.sh
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/synergy/synergys.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/synergy/layout.conf
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008-04-01 08:58:51  arekm
+- xinitrc script for synergy client/server
+
 Revision 1.6  2008-03-07 21:19:20  arekm
 - rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/synergy.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list