2007-01-10 23:48:32 +01:00
|
|
|
#
|
2011-05-04 14:44:54 +02:00
|
|
|
# spec file for package x11-tools
|
2007-01-10 23:48:32 +01:00
|
|
|
#
|
2015-06-23 15:28:13 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-10 23:48:32 +01:00
|
|
|
#
|
2008-10-23 17:13:02 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-10 23:48:32 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-10-23 17:13:02 +02:00
|
|
|
|
2007-01-10 23:48:32 +01:00
|
|
|
Name: x11-tools
|
|
|
|
PreReq: %fillup_prereq
|
2013-02-27 09:04:59 +01:00
|
|
|
Provides: 3ddiag
|
|
|
|
Provides: xf86tools
|
|
|
|
Obsoletes: 3ddiag
|
|
|
|
Obsoletes: xf86tools
|
2007-01-10 23:48:32 +01:00
|
|
|
Version: 0.1
|
2013-02-27 09:04:59 +01:00
|
|
|
Release: 0
|
2007-01-10 23:48:32 +01:00
|
|
|
Summary: Tools for the X Window System
|
2013-02-27 09:04:59 +01:00
|
|
|
License: GPL-2.0+ and MIT
|
|
|
|
Group: System/X11/Utilities
|
2007-01-10 23:48:32 +01:00
|
|
|
Source2: xf86debug
|
|
|
|
Source31: xim
|
|
|
|
Source32: xim.template
|
|
|
|
Source33: none
|
|
|
|
Source34: sysconfig.language-%{name}
|
2010-07-29 22:12:02 +02:00
|
|
|
Source35: nvidia-pre-install
|
2010-07-29 06:52:23 +02:00
|
|
|
Source36: nvidia-post-uninstall
|
2008-11-18 14:29:43 +01:00
|
|
|
BuildArch: noarch
|
2007-01-10 23:48:32 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Some useful tools for the X Window System.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Stefan Dirsch <sndirsch@suse.de>
|
|
|
|
Ludwig Nussel <lnussel@suse.de>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin/
|
|
|
|
install -m 755 $RPM_SOURCE_DIR/xf86debug $RPM_BUILD_ROOT/usr/bin
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/X11/xim.d
|
|
|
|
install -m 644 $RPM_SOURCE_DIR/xim $RPM_BUILD_ROOT/etc/X11
|
|
|
|
install -m 644 $RPM_SOURCE_DIR/none $RPM_BUILD_ROOT/etc/X11/xim.d
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/skel
|
|
|
|
install -m 644 $RPM_SOURCE_DIR/xim.template $RPM_BUILD_ROOT/etc/skel/.xim.template
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates/
|
|
|
|
install -c -m0644 $RPM_SOURCE_DIR/sysconfig.language-%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates/
|
2010-07-29 06:52:23 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/nvidia
|
2010-07-29 22:12:02 +02:00
|
|
|
install -m 755 $RPM_SOURCE_DIR/nvidia-pre-install \
|
|
|
|
$RPM_BUILD_ROOT/usr/lib/nvidia/pre-install
|
2010-07-29 06:52:23 +02:00
|
|
|
install -m 755 $RPM_SOURCE_DIR/nvidia-post-uninstall \
|
2010-07-29 22:12:02 +02:00
|
|
|
$RPM_BUILD_ROOT/usr/lib/nvidia/post-uninstall
|
2007-01-10 23:48:32 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%{fillup_only -an language}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir /etc/X11/xim.d
|
2010-07-29 06:52:23 +02:00
|
|
|
%dir /usr/lib/nvidia
|
2007-01-10 23:48:32 +01:00
|
|
|
/usr/bin/xf86debug
|
2010-07-29 22:12:02 +02:00
|
|
|
/usr/lib/nvidia/pre-install
|
|
|
|
/usr/lib/nvidia/post-uninstall
|
2007-01-10 23:48:32 +01:00
|
|
|
/etc/X11/xim
|
|
|
|
/etc/X11/xim.d/*
|
|
|
|
/etc/skel/.xim.template
|
|
|
|
/var/adm/fillup-templates/sysconfig.language-%{name}
|
|
|
|
|
2007-03-01 20:58:07 +01:00
|
|
|
%changelog
|