From 32863aa0a5cc65cd12fd77e8e2a9caa1635db289 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Jan 12 2007 19:33:19 +0000 Subject: auto-import ConsoleKit-0.1.0-4 on branch devel from ConsoleKit-0.1.0-4.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..f1b8cc1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +console-kit-0.1.0.tar.gz diff --git a/ConsoleKit.spec b/ConsoleKit.spec new file mode 100644 index 0000000..a915211 --- /dev/null +++ b/ConsoleKit.spec @@ -0,0 +1,85 @@ +%define glib2_version 2.6.0 +%define dbus_version 0.90 +%define dbus_glib_version 0.70 + +Summary: System daemon for tracking users, sessions and seats +Name: ConsoleKit +Version: 0.1.0 +Release: 4%{?dist} +License: GPL +Group: System Environment/Libraries +URL: http://consolekit.freedesktop.org +Source0: http://people.freedesktop.org/~mccann/dist/console-kit-%{version}.tar.gz +Patch0: ConsoleKit-0.1.0-servicename.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: dbus >= %{dbus_version} + +BuildRequires: glib2-devel >= %{glib2_version} +BuildRequires: dbus-devel >= %{dbus_version} +BuildRequires: dbus-glib-devel >= %{dbus_glib_version} + +Requires(post): chkconfig +Requires(preun): chkconfig + +%description +ConsoleKit is a system daemon for tracking what users are logged +into the system and how they interact with the computer (e.g. +which keyboard and mouse they use). + +It provides asynchronous notification via the system message bus. + +%prep +%setup -q -n console-kit-%{version} +%patch0 -p1 -b .servicename + +%build +%configure --with-pid-file=%{_localstatedir}/run/console-kit-daemon.pid + +make + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/chkconfig --add ConsoleKit + +%preun +if [ $1 = 0 ]; then + /sbin/service ConsoleKit stop > /dev/null 2>&1 + /sbin/chkconfig --del ConsoleKit +fi + + +%files +%defattr(-,root,root,-) +%doc README NEWS COPYING AUTHORS ChangeLog + +%{_sysconfdir}/dbus-1/system.d/* +%{_sysconfdir}/rc.d/init.d/ConsoleKit +%{_sbindir}/console-kit-daemon + + +%changelog +* Fri Jan 12 2007 Matthias Clasen - 0.1.0-4 +- Don't mark initscripts %%config +- Use proper lock and pid ile names + +* Fri Jan 12 2007 Matthias Clasen - 0.1.0-3 +- More package review feedback + +* Fri Jan 12 2007 Matthias Clasen - 0.1.0-2 +- Incorporate package review feedback + +* Thu Jan 11 2007 Matthias Clasen - 0.1.0-1 +- Update to the first public release 0.1.0 +- Some spec cleanups + +* Mon Oct 23 2006 David Zeuthen - 0.0.3-1 +- Initial build. + diff --git a/sources b/sources index e69de29..5429e13 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5d0a8492cb114b66ed5182fb6d59929b console-kit-0.1.0.tar.gz