SPECS (Titanium): svgalib.spec - disable userspace for alt_kernels...

hawk hawk at pld-linux.org
Mon Nov 12 17:04:41 CET 2007


Author: hawk                         Date: Mon Nov 12 16:04:40 2007 GMT
Module: SPECS                         Tag: Titanium
---- Log message:
- disable userspace for alt_kernels
- suffix src package with alt kernel if present

---- Files affected:
SPECS:
   svgalib.spec (1.189 -> 1.189.2.1) 

---- Diffs:

================================================================
Index: SPECS/svgalib.spec
diff -u SPECS/svgalib.spec:1.189 SPECS/svgalib.spec:1.189.2.1
--- SPECS/svgalib.spec:1.189	Wed Oct 24 15:52:41 2007
+++ SPECS/svgalib.spec	Mon Nov 12 17:04:35 2007
@@ -4,13 +4,14 @@
 %bcond_without	dist_kernel	# without distribution kernel
 %bcond_without	kernel		# don't build kernel modules
 %bcond_without	userspace	# don't build userspace packages
-%bcond_with	grsec_kernel	# build for kernel-grsecurity
-#
-%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
-%define	alt_kernel	grsecurity
+
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine	with_userspace
 %endif
-#
+
+%define pname	svgalib
 %define	_rel	12
+
 Summary:	Library for full screen [S]VGA graphics
 Summary(de.UTF-8):	Library fĂźr Vollbildschirm-[S]VGA-Grafiken
 Summary(es.UTF-8):	Biblioteca para grĂĄficos en pantalla llena [S]VGA
@@ -20,29 +21,29 @@
 Summary(ru.UTF-8):	ĐĐ¸ĐˇĐşĐžŃƒŃ€ĐžĐ˛Đ˝ĐľĐ˛Đ°Ń йийНиОтока ĐżĐžĐťĐ˝ĐžŃĐşŃ€Đ°Đ˝Đ˝ĐžĐš SVGA графики
 Summary(tr.UTF-8):	Tam-ekran [S]VGA çizimleri kitaplÄąÄŸÄą
 Summary(uk.UTF-8):	ĐĐ¸ĐˇŃŒĐşĐžŃ€Ń–Đ˛Đ˝ĐľĐ˛Đ° йійНіОтока пОвнОокраннОї SVGA графіки
-Name:		svgalib
+Name:		%{pname}%{_alt_kernel}
 Version:	1.9.25
 Release:	%{_rel}
 Epoch:		1
 License:	distributable
 Group:		Libraries
-Source0:	http://www.arava.co.il/matan/svgalib/%{name}-%{version}.tar.gz
+Source0:	http://www.arava.co.il/matan/svgalib/%{pname}-%{version}.tar.gz
 # Source0-md5:	4dda7e779e550b7404cfe118f1d74222
-Patch0:		%{name}-pld.patch
-Patch1:		%{name}-tmp2TMPDIR.patch
-Patch2:		%{name}-DESTDIR.patch
-Patch3:		%{name}-smp.patch
-Patch4:		%{name}-threeDKit-make.patch
-Patch5:		%{name}-svgalib_helper_Makefile.patch
-Patch6:		%{name}-link.patch
-Patch7:		%{name}-module-alias.patch
-Patch8:		%{name}-sparc.patch
-Patch9:		%{name}-depend.patch
-Patch10:	%{name}-ppc_memset.patch
-Patch11:	%{name}-no-sys-io.patch
-Patch12:	%{name}-linux-2.4.patch
-Patch13:	%{name}-no-asm-segment.patch
-Patch14:	%{name}-no-devfs.patch
+Patch0:		%{pname}-pld.patch
+Patch1:		%{pname}-tmp2TMPDIR.patch
+Patch2:		%{pname}-DESTDIR.patch
+Patch3:		%{pname}-smp.patch
+Patch4:		%{pname}-threeDKit-make.patch
+Patch5:		%{pname}-svgalib_helper_Makefile.patch
+Patch6:		%{pname}-link.patch
+Patch7:		%{pname}-module-alias.patch
+Patch8:		%{pname}-sparc.patch
+Patch9:		%{pname}-depend.patch
+Patch10:	%{pname}-ppc_memset.patch
+Patch11:	%{pname}-no-sys-io.patch
+Patch12:	%{pname}-linux-2.4.patch
+Patch13:	%{pname}-no-asm-segment.patch
+Patch14:	%{pname}-no-devfs.patch
 URL:		http://www.arava.co.il/matan/svgalib/
 %if %{with kernel} && %{with dist_kernel}
 BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.20.2
@@ -131,7 +132,7 @@
 Summary(tr.UTF-8):	[S]VGA grafikleri için geliĹŸtirme kitaplÄąklarÄą ve baĹŸlÄąk dosyalarÄą
 Summary(uk.UTF-8):	ФаКНи для ĐżĐžĐąŃƒĐ´ĐžĐ˛Đ¸ прОграП, щО Đ˛Đ¸ĐşĐžŃ€Đ¸ŃŃ‚ĐžĐ˛ŃƒŃŽŃ‚ŃŒ SVGAlib
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{pname} = %{epoch}:%{version}-%{release}
 
 %description devel
 The svgalib-devel package contains the libraries and header files
@@ -187,7 +188,7 @@
 Summary(ru.UTF-8):	Хтатичоскио йийНиОтоки для ĐżĐžŃŃ‚Ń€ĐžĐľĐ˝Đ¸Ń прОграПП, Đ¸ŃĐżĐžĐťŃŒĐˇŃƒŃŽŃ‰Đ¸Ń
 SVGAlib
 Summary(uk.UTF-8):	Хтатичні йійНіОтоки для ĐżĐžĐąŃƒĐ´ĐžĐ˛Đ¸ прОграП, щО Đ˛Đ¸ĐşĐžŃ€Đ¸ŃŃ‚ĐžĐ˛ŃƒŃŽŃ‚ŃŒ SVGAlib
 Group:		Development/Libraries
-Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+Requires:	%{pname}-devel = %{epoch}:%{version}-%{release}
 
 %description static
 Static [S]VGA graphics librarires.
@@ -372,6 +373,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.189.2.1  2007-11-12 16:04:35  hawk
+- disable userspace for alt_kernels
+- suffix src package with alt kernel if present
+
 Revision 1.189  2007-10-24 13:52:41  arekm
 - rel 12
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/svgalib.spec?r1=1.189&r2=1.189.2.1&f=u



More information about the pld-cvs-commit mailing list