Sync from SUSE:SLFO:Main xsel revision f4cccec705b8e7c7922a71773f0f103f
This commit is contained in:
commit
3871a6be0c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
26
disable-werror.patch
Normal file
26
disable-werror.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff --git a/configure b/configure
|
||||
index 7641e96..6c64e85 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -5880,7 +5880,7 @@ fi
|
||||
|
||||
# Error out on compile warnings
|
||||
if test "x$ac_cv_c_compiler_gnu" = xyes ; then
|
||||
- CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
|
||||
+ CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
|
||||
fi
|
||||
|
||||
# Checks for header files.
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index e444185..9ab3ba9 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -24,7 +24,7 @@ AC_CHECK_LIB([X11], [XOpenDisplay])
|
||||
dnl Add some useful warnings if we have gcc.
|
||||
dnl changequote(,)dnl
|
||||
if test "x$ac_cv_prog_gcc" = xyes ; then
|
||||
- CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
|
||||
+ CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
|
||||
fi
|
||||
dnl changequote([,])dnl
|
||||
|
BIN
xsel-1.2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
xsel-1.2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
36
xsel.changes
Normal file
36
xsel.changes
Normal file
@ -0,0 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 09:59:58 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Remove pre-SUSE-15 build logic
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 09:39:22 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add disable-werror.patch in order to handle with a new GCC 9 warning.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 31 00:18:44 UTC 2014 - crrodriguez@opensuse.org
|
||||
|
||||
- IN current factory, also pkgconfig(xt) seems to be needed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 19 01:19:46 UTC 2014 - crrodriguez@opensuse.org
|
||||
|
||||
- In newer products, discontinue the use of metapackage
|
||||
xorg-x11-devel, only pkgconfig(x11) is required.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 3 09:06:49 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
- build fixes for SLE_10 and SLE_11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 19 11:58:47 UTC 2010 - guido+opensuse.org@berhoerster.name
|
||||
|
||||
- cleaned up specfile, use separate changes file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 21 00:00:00 UTC 2009 - guido+opensuse.org@berhoerster.name
|
||||
|
||||
- initial packaging of xsel
|
||||
|
52
xsel.spec
Normal file
52
xsel.spec
Normal file
@ -0,0 +1,52 @@
|
||||
#
|
||||
# spec file for package xsel
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2010 Guido Berhoerster.
|
||||
#
|
||||
# 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.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: xsel
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: Command-line Program for Getting and Setting the Contents of the X Selection
|
||||
License: MIT
|
||||
Group: System/X11/Utilities
|
||||
Source: http://www.kfish.org/software/xsel/download/xsel-%{version}.tar.gz
|
||||
Patch0: disable-werror.patch
|
||||
URL: http://www.kfish.org/software/xsel/
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xt)
|
||||
|
||||
%description
|
||||
XSel is a command-line program for getting and setting the contents of the X
|
||||
selection. Normally this is only accessible by manually highlighting
|
||||
information and pasting it with the middle mouse button.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%doc AUTHORS ChangeLog README
|
||||
%doc %{_mandir}/man1/xsel.1x*
|
||||
%{_bindir}/xsel
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user