Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
xsel
xsel.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xsel.spec of Package xsel
# # spec file for package xsel # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # 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 http://bugs.opensuse.org/ # Name: xsel Summary: Command-line Program for Getting and Setting the Contents of the X Selection License: MIT Group: System/X11/Utilities Version: 1.2.0 Release: 0 Source: http://www.kfish.org/software/xsel/download/xsel-%{version}.tar.gz Url: http://www.kfish.org/software/xsel/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{suse_version} < 1220 BuildRequires: xorg-x11-devel %else BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xt) %endif %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 %setup -q %build %if 0%{?suse_version} > 0 && 0%{?suse_version} < 1100 export CFLAGS="%{optflags} -L%{_usr}/X11R6/%{_lib} -lX11" %endif %configure \ %if 0%{?suse_version} > 0 && 0%{?suse_version} < 1100 --x-includes="%{_usr}/X11R6/include" %endif make %{?_smp_mflags} %install make DESTDIR="%{buildroot}" install %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog README %doc %{_mandir}/man1/xsel.1x* %{_bindir}/xsel %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor