]> git.pld-linux.org Git - packages/synergy.git/blob - synergy.spec
- rename config files
[packages/synergy.git] / synergy.spec
1 Summary:        Mouse and keyboard sharing utility
2 Summary(pl.UTF-8):      Narzędzie do dzielenia myszy i klawiatury
3 Name:           synergy
4 Version:        1.3.1
5 Release:        1
6 License:        GPL
7 Group:          Daemons
8 URL:            http://synergy2.sourceforge.net/
9 Source0:        http://dl.sourceforge.net/synergy2/%{name}-%{version}.tar.gz
10 # Source0-md5:  a6e09d6b71cb217f23069980060abf27
11 Source1:        %{name}-client.init
12 Source2:        %{name}-client.conf
13 Source3:        %{name}-server.init
14 Source4:        %{name}-server.conf
15 Source5:        %{name}-server-layout.conf
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  xorg-lib-libX11-devel
20 BuildRequires:  xorg-lib-libXext-devel
21 BuildRequires:  xorg-lib-libXinerama-devel
22 BuildRequires:  xorg-lib-libXt-devel
23 BuildRequires:  xorg-lib-libXtst-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Synergy lets you easily share a single mouse and keyboard between
28 multiple computers with different operating systems, each with its own
29 display, without special hardware. It's intended for users with
30 multiple computers on their desk since each system uses its own
31 display.
32
33 %description -l pl.UTF-8
34 Synergy pozwala łatwo i bez specjalnego sprzętu dzielić jedną mysz i
35 klawiaturę pomiędzy wiele komputerów z różnymi systemami operacyjnymi,
36 z których każdy ma własny monitor. Jest przeznaczony dla użytkowników
37 z wieloma komputerami na biurku, jako że każdy system używa własnego
38 monitora.
39
40 %package xinitrc-client
41 Summary:        xinitrc startup scripts for synergy client
42 Group:          Daemons
43 Requires:       %{name} = %{version}-%{release}
44
45 %description xinitrc-client
46 xinitrc startup scripts for synergy client.
47
48 %package xinitrc-server
49 Summary:        xinitrc startup scripts for synergy server
50 Group:          Daemons
51 Requires:       %{name} = %{version}-%{release}
52
53 %description xinitrc-server
54 xinitrc startup scripts for synergy server.
55
56 %prep
57 %setup -q
58
59 %build
60 %{__autoconf}
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 install -d $RPM_BUILD_ROOT/etc/{X11/xinit/xinitrc.d,synergy}
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/synergyc.sh
73 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/synergy/client.conf
74
75 install %{SOURCE3} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/synergys.sh
76 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/synergy/server.conf
77
78 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/synergy/layout.conf
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog COPYING doc/PORTING NEWS README
86 %doc doc/*.css doc/*.html
87 %doc examples/synergy.conf
88 %attr(755,root,root) %{_bindir}/synergyc
89 %attr(755,root,root) %{_bindir}/synergys
90 %dir %{_sysconfdir}/synergy
91
92 %files xinitrc-client
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/synergyc.sh
95 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/synergy/client.conf
96
97 %files xinitrc-server
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/synergys.sh
100 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/synergy/server.conf
101 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/synergy/layout.conf
This page took 0.058686 seconds and 4 git commands to generate.