xclip/xclip.spec

51 lines
1.4 KiB
RPMSpec
Raw Normal View History

Name: xclip
Version: 0.13
Release: 1mamba
Summary: A command line interface to the X11 clipboard
Group: Applications/Text
Vendor: openmamba
Distribution: openmamba
Packager: openmamba WebBuild System <webbuild@openmamba.org>
URL: Applications/Text
Source: https://github.com/astrand/xclip.git/%{version}/xclip-%{version}.tar.bz2
#Source: http://downloads.sourceforge.net/project/xclip/xclip/%{version}/xclip-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXmu-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
xclip is a command line interface to the X11 clipboard.
It can also be used for copying files, as an alternative to sftp/scp, thus avoiding password prompts when X11 forwarding has already been setup.
%prep
%setup -q
%build
sh ./bootstrap
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/%{name}*
%{_mandir}/man?/*
%doc ChangeLog COPYING README
%changelog
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13-1mamba
- update to 0.13
* Mon Dec 10 2012 openmamba WebBuild System <webbuild@openmamba.org> 0.12-1mamba
- package created by stefano using the webbuild interface