packages: ConsoleKit/ConsoleKit.spec - x11 subpackage

glen glen at pld-linux.org
Fri Aug 12 21:30:19 CEST 2011


Author: glen                         Date: Fri Aug 12 19:30:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- x11 subpackage

---- Files affected:
packages/ConsoleKit:
   ConsoleKit.spec (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: packages/ConsoleKit/ConsoleKit.spec
diff -u packages/ConsoleKit/ConsoleKit.spec:1.37 packages/ConsoleKit/ConsoleKit.spec:1.38
--- packages/ConsoleKit/ConsoleKit.spec:1.37	Wed May  4 22:51:16 2011
+++ packages/ConsoleKit/ConsoleKit.spec	Fri Aug 12 21:30:14 2011
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	ConsoleKit dla PolicyKit
 Name:		ConsoleKit
 Version:	0.4.5
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://www.freedesktop.org/software/ConsoleKit/dist/%{name}-%{version}.tar.bz2
@@ -29,7 +29,6 @@
 Requires:	filesystem >= 3.0-25
 Requires:	glib2 >= 1:2.14.0
 Requires:	rc-scripts
-Requires:	xorg-lib-libX11 >= 1.0.0
 Suggests:	udev-acl
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -95,6 +94,18 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka ConsoleKit.
 
+%package x11
+Summary:	X11-requiring add-ons for ConsoleKit
+License:	GPL v2+
+Group:		X11/Applications
+Requires:	%{name} = %{version}-%{release}
+Requires:	xorg-lib-libX11 >= 1.0.0
+
+%description x11
+ConsoleKit contains some tools that require Xlib to be installed,
+those are in this separate package so server systems need not install
+X.
+
 %prep
 %setup -q
 
@@ -139,8 +150,6 @@
 %attr(755,root,root) %{_sbindir}/ck-log-system-stop
 %attr(755,root,root) %{_sbindir}/console-kit-daemon
 %attr(755,root,root) %{_libdir}/ck-collect-session-info
-%attr(755,root,root) %{_libdir}/ck-get-x11-server-pid
-%attr(755,root,root) %{_libdir}/ck-get-x11-display-device
 %attr(755,root,root) %{_prefix}/lib/ConsoleKit/scripts/*
 %attr(755,root,root) /%{_lib}/security/pam_ck_connector.so
 %{_datadir}/polkit-1/actions/org.freedesktop.consolekit.policy
@@ -148,7 +157,7 @@
 %{_datadir}/dbus-1/interfaces/org.freedesktop.ConsoleKit.Manager.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.ConsoleKit.Seat.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.ConsoleKit.Session.xml
-%{_sysconfdir}/dbus-1/system.d/ConsoleKit.conf
+/etc/dbus-1/system.d/ConsoleKit.conf
 %{_sysconfdir}/ConsoleKit/seats.d/00-primary.seat
 %{_mandir}/man8/pam_ck_connector.8*
 
@@ -182,12 +191,20 @@
 %defattr(644,root,root,755)
 %{_libdir}/libck-connector.a
 
+%files x11
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/ck-get-x11-server-pid
+%attr(755,root,root) %{_libdir}/ck-get-x11-display-device
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.38  2011/08/12 19:30:14  glen
+- x11 subpackage
+
 Revision 1.37  2011/05/04 20:51:16  megabajt
 - updated to 0.4.5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ConsoleKit/ConsoleKit.spec?r1=1.37&r2=1.38&f=u



More information about the pld-cvs-commit mailing list