File xorg-x11-libX11-ccache.spec of Package xorg-x11-libX11-ccache

#
# spec file for package xorg-x11-libX11-ccache
#
# Copyright (c) 2012 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/
#


%define mkcomposecache mkcomposecache-1.2.1

Name:           xorg-x11-libX11-ccache
BuildArch:      noarch
BuildRequires:  mkcomposecache
BuildRequires:  xbiff
BuildRequires:  xkeyboard-config
BuildRequires:  xorg-x11-Xvfb
BuildRequires:  xorg-x11-fonts
Url:            http://xorg.freedesktop.org/
Version:        7.6
Release:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       xorg-x11:/var/X11R6/compose-cache/
Summary:        X.Org compose cache
License:        MIT
Group:          System/Libraries
Source:         %{mkcomposecache}.tar.bz2 
Source1:        LICENSE

%description
Cache for X.Org compose files.



Authors:
--------
    
    Matthias Hopf

%prep
%setup -q -n '%{mkcomposecache}'

%build

%install
cp -t. '%{S:1}'
rm -rf $RPM_BUILD_ROOT
'./mkallcomposecaches.sh' \
 'prefix=%{_prefix}' \
 cachedir="$RPM_BUILD_ROOT/%{_localstatedir}/cache/libx11/compose" xvfbopts="'-fp '\''%{_datadir}/fonts/misc'\'" /

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%doc LICENSE
%dir /var/cache/libx11
%dir /var/cache/libx11/compose
/var/cache/libx11/compose/*

%changelog
openSUSE Build Service is sponsored by