2011-04-28 18:05:48 +00:00
|
|
|
#
|
2011-06-06 13:23:09 +00:00
|
|
|
# spec file for package autocutsel
|
2011-04-28 18:05:48 +00:00
|
|
|
#
|
2021-06-03 17:37:53 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2011-04-28 18:05:48 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-10-17 14:12:47 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-04-28 18:05:48 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: autocutsel
|
2021-06-03 17:37:53 +00:00
|
|
|
URL: https://www.nongnu.org/autocutsel/
|
2012-02-09 16:09:24 +00:00
|
|
|
BuildRequires: pkgconfig(xaw7)
|
2012-02-13 10:05:59 +00:00
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xmu)
|
|
|
|
BuildRequires: pkgconfig(xt)
|
2021-06-03 17:37:53 +00:00
|
|
|
Version: 0.10.1
|
2012-02-13 10:05:59 +00:00
|
|
|
Release: 0
|
2011-04-28 18:05:48 +00:00
|
|
|
Summary: Clipboard / Cutbuffer management helper
|
2019-10-17 14:12:47 +00:00
|
|
|
License: GPL-2.0-or-later
|
2019-10-17 21:19:36 +00:00
|
|
|
Group: System/X11/Utilities
|
2014-12-29 16:10:52 +00:00
|
|
|
Source: https://github.com/sigmike/autocutsel/releases/download/%{version}/%{name}-%{version}.tar.gz
|
2011-04-28 18:05:48 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
X servers use two schemes to copy text between applications. The first one
|
|
|
|
(old and deprecated) is the cutbuffer. The other scheme is the selection.
|
|
|
|
Recent desktop applications (GNOME, KDE, ...) use two selections: the
|
|
|
|
PRIMARY and the CLIPBOARD. The PRIMARY selection is used when you select
|
|
|
|
some text with the mouse. You usually paste it using the middle button. The
|
|
|
|
CLIPBOARD selection is used when you copy text by using, for example,
|
|
|
|
the Edit/Copy menu. You may paste it using the Edit/Paste menu.
|
|
|
|
|
|
|
|
Windows VNC clients keep the Windows clipboard synchronized with the
|
|
|
|
cutbuffer, but not with the selections. And since recent applications
|
|
|
|
don't use the cutbuffer, the server's CLIPBOARD is never synchronized
|
|
|
|
with Windows' one.
|
|
|
|
|
|
|
|
Autocutsel tracks changes in the server's cutbuffer and CLIPBOARD
|
|
|
|
selection. When the CLIPBOARD is changed, it updates the cutbuffer. When
|
|
|
|
the cutbuffer is changed, it owns the CLIPBOARD selection. The cutbuffer
|
|
|
|
and CLIPBOARD selection are always synchronized. Since the VNC client
|
|
|
|
synchronizes the Windows' clipboard and the server's cutbuffer, all
|
|
|
|
three "clipboards" are always kept synchronized.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2021-06-03 17:37:53 +00:00
|
|
|
%make_build
|
2011-04-28 18:05:48 +00:00
|
|
|
|
|
|
|
%install
|
2021-06-03 17:37:53 +00:00
|
|
|
%make_install
|
2011-04-28 18:05:48 +00:00
|
|
|
|
|
|
|
%files
|
2014-02-06 10:57:59 +00:00
|
|
|
%doc COPYING
|
2021-06-03 17:37:53 +00:00
|
|
|
%{_bindir}/cutsel
|
|
|
|
%{_bindir}/autocutsel
|
2011-04-28 18:05:48 +00:00
|
|
|
%doc README
|
|
|
|
|
|
|
|
%changelog
|