Accepting request 1226941 from X11:XOrg

- do not compress the manual page manually; it's done by a brp
  script during build automatically giving us more flexibility

- add man pages from Debian
- changed LICENSE file from %doc to %license

OBS-URL: https://build.opensuse.org/request/show/1226941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/autocutsel?expand=0&rev=14
This commit is contained in:
2024-11-27 21:15:43 +00:00
committed by Git OBS Bridge
4 changed files with 193 additions and 2 deletions
+12
View File
@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Nov 27 16:08:11 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- do not compress the manual page manually; it's done by a brp
script during build automatically giving us more flexibility
-------------------------------------------------------------------
Tue Nov 26 21:52:59 UTC 2024 - Michael Pujos <pujos.michael@gmail.com>
- add man pages from Debian
- changed LICENSE file from %doc to %license
-------------------------------------------------------------------
Thu Jun 3 16:26:16 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
+6 -2
View File
@@ -1,7 +1,7 @@
#
# spec file for package autocutsel
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,8 @@ Summary: Clipboard / Cutbuffer management helper
License: GPL-2.0-or-later
Group: System/X11/Utilities
Source: https://github.com/sigmike/autocutsel/releases/download/%{version}/%{name}-%{version}.tar.gz
Source100: autocutsel.1
Source101: cutsel.1
%description
X servers use two schemes to copy text between applications. The first one
@@ -59,11 +61,13 @@ three "clipboards" are always kept synchronized.
%install
%make_install
install -m 644 -D -t %{buildroot}%{_mandir}/man1 %{SOURCE100} %{SOURCE101}
%files
%doc COPYING
%license COPYING
%{_bindir}/cutsel
%{_bindir}/autocutsel
%{_mandir}/man1/*
%doc README
%changelog
+105
View File
@@ -0,0 +1,105 @@
.TH "AUTOCUTSEL" "1" "5 December 2007" "autocutsel 0.9.0"
.SH "NAME"
autocutsel \- keep the X clipboard and the cutbuffer in sync
.SH "SYNOPSIS"
.na
.B autocutsel
.RB [ \-selection
.IR selection_name ]
.RB [ \-cutbuffer
.IR number ]
.RB [ \-debug ]
.RB [ \-verbose ]
.RB [ \-fork ]
.RB [ \-pause
.IR milliseconds ]
.RB [ \-buttonup ]
.LP
.SH "DESCRIPTION"
.PP
This manual page documents briefly the
.B autocutsel
command.
.PP
This manual page was written for the
.B Debian
distribution because the original
program does not have a manual page.
.PP
.B 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.
When you copy some text in Windows,
the cutbuffer and the clipboard
selection are updated.
When you copy text on the server
using either the cutbuffer or
the clipboard selection,
the Windows's clipboard is always
updated.
.SH "OPTIONS"
.TP
.B -selection, -select, -sel, -s {CLIPBOARD|PRIMARY}
Specify which selection to use.
Default is CLIPBOARD.
.TP
.B -cutbuffer <number>
(Details of this parameter unknown.)
.TP
.B -debug, -d
Run with debugging mode.
.TP
.B -verbose, -v
Be more verbose.
Reports the version and announces synchronizations.
.TP
.B -fork, -f
Run as a daemon program in the background.
This is recommended when used from an X startup script.
.TP
.B -pause, -p <milliseconds>
Wait some milliseconds before owning the selection.
.TP
.B -buttonup
Get the selection only when the
button 1 is not pressed.
This may help with OpenOffice Writer.
.SH "AUTHOR"
.PP
This manual page was written by
Elmar S. Heeb <elmar@heebs.ch> for the
.B Debian
system (but may be used by others).
Permission is granted to copy,
distribute and/or modify this
document under the terms of the
GNU General Public License,
Version 2 any later version published
by the Free Software Foundation.
.PP
On Debian systems,
the complete text of the
GNU General Public License
can be found in
/usr/share/common-licenses/GPL.
+70
View File
@@ -0,0 +1,70 @@
.TH "CUTSEL" "1" "5 December 2007" "autocutsel 0.9.0"
.SH "NAME"
cutsel \- show information about the X clipboard and the cutbuffer in sync
.SH "SYNOPSIS"
.PP
.B cutsel
[\-selection \fIselection_name\fP]
[\-cutbuffer \fInumber\fP]
[\-debug]
[\-verbose]
{cut|sel}
.LP
.SH "DESCRIPTION"
.PP
This manual page documents briefly the
.B cutsel
command.
.PP
This manual page was written for the
.B Debian
distribution because the original
program does not have a manual page.
.TP
.B cutsel [\fIoptions\fP] cut
shows the contents of the cut buffer
and
.TP
.B cutsel [\fIoptions\fP] sel
shows the owner of the selection.
.SH "OPTIONS"
.TP
.B \-selection, \-select, \-sel, \-s {CLIPBOARD|PRIMARY}
Specify which selection to use.
Default is CLIPBOARD.
.TP
.B \-cutbuffer <number>
(Details of this parameter unknown.)
.TP
.B \-debug, \-d
Run with debugging mode.
.TP
.B \-verbose, \-v
Be more verbose.
Reports the version and announces synchronizations.
.SH "AUTHOR"
.PP
This manual page was written by
Elmar S. Heeb <elmar@heebs.ch> for the
.B Debian
system (but may be used by others).
Permission is granted to copy,
distribute and/or modify this
document under the terms of the
GNU General Public License,
Version 2 any later version published
by the Free Software Foundation.
.PP
On Debian systems,
the complete text of the
GNU General Public License
can be found in
/usr/share/common\-licenses/GPL.