From 7a392d69ddaf3df7274b526cfab472ca1d34897b Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: Jun 11 2010 06:18:33 +0000 Subject: initial commit --- diff --git a/.cvsignore b/.cvsignore index e69de29..6976c2b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +systemd-0.20100610git2f198e.tar.xz diff --git a/import.log b/import.log new file mode 100644 index 0000000..4703f0d --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +systemd-0-0_3_20100610git2f198e_fc13:HEAD:systemd-0-0.3.20100610git2f198e.fc13.src.rpm:1276235395 diff --git a/sources b/sources index e69de29..2af274c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1211f6d56222c586015629c5516f29b6 systemd-0.20100610git2f198e.tar.xz diff --git a/systemd.spec b/systemd.spec new file mode 100644 index 0000000..dd338a9 --- /dev/null +++ b/systemd.spec @@ -0,0 +1,87 @@ +%global git_date 20100610 +%global git_version 2f198e +%global _bindir /bin +%global _libdir /lib + +Name: systemd +Url: http://www.freedesktop.org/wiki/Software/systemd +Version: 0 +Release: 0.3.%{git_date}git%{git_version}%{?dist} +License: GPLv2+ +Group: System Environment/Base +Summary: A System and Session Manager +BuildRequires: libudev-devel +BuildRequires: libcap-devel +BuildRequires: libcgroup-devel libcgroup libxslt docbook-style-xsl +BuildRequires: dbus-glib-devel vala pkgconfig gtk2-devel +BuildRequires: automake autoconf + +# git clone git://anongit.freedesktop.org/systemd +# cd systemd; +# git-archive --format=tar --prefix={name} {git_version} | xz > systemd-{version}.{git_date}git{git_version}.tar.xz + +Source0: %{name}-%{version}.%{git_date}git%{git_version}.tar.xz +#Source0: http://www.freedesktop.org/FIXME/%{name}-%{version}.tar.bz2 + + +%description +systemd is a system and session manager for Linux, compatible with SysV and +LSB init scripts. systemd provides aggressive parallelization capabilities, +uses socket and D-Bus activation for starting services, offers on-demand +starting of daemons, keeps track of processes using Linux cgroups, supports +snapshotting and restoring 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. + + +%prep +%setup -q -n %{name} +./bootstrap.sh + +%build + +export V=1 +%configure --sbindir=/sbin --libexecdir=%{_prefix}/libexec --with-rootdir= --with-distro=fedora CFLAGS="%{optflags}" + +make %{?_smp_mflags} + +%install + +# workaround for lack of init.d directory +mkdir -p %{buildroot}/%{_sysconfdir}/init.d + +make DESTDIR=%{buildroot} install + + +%files +%defattr(-,root,root,-) +%dir %{_sysconfdir}/systemd +%{_sysconfdir}/systemd/* +%{_sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf +%{_sysconfdir}/xdg/systemd/session +%{_sysconfdir}/init.d/reboot +%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml +/lib/udev/rules.d/*.rules +%{_bindir}/systemd +%{_bindir}/systemctl +%{_bindir}/systemadm +%{_mandir}/man?/*.* +%{_libdir}/systemd +%{_datadir}/systemd/ +%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service +%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service + + +%changelog +* Thu Jun 11 2010 Rahul Sundaram - 0-0.3.20100610git2f198e +- More minor fixes as per review + +* Thu Jun 10 2010 Rahul Sundaram - 0-0.2.20100610git2f198e +- Spec improvements from David Hollis + +* Wed Jun 09 2010 Rahul Sundaram - 0-0.1.20090609git2f198e +- Address review comments + +* Tue Jun 01 2010 Rahul Sundaram - 0-0.0.git2010-06-02 +- Initial spec (adopted from Kay Sievers) +