initial commit
This commit is contained in:
parent
0d9e15b5c1
commit
7a392d69dd
@ -0,0 +1 @@
|
|||||||
|
systemd-0.20100610git2f198e.tar.xz
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
systemd-0-0_3_20100610git2f198e_fc13:HEAD:systemd-0-0.3.20100610git2f198e.fc13.src.rpm:1276235395
|
1
sources
1
sources
@ -0,0 +1 @@
|
|||||||
|
1211f6d56222c586015629c5516f29b6 systemd-0.20100610git2f198e.tar.xz
|
87
systemd.spec
Normal file
87
systemd.spec
Normal file
@ -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 <sundaram@fedoraproject.org> - 0-0.3.20100610git2f198e
|
||||||
|
- More minor fixes as per review
|
||||||
|
|
||||||
|
* Thu Jun 10 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0-0.2.20100610git2f198e
|
||||||
|
- Spec improvements from David Hollis
|
||||||
|
|
||||||
|
* Wed Jun 09 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0-0.1.20090609git2f198e
|
||||||
|
- Address review comments
|
||||||
|
|
||||||
|
* Tue Jun 01 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0-0.0.git2010-06-02
|
||||||
|
- Initial spec (adopted from Kay Sievers)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user