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