SPECS: glib2.spec - added selinux bcond and TODO

sls sls at pld-linux.org
Sun Mar 30 21:52:34 CEST 2008


Author: sls                          Date: Sun Mar 30 19:52:34 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added selinux bcond and TODO

---- Files affected:
SPECS:
   glib2.spec (1.175 -> 1.176) 

---- Diffs:

================================================================
Index: SPECS/glib2.spec
diff -u SPECS/glib2.spec:1.175 SPECS/glib2.spec:1.176
--- SPECS/glib2.spec:1.175	Tue Mar 11 22:52:03 2008
+++ SPECS/glib2.spec	Sun Mar 30 21:52:29 2008
@@ -1,8 +1,14 @@
 # $Revision$, $Date$
+# TODO:
+#	fix selinux mess:
+#		rm -lselinux from libglib-2.0.la (and others)
+#		add -lselinux to gio-2.0
+#		what about libselinux-devel in glib2-devel
 #
 # Conditional build:
 %bcond_without	apidocs         # disable gtk-doc
 %bcond_without	static_libs	# don't build static library
+%bcond_with	selinux		# gio with selinux support
 #
 Summary:	Useful routines for 'C' programming
 Summary(cs.UTF-8):	Šikovná knihovna s funkcemi pro pomocné programy
@@ -18,7 +24,7 @@
 Summary(zh_CN.UTF-8):	实用工具函数库
 Name:		glib2
 Version:	2.16.1
-Release:	2
+Release:	2.1
 Epoch:		1
 License:	LGPL v2+
 Group:		Libraries
@@ -35,6 +41,7 @@
 BuildRequires:	gettext-devel
 %{?with_apidocs:BuildRequires:	gtk-doc >= 1.8}
 %{?with_apidocs:BuildRequires:	gtk-doc-automake >= 1.8}
+%{?with_selinux:BuildRequires:	libselinux-devel}
 BuildRequires:	libtool >= 1:1.4.2-9
 BuildRequires:	pcre-devel >= 7.6
 BuildRequires:	perl-base
@@ -181,6 +188,7 @@
 %configure \
 	--%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
 	%{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \
+	--%{?with_selinux:en}%{!?with_selinux:dis}able-selinux \
 	--%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \
 	--enable-debug=%{?debug:yes} \
 	--enable-man \
@@ -293,6 +301,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.176  2008-03-30 19:52:29  sls
+- added selinux bcond and TODO
+
 Revision 1.175  2008-03-11 21:52:03  megabajt
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/glib2.spec?r1=1.175&r2=1.176&f=u



More information about the pld-cvs-commit mailing list