Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Meego:Netbook
uxlaunch
uxlaunch.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File uxlaunch.spec of Package uxlaunch
# # spec file for package uxlaunch (Version 0.22.5) # # Copyright (c) 2010 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: uxlaunch Version: 0.51 Release: 1 License: GPLv2 Summary: A hugely cut-down gdm and gnome-session replacement Group: System/GUI/Other Url: http://www.moblin.org/ Source0: %{name}-%{version}.tar.gz #Source1: init.earlyux #Source2: moblin-uxlaunch Source3: smeegol.desktop Source4: startmoblin Patch0: uxlaunch-myzone-speed.patch # Add -x session mode, and misc. other fixes - sent to Intel for merging Patch1: uxlaunch-fixes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dbus-1-devel gconf2-devel glib2-devel xorg-x11-libXau-devel BuildRequires: ConsoleKit-devel pam-devel BuildRequires: update-desktop-files PreReq: %fillup_prereq Conflicts: moblin-session %description An ultra-lightweight, but non-standard process to log you in, and get your session going in next to no cycles. %prep %setup -q #%patch0 -p0 %patch1 -p1 %build export CFLAGS=$RPM_OPT_FLAGS %__make %{?jobs:-j%jobs} mutterlibexecdir=/usr/lib/mutter-moblin %install %makeinstall mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates mv $RPM_BUILD_ROOT/etc/sysconfig/uxlaunch $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.uxlaunch chmod -x $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.uxlaunch # To use this as a user session launcher mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_datadir}/xsessions install -m 644 %{S:3} $RPM_BUILD_ROOT%{_datadir}/xsessions/smeegol.desktop %suse_update_desktop_file $RPM_BUILD_ROOT%{_datadir}/xsessions/smeegol.desktop install -m 755 %{S:4} $RPM_BUILD_ROOT%{_bindir}/startmoblin #Get the correct XML loaded for the Smeegol Session mkdir -p $RPM_BUILD_ROOT/etc/gconf/2/ sed '/Then look at the systemwide customizations/i \ # Required for Smeegol\ xml:readonly:/etc/gconf/gconf.xml.moblin\ ' /etc/gconf/2/path >$RPM_BUILD_ROOT/etc/gconf/2/moblin.path if cmp -s /etc/gconf/2/path $RPM_BUILD_ROOT/etc/gconf/2/moblin.path ; then echo "Error: /etc/gconf/2/path changed. Please fix the spec file." fi #cp -a /etc/gconf/2/path $RPM_BUILD_ROOT/etc/gconf/2/moblin.path #echo # Required for MeeGo >> $RPM_BUILD_ROOT/etc/gconf/2/moblin.path #echo xml:readonly:/etc/gconf/gconf.xml.moblin >> $RPM_BUILD_ROOT/etc/gconf/2/moblin.path # For using this as a gdm replacement: # install -m 755 %{S:2} $RPM_BUILD_ROOT/usr/sbin/ # mkdir -p $RPM_BUILD_ROOT/etc/init.d # install -m 755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/earlyux find %{buildroot}%{_mandir} -type f -print0 | xargs -r0 chmod a-x %clean rm -rf $RPM_BUILD_ROOT %post %{fillup_only -n uxlaunch} # If used as a gdm replacement: # {fillup_and_insserv -nY uxlaunch earlyux} # postun # {insserv_cleanup} %files %defattr(-,root,root,-) /usr/sbin/uxlaunch %{_bindir}/startmoblin %{_datadir}/xsessions/smeegol.desktop /var/adm/fillup-templates/sysconfig.uxlaunch %{_mandir}/man1/uxlaunch.1.gz %config %{_sysconfdir}/gconf/2/moblin.path # /usr/sbin/moblin-uxlaunch # /etc/init.d/earlyux %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor