Name: xsel Version: 1.2.0 Release: 31%{?dist} Summary: Command line clipboard and X selection tool License: MIT URL: http://www.vergenet.net/~conrad/software/xsel/ Source0: http://www.vergenet.net/~conrad/software/xsel/download/xsel-%{version}.tar.gz # Applied upstream (BZ#690214) Patch0: xsel-1.2.0-MAX_NUM_TARGETS.patch # Upstream: https://github.com/kfish/xsel/commit/ba8656dc7c7e771c802fc957ce3dd128d4b6e3ae Patch1: xsel-1.2.0-fix-large-pastes.patch # Patch for rhbz#1473002, taken from https://github.com/kfish/xsel/pull/6 Patch2: xsel-1.2.0-fix-java-pasting.patch # Patches for rhbz#1529894, taken from https://github.com/kfish/xsel/pull/16 Patch3: xsel-1.2.0-do-not-terminate-string.patch Patch4: xsel-1.2.0-send-correct-event.patch # TODO: forward upstream Patch5: xsel-1.2.0-fix-buffer-overflow.patch BuildRequires: gcc BuildRequires: make BuildRequires: libSM-devel BuildRequires: libXt-devel BuildRequires: libXext-devel %description XSel is a command line or script utility, similar to xclip, that can copy the primary and secondary X selection, or any highlighted text, to or from a file, stdin or stdout. It can also append to and delete the clipboard or buffer that you would paste with the middle mouse button. %prep %setup -q %patch0 -p1 -b .MAX_NUM_TARGETS %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %files %doc AUTHORS ChangeLog COPYING README %{_mandir}/man1/xsel.1x* %{_bindir}/xsel %changelog * Sat Jul 23 2022 Fedora Release Engineering - 1.2.0-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 1.2.0-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.2.0-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jan 28 2021 Fedora Release Engineering - 1.2.0-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.2.0-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 1.2.0-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 1.2.0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Feb 13 2019 Mikolaj Izdebski - 1.2.0-24 - Fix buffer overflow, resolves: rhbz#1676251 - Add missing BR on make * Sun Feb 03 2019 Fedora Release Engineering - 1.2.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.2.0-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.2.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 03 2018 Tomas Radej - 1.2.0-21 - Fixed pasting into Chromium browser - Resolves: rhbz#1529894 * Thu Aug 03 2017 Fedora Release Engineering - 1.2.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Mikolaj Izdebski - 1.2.0-19 - Fix pasting into Java programs - Resolves: rhbz#1473002 * Sat Feb 11 2017 Fedora Release Engineering - 1.2.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 1.2.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 1.2.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 18 2014 Fedora Release Engineering - 1.2.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.2.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.2.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 1.2.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Jul 22 2012 Fedora Release Engineering - 1.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Apr 05 2012 Hans de Goede - 1.2.0-10 - Fix xsel not working when pasting large amounts of text * Sat Jan 14 2012 Fedora Release Engineering - 1.2.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Apr 07 2011 Rakesh Pandit - 1.2.0-8 - xsel-1.2.0-MAX_NUM_TARGETS.patch: fix xsel overflow of supported_targets array (BZ#690214 - Thanks Hans de Goede) * Tue Feb 08 2011 Fedora Release Engineering - 1.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jul 27 2009 Fedora Release Engineering - 1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Aug 08 2008 Rakesh Pandit - 1.2.0-4 - retag for F-8, missing spec file * Sat Jul 26 2008 Rakesh Pandit - 1.2.0-3 - file section to catch all man compressions & no compressions * Sat Apr 19 2008 Henry Kroll - 1.2.0-2 - Standardize build section, remove unnecessary CDEBUGFLAGS. - Break up long lines, general cleanup. * Sat Apr 12 2008 Henry Kroll - 1.2.0-1 - Version upgrade - Change license to MIT Old Style - Fix URL, Requires, BuildRequires. - Change group to Applications/System re: xclip. Include keywords in the description to make it easier to find. * Thu Mar 20 2008 Henry Kroll - 1.1.0-1 - RPM test build