50d8a95
Name:		xclip
1a42e27
Version:	0.10
6b39f76
Release:	2%{?dist}
eafc05a
License:	GPLv2+
50d8a95
Group:		Applications/System
50d8a95
Summary:	Command line clipboard grabber
1a42e27
URL:		http://sourceforge.net/projects/xclip
1a42e27
Source0:	http://downloads.sourceforge.net/xclip/%{name}-%{version}.tar.gz
6b39f76
Patch0:		xclip-0.10-utf8.patch
50d8a95
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6b39f76
BuildRequires:	xorg-x11-devel
50d8a95
50d8a95
%description
50d8a95
xclip is a command line utility that is designed to run on any system with an
50d8a95
X11 implementation. It provides an interface to X selections ("the clipboard")
50d8a95
from the command line. It can read data from standard in or a file and place it
50d8a95
in an X selection for pasting into other X applications. xclip can also print
50d8a95
an X selection to standard out, which can then be redirected to a file or
50d8a95
another program.
50d8a95
50d8a95
%prep
1a42e27
%setup -q
6b39f76
%patch0 -p1 -b .utf8
50d8a95
50d8a95
%build
1a42e27
%configure
50d8a95
make CDEBUGFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
50d8a95
50d8a95
%install
50d8a95
rm -rf $RPM_BUILD_ROOT
50d8a95
make DESTDIR=$RPM_BUILD_ROOT install
50d8a95
make DESTDIR=$RPM_BUILD_ROOT install.man
50d8a95
50d8a95
%clean
50d8a95
rm -rf $RPM_BUILD_ROOT
50d8a95
50d8a95
%files
50d8a95
%defattr(-,root,root,-)
50d8a95
%doc COPYING README
50d8a95
%{_bindir}/xclip
1a42e27
%{_bindir}/xclip-copyfile
1a42e27
%{_bindir}/xclip-cutfile
1a42e27
%{_bindir}/xclip-pastefile
50d8a95
%{_mandir}/man1/xclip.1*
50d8a95
50d8a95
%changelog
6b39f76
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-2
6b39f76
- enable utf8 support by default
93d8cdd
1a42e27
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-1
1a42e27
- bump to 0.10
1a42e27
- new URL
1a42e27
eafc05a
* Mon Aug 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.08-4
eafc05a
- license tag fix
eafc05a
- rebuild for BuildID
eafc05a
c7e644b
* Wed Apr 25 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.08-3
c7e644b
- add extra BR for old FC versions
c7e644b
50d8a95
* Wed Apr 25 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.08-2
50d8a95
- smp_mflags
50d8a95
50d8a95
* Tue Apr 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.08-1
50d8a95
- initial package for Fedora Extras