init Tizen 2.2.1 tizen_2.2 2.2.1_release submit/tizen_2.2/20131107.095546
authorSehong Na <sehong.na@samsung.com>
Thu, 7 Nov 2013 09:54:39 +0000 (18:54 +0900)
committerSehong Na <sehong.na@samsung.com>
Thu, 7 Nov 2013 09:54:39 +0000 (18:54 +0900)
packaging/systemd.spec

index ed02506..b84044c 100644 (file)
@@ -51,6 +51,18 @@ of the system state, maintains mount and automount points and
 implements an elaborate transactional dependency-based service
 control logic. It can work as a drop-in replacement for sysvinit.
 
+# tools package dislabled because of pycairo package dependency
+# %package tools
+# Summary:    Analyze systemd startup timing
+# Group:      Development/Tools
+# Requires:   pycairo
+# Requires:   python-xml
+# Requires:   %{name} = %{version}-%{release}
+
+# %description tools
+# This package installs the systemd-analyze tool, which allows one to
+# inspect and graph service startup timing in table or graph format.
+
 %package devel
 Summary:    Development tools for systemd
 Group:      Development/Libraries
@@ -123,6 +135,36 @@ Requires:  %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
 This package includes the man pages for systemd.
 
 
+# %package sysv-docs
+# Summary:   System and session manager man pages - SysV links
+# Group:     Development/Libraries
+# Requires:  %{name} = %{version}-%{release}
+
+# %description sysv-docs
+# This package provides the manual pages needed for systemd
+# to replace sysvinit.
+
+# %package sysv
+# Summary:   System and session manager - SysV links
+# Group:     System/Startup Services
+# Requires:  %{name} = %{version}-%{release}
+# Obsoletes: sysvinit < 3.0
+# Provides:  sysvinit = 3.0
+
+
+ #%description sysv
+# Systemd is a replacement for sysvinit.  It is dependency-based and
+# able to read the LSB init script headers in addition to parsing rcN.d
+# links as hints.
+
+# It also provides process supervision using cgroups and the ability to
+# not only depend on other init script being started, but also
+# availability of a given mount point or dbus service.
+
+# This package provides the links needed for systemd
+# to replace sysvinit.
+
+
 %prep
 %setup -q -n %{name}-%{version}
 %patch1 -p1
@@ -215,6 +257,10 @@ ln -s ../serial-getty@.service %{buildroot}%{_libdir}/systemd/system/getty.targe
 #console-ttyO2
 ln -s ../serial-getty@.service %{buildroot}%{_libdir}/systemd/system/getty.target.wants/serial-getty@ttyO2.service
 
+#license
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
 %post
 rm -f /etc/mtab
 ln -sf /proc/self/mounts /etc/mtab
@@ -282,6 +328,7 @@ ln -sf /proc/self/mounts /etc/mtab
 %exclude %{_libdir}/systemd/system/getty.target.wants/serial-getty@ttyS1.service
 %exclude %{_libdir}/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service
 %exclude %{_libdir}/systemd/user/default.target
+/usr/share/license/%{name}
 
 %files console-ttySAC2
 %defattr(-,root,root,-)