File xcb.spec of Package xcb
#
# spec file for package xcb (Version 2.5)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
# norootforbuild
Name: xcb
%define _prefix %(xft-config --prefix)
%if "%{_prefix}" == "/usr/X11R6"
%define _mandir %_prefix/man
%define _appdefdif %_prefix/lib/X11/app-defaults
%else
%define _appdefdif %_prefix/share/X11/app-defaults
%endif
BuildRequires: xorg-x11-devel
Url: http://www.goof.com/pcg/marc/xcb.html
License: X11/MIT
Group: System/X11/Utilities
AutoReqProv: on
Version: 2.5
Release: 177
Summary: X11 cut&paste utility
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Xcb provides access to the cut buffers built into every X server. It
allows the buffers to be manipulated either via the command line or
with the mouse in a point and click manner. The buffers can be used as
holding pens to store and retrieve arbitrary data fragments, so any
number of different pieces of data can be saved and recalled later. The
program is designed primarily for use with textual data.
Authors:
--------
Farrell McKay <Farrell.McKay@mpx.com.au>
Marc Lehmann <pcg@goof.com>
%prep
%setup
%build
xmkmf -a
make CCOPTIONS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make "DESTDIR=$RPM_BUILD_ROOT" install
make "DESTDIR=$RPM_BUILD_ROOT" install.man
%files
%defattr(-,root,root)
%_bindir/xcb
%_appdefdif/Xcb
%doc %_mandir/man1/xcb.1x*
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Jul 24 2006 mmarek@suse.de
- fix filelist for build with modular Xorg
- use RPM_OPT_FLAGS
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Aug 03 2005 anicka@suse.cz
- update to 2.5 from CVS
* Tue Feb 17 2004 postadal@suse.cz
- updated to branched version 2.4 (by Marc Lehmann <pcg@goof.com>)
* fixes and better i18n support
- added norootforbuild flag to the spec file
- replaced xf86 by x-devel-packages in neededforbuild flag
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Tue Nov 21 2000 cihlar@suse.cz
- fixed copyright
* Fri May 19 2000 cihlar@suse.cz
- Group sorted
* Tue Apr 11 2000 cihlar@suse.cz
- added BuildRoot
- removed Makefile.Linux
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.