diff options
author | Francois Andriot <francois.andriot@free.fr> | 2011-11-26 10:14:14 +0100 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2011-11-26 10:14:14 +0100 |
commit | c72b76a46361164fa731cceeadd94220e1a573bf (patch) | |
tree | dffcf88c291a96d34336f67ba350fc5abd4a428e /redhat/trinity-live/trinity-live.spec | |
parent | 19e8ebbf1911ddee443c39715cd2ddac9d52332d (diff) | |
download | tde-packaging-c72b76a46361164fa731cceeadd94220e1a573bf.tar.gz tde-packaging-c72b76a46361164fa731cceeadd94220e1a573bf.zip |
Move Fedora/RHEL specific components to extra subdir
Diffstat (limited to 'redhat/trinity-live/trinity-live.spec')
-rw-r--r-- | redhat/trinity-live/trinity-live.spec | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/redhat/trinity-live/trinity-live.spec b/redhat/trinity-live/trinity-live.spec deleted file mode 100644 index 95733ae80..000000000 --- a/redhat/trinity-live/trinity-live.spec +++ /dev/null @@ -1,84 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.13 -%endif -%define release 1 - -%define _datadir %{_usr}/share - -Name: trinity-live -Version: %{version} -Release: %{?release}%{?dist} -License: GPL -Summary: Trinity Spins -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -Requires: fedora-kickstarts -Requires: livecd-tools - -Source0: fedora-live-tde-base.ks -Source1: fedora-livecd-tde.ks - -%description -This package contains the Trinity configuration file to build a Fedora -LiveCD containing Fedora. - -%package openbox -Summary: bootstrap 'openbox' script that runs TDE's kwin -Requires: trinity-kdebase -BuildArch: noarch -Group: Applications/System - -%description openbox -There is a bug in 'firstboot' that prevents it to invoke 'openbox' correctly. -The provided script redirects 'openbox' to 'kwin'. -It is used on the Fedora TDE LiveCD. - -%prep - -%build -cat <<EOF >openbox -#!/bin/sh - -# This script is used by 'firstboot' only. -# It allows to run TDE's kwin instead of openbox. - -export PATH=%{_bindir}:\${PATH} -export HOME=/root -rm -rf \${HOME}/.DCOPserver* - -rpm -e trinity-live-openbox - -exec kwin \$@ -EOF - -%install -%__rm -rf %{?buildroot} -%__mkdir_p %{?buildroot}%{_datadir}/spin-kickstarts -%__install -m 644 %{SOURCE0} %{?buildroot}%{_datadir}/spin-kickstarts -%__install -m 644 %{SOURCE1} %{?buildroot}%{_datadir}/spin-kickstarts - -# Openbox -%__mkdir_p "%{?buildroot}/usr/local/bin" -%__install -m 755 openbox "%{?buildroot}/usr/local/bin" - - -%files -%{_datadir}/spin-kickstarts/fedora-live-tde-base.ks -%{_datadir}/spin-kickstarts/fedora-livecd-tde.ks - -%files openbox -/usr/local/bin/openbox - - -%changelog -* Wed Nov 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1 -- Initial build |