[Bug 226363] Merge Review: redhat-lsb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=226363

--- Comment #53 from xning@xxxxxxxxxx 2012-03-05 23:52:31 EST ---
--- redhat-lsb-4.0/redhat-lsb.spec 2012-01-15 05:12:31.000000000 +0800
+++ /home/tsllst/rpmbuild/SPECS/redhat-lsb.spec 2012-03-06 11:26:11.864463621
+0800
@@ -6,50 +6,19 @@
 %define lsbldso ld-lsb.so
 %endif

-%ifarch ia64
-%define ldso ld-linux-ia64.so.2
-%define lsbldso ld-lsb-ia64.so
-%endif
-
-%ifarch ppc
-%define ldso ld.so.1
-%define lsbldso ld-lsb-ppc32.so
-%endif
-
-%ifarch ppc64
-%define ldso ld64.so.1
-%define lsbldso ld-lsb-ppc64.so
-%endif
-
-%ifarch s390
-%define ldso ld.so.1
-%define lsbldso ld-lsb-s390.so
-%endif
-
-%ifarch s390x
-%define ldso ld64.so.1
-%define lsbldso ld-lsb-s390x.so
-%endif
-
 %ifarch x86_64
 %define ldso ld-linux-x86-64.so.2
 %define lsbldso ld-lsb-x86-64.so
 %endif

-%ifarch ia64 ppc64 s390x x86_64
-%define qual ()(64bit)
-%else
-%define qual %{nil}
-%endif
-
 %define upstreamlsbrelver 2.0
-%define lsbrelver 4.0
+%define lsbrelver 4.1
 %define srcrelease 1

 Summary: LSB base libraries support for Red Hat Enterprise Linux
 Name: redhat-lsb
-Version: 4.0
-Release: 11%{?dist}
+Version: 4.1
+Release: 1%{?dist}
 URL: http://www.linuxfoundation.org/collaborate/workgroups/lsb
 Source0: %{name}-%{version}-%{srcrelease}.tar.bz2
 #Source1:
http://prdownloads.sourceforge.net/lsb/lsb-release-%{upstreamlsbrelver}.tar.gz
@@ -66,288 +35,57 @@
 %ifarch %{ix86}
 %define archname ia32
 %endif
-%ifarch ia64
-%define archname ia64
-%endif
-%ifarch ppc
-%define archname ppc32
-%endif
-%ifarch ppc64
-%define archname ppc64
-%endif
-%ifarch s390
-%define archname s390
-%endif
-%ifarch s390x
-%define archname s390x
-%endif
 %ifarch x86_64
 %define archname amd64
 %endif
 Provides: lsb-core-%{archname} = %{version}
 Provides: lsb-core-noarch = %{version}

-ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x %{arm}
-
-%ifarch %{ix86}
-# archLSB IA32 Base Libraries
-Requires: libc.so.6
-Requires: libcrypt.so.1
-Requires: libdl.so.2
-Requires: libgcc_s.so.1
-Requires: libm.so.6
-Requires: libncurses.so.5
-Requires: libpthread.so.0
-Requires: libstdc++.so.6
-Requires: libutil.so.1
-Requires: libz.so.1
-%endif
-
-%ifarch ia64
-# archLSB IA64 Base Libraries
-Requires: libc.so.6.1()(64bit)
-Requires: libcrypt.so.1()(64bit)
-Requires: libdl.so.2()(64bit)
-Requires: libgcc_s.so.1()(64bit)
-Requires: libm.so.6.1()(64bit)
-Requires: libncurses.so.5()(64bit)
-Requires: libpthread.so.0()(64bit)
-Requires: libstdc++.so.6()(64bit)
-Requires: libutil.so.1()(64bit)
-Requires: libz.so.1()(64bit)
-%endif
-
-%ifarch ppc
-# archLSB PPC32 Base Libraries
-Requires: libc.so.6
-Requires: libcrypt.so.1
-Requires: libdl.so.2
-Requires: libgcc_s.so.1
-Requires: libm.so.6
-Requires: libncurses.so.5
-Requires: libpthread.so.0
-Requires: libstdc++.so.6
-Requires: libutil.so.1
-Requires: libz.so.1
-%endif
-
-%ifarch ppc64
-# archLSB PPC64 Base Libraries
-Requires: libc.so.6()(64bit)
-Requires: libcrypt.so.1()(64bit)
-Requires: libdl.so.2()(64bit)
-Requires: libgcc_s.so.1()(64bit)
-Requires: libm.so.6()(64bit)
-Requires: libncurses.so.5()(64bit)
-Requires: libpthread.so.0()(64bit)
-Requires: libstdc++.so.6()(64bit)
-Requires: libutil.so.1()(64bit)
-Requires: libz.so.1()(64bit)
-%endif
-
-%ifarch s390
-# archLSB S390 Base Libraries
-Requires: libc.so.6
-Requires: libcrypt.so.1
-Requires: libdl.so.2
-Requires: libgcc_s.so.1
-Requires: libm.so.6
-Requires: libncurses.so.5
-Requires: libpthread.so.0
-Requires: libstdc++.so.6
-Requires: libutil.so.1
-Requires: libz.so.1
-%endif
+ExclusiveArch: %{ix86} x86_64

-%ifarch s390x
-# archLSB S390X Base Libraries
-Requires: libc.so.6()(64bit)
-Requires: libcrypt.so.1()(64bit)
-Requires: libdl.so.2()(64bit)
-Requires: libgcc_s.so.1()(64bit)
-Requires: libm.so.6()(64bit)
-Requires: libncurses.so.5()(64bit)
-Requires: libpthread.so.0()(64bit)
-Requires: libstdc++.so.6()(64bit)
-Requires: libutil.so.1()(64bit)
-Requires: libz.so.1()(64bit)
-%endif
-
-%ifarch x86_64
-# archLSB AMD64 Base Libraries
-Requires: libc.so.6()(64bit)
-Requires: libcrypt.so.1()(64bit)
-Requires: libdl.so.2()(64bit)
-Requires: libgcc_s.so.1()(64bit)
-Requires: libm.so.6()(64bit)
-Requires: libncurses.so.5()(64bit)
-Requires: libpthread.so.0()(64bit)
-Requires: libstdc++.so.6()(64bit)
-Requires: libutil.so.1()(64bit)
-Requires: libz.so.1()(64bit)
-%endif
-
-# gLSB Base/Utility/Stdc++
-Requires: libcrypt.so.1%{qual}
-Requires: libdl.so.2%{qual}
-Requires: libgcc_s.so.1%{qual}
-Requires: libncurses.so.5%{qual}
-Requires: libnspr4.so%{qual}
-Requires: libnss3.so%{qual}
-Requires: libpam.so.0%{qual}
-Requires: libpthread.so.0%{qual}
-Requires: librt.so.1%{qual}
-Requires: libssl3.so%{qual}
-Requires: libstdc++.so.6%{qual}
-Requires: libutil.so.1%{qual}
-Requires: libz.so.1%{qual}
+# gLSB Library
+Requires: glibc
+Requires: libgcc
+Requires: ncurses-libs
+Requires: pam
+Requires: zlib

 # gLSB Command and Utilities
-Requires: /bin/awk
-Requires: /bin/basename
-Requires: /bin/cat
-Requires: /bin/chgrp
-Requires: /bin/chmod
-Requires: /bin/chown
-Requires: /bin/cp
-Requires: /bin/cpio
-Requires: /bin/cut
-Requires: /bin/date
-Requires: /bin/dd
-Requires: /bin/df
-Requires: /bin/dmesg
-Requires: /bin/echo
-Requires: /bin/ed
-Requires: /bin/egrep
-Requires: /bin/env
-Requires: /bin/false
-Requires: /bin/fgrep
-Requires: /bin/find
-Requires: /bin/gettext
-Requires: /bin/grep
-Requires: /bin/gunzip
-Requires: /bin/gzip
-Requires: /bin/hostname
-Requires: /bin/kill
-Requires: /bin/ln
-Requires: /bin/ls
-Requires: /bin/mailx
-Requires: /bin/mkdir
-Requires: /bin/mknod
-Requires: /bin/mktemp
-Requires: /bin/more
-Requires: /bin/mount
-Requires: /bin/mv
-Requires: /bin/nice
-Requires: /bin/ps
-Requires: /bin/pwd
-Requires: /bin/rm
-Requires: /bin/rmdir
-Requires: /bin/sed
-Requires: /bin/sh
-Requires: /bin/sleep
-Requires: /bin/sort
-Requires: /bin/stty
-Requires: /bin/su
-Requires: /bin/sync
-Requires: /bin/tar
-Requires: /bin/touch
-Requires: /bin/true
-Requires: /bin/umount
-Requires: /bin/uname
-Requires: /bin/zcat
-Requires: /sbin/fuser
-Requires: /sbin/pidof
-Requires: /sbin/shutdown
-Requires: /usr/bin/[
-Requires: /usr/bin/ar
-Requires: /usr/bin/at
-Requires: /usr/bin/batch
-Requires: /usr/bin/bc
-Requires: /usr/bin/chfn
-Requires: /usr/bin/chsh
-Requires: /usr/bin/cksum
-Requires: /usr/bin/cmp
-Requires: /usr/bin/col
-Requires: /usr/bin/comm
-Requires: /usr/bin/crontab
-Requires: /usr/bin/csplit
-Requires: /usr/bin/diff
-Requires: /usr/bin/dirname
-Requires: /usr/bin/du
-Requires: /usr/bin/expand
-Requires: /usr/bin/expr
-Requires: /usr/bin/file
-Requires: /usr/bin/fold
-Requires: /usr/bin/gencat
-Requires: /usr/bin/getconf
-Requires: /usr/bin/groups
-Requires: /usr/bin/head
-Requires: /usr/bin/iconv
-Requires: /usr/bin/id
-Requires: /usr/bin/install
-Requires: /usr/bin/ipcrm
-Requires: /usr/bin/ipcs
-Requires: /usr/bin/join
-Requires: /usr/bin/killall
-Requires: /usr/bin/locale
-Requires: /usr/bin/localedef
-Requires: /usr/bin/logger
-Requires: /usr/bin/logname
-Requires: /usr/bin/m4
-Requires: /usr/bin/make
-Requires: /usr/bin/man
-Requires: /usr/bin/md5sum
-Requires: /usr/bin/mkfifo
-Requires: /usr/bin/msgfmt
-Requires: /usr/bin/newgrp
-Requires: /usr/bin/nl
-Requires: /usr/bin/nohup
-Requires: /usr/bin/od
-Requires: /usr/bin/passwd
-Requires: /usr/bin/paste
-Requires: /usr/bin/patch
-Requires: /usr/bin/pathchk
-Requires: /usr/bin/pax
-Requires: /usr/bin/perl
-Requires: /usr/bin/pr
-Requires: /usr/bin/printf
-Requires: /usr/bin/python
-Requires: /usr/bin/renice
-Requires: /usr/bin/seq
-Requires: /usr/bin/split
-Requires: /usr/bin/strip
-Requires: /usr/bin/tail
-Requires: /usr/bin/tee
-Requires: /usr/bin/test
-Requires: /usr/bin/time
-Requires: /usr/bin/tr
-Requires: /usr/bin/tsort
-Requires: /usr/bin/tty
-Requires: /usr/bin/unexpand
-Requires: /usr/bin/uniq
-Requires: /usr/bin/wc
-Requires: /usr/bin/xargs
-Requires: /usr/lib/lsb/install_initd
-Requires: /usr/lib/lsb/remove_initd
-Requires: /usr/sbin/groupadd
-Requires: /usr/sbin/groupdel
-Requires: /usr/sbin/groupmod
-Requires: /usr/sbin/sendmail
-Requires: /usr/sbin/useradd
-Requires: /usr/sbin/userdel
-Requires: /usr/sbin/usermod
-
-# Add split off packages from core perl package
-Requires: perl(Locale::Codes)
-Requires: perl(Class::ISA)
-## following for f17 and above
-Requires: perl(Digest::MD5)
-Requires: perl(Pod::Perldoc::ToChecker)
-Requires: perl(Pod::Perldoc::ToMan)
-Requires: perl(Pod::Perldoc::ToNroff)
-Requires: perl(Pod::Perldoc::ToPod)
-Requires: perl(Pod::Perldoc::ToText)
+Requires: at
+Requires: bash
+Requires: bc
+Requires: binutils
+Requires: coreutils
+Requires: cpio
+Requires: cronie
+Requires: cups
+Requires: diffutils
+Requires: ed
+Requires: file
+Requires: findutils
+Requires: gawk
+Requires: gettext
+Requires: glibc-common
+Requires: grep
+Requires: gzip
+Requires: hostname
+Requires: m4
+Requires: mailx
+Requires: make
+Requires: man-db
+Requires: MTA
+Requires: passwd
+Requires: patch
+Requires: pax
+Requires: procps
+Requires: psmisc
+Requires: sed
+Requires: shadow-utils
+Requires: systemd
+Requires: sysvinit-tools
+Requires: tar
+Requires: time
+Requires: util-linux

 %description
 The Linux Standard Base (LSB) is an attempt to develop a set of
@@ -357,234 +95,143 @@
 components required by the LSB that are provided by Red Hat Linux are
 installed on the system.

-%package graphics
+%package perl
 Group: System Environment/Base
-Summary: LSB graphics libraries support for Red Hat Enterprise Linux
+Summary: LSB interpreted language perl support for Red Hat Enterprise Linux
+# Add split off packages from core perl package
+# Requires: perl-Locale-Codes
+# Requires: perl-Class-ISA
+# Perl and Perl non-builtin modules
+Requires: perl
+Requires: perl-CGI
+Requires: perl-Class-ISA
+Requires: perl-CPAN
+Requires: perl-ExtUtils-MakeMaker
+# Locale::Constants has been Locale::Codes::Costants, so we need
+# create a /usr/share/perl5/vendor_perl/Constants.pm manually.
+# Requires: perl(Locale::Constants)
+# DB module is a builtin module
+# Requires: perl(DB)
+
+Requires: perl-Locale-Codes
+Requires: perl-PathTools
+Requires: perl-Scalar-List-Utils
+Requires: perl-Test-Harness
+Requires: perl-Test-Simple
+Requires:       %{name} = %{version}-%{release}

-%ifarch %{ix86}
-# archLSB IA32 Graphics Libraries
-Requires: libatk-1.0.so.0
-Requires: libgdk-x11-2.0.so.0
-Requires: libgdk_pixbuf-2.0.so.0
-Requires: libgdk_pixbuf_xlib-2.0.so.0
-Requires: libglib-2.0.so.0
-Requires: libgmodule-2.0.so.0
-Requires: libgobject-2.0.so.0
-Requires: libgthread-2.0.so.0
-Requires: libgtk-x11-2.0.so.0
-Requires: libpango-1.0.so.0
-Requires: libpangocairo-1.0.so.0
-Requires: libpangoft2-1.0.so.0
-Requires: libpangoxft-1.0.so.0
-Requires: libqt-mt.so.3
-Requires: libQtCore.so.4
-Requires: libQtGui.so.4
-Requires: libQtNetwork.so.4
-Requires: libQtOpenGL.so.4
-Requires: libQtSql.so.4
-Requires: libQtSvg.so.4
-Requires: libQtXml.so.4
-%endif
+Provides: lsb-perl-%{archname} = %{version}
+Provides: lsb-perl-noarch = %{version}

-%ifarch ia64
-# archLSB IA64 Graphics Libraries
-Requires: libatk-1.0.so.0()(64bit)
-Requires: libgdk-x11-2.0.so.0()(64bit)
-Requires: libgdk_pixbuf-2.0.so.0()(64bit)
-Requires: libgdk_pixbuf_xlib-2.0.so.0()(64bit)
-Requires: libglib-2.0.so.0()(64bit)
-Requires: libgmodule-2.0.so.0()(64bit)
-Requires: libgobject-2.0.so.0()(64bit)
-Requires: libgthread-2.0.so.0()(64bit)
-Requires: libgtk-x11-2.0.so.0()(64bit)
-Requires: libpango-1.0.so.0()(64bit)
-Requires: libpangocairo-1.0.so.0()(64bit)
-Requires: libpangoft2-1.0.so.0()(64bit)
-Requires: libpangoxft-1.0.so.0()(64bit)
-Requires: libqt-mt.so.3()(64bit)
-Requires: libQtCore.so.4()(64bit)
-Requires: libQtGui.so.4()(64bit)
-Requires: libQtNetwork.so.4()(64bit)
-Requires: libQtOpenGL.so.4()(64bit)
-Requires: libQtSql.so.4()(64bit)
-Requires: libQtSvg.so.4()(64bit)
-Requires: libQtXml.so.4()(64bit)
-%endif
+%description perl
+The Linux Standard Base (LSB) Runtime Language Specifications define Perl
+modules that are required to be present on an LSB conforming system.

-%ifarch ppc
-# archLSB PPC32 Graphics Libraries
-Requires: libatk-1.0.so.0
-Requires: libgdk-x11-2.0.so.0
-Requires: libgdk_pixbuf-2.0.so.0
-Requires: libgdk_pixbuf_xlib-2.0.so.0
-Requires: libglib-2.0.so.0
-Requires: libgmodule-2.0.so.0
-Requires: libgobject-2.0.so.0
-Requires: libgthread-2.0.so.0
-Requires: libgtk-x11-2.0.so.0
-Requires: libpango-1.0.so.0
-Requires: libpangocairo-1.0.so.0
-Requires: libpangoft2-1.0.so.0
-Requires: libpangoxft-1.0.so.0
-Requires: libqt-mt.so.3
-Requires: libQtCore.so.4
-Requires: libQtGui.so.4
-Requires: libQtNetwork.so.4
-Requires: libQtOpenGL.so.4
-Requires: libQtSql.so.4
-Requires: libQtSvg.so.4
-Requires: libQtXml.so.4
-%endif
+%package python
+Group: System Environment/Base
+Summary: LSB interpreted language python support for Red Hat Enterprise Linux

-%ifarch ppc64
-# archLSB PPC64 Graphics Libraries
-Requires: libatk-1.0.so.0()(64bit)
-Requires: libgdk-x11-2.0.so.0()(64bit)
-Requires: libgdk_pixbuf-2.0.so.0()(64bit)
-Requires: libgdk_pixbuf_xlib-2.0.so.0()(64bit)
-Requires: libglib-2.0.so.0()(64bit)
-Requires: libgmodule-2.0.so.0()(64bit)
-Requires: libgobject-2.0.so.0()(64bit)
-Requires: libgthread-2.0.so.0()(64bit)
-Requires: libgtk-x11-2.0.so.0()(64bit)
-Requires: libpango-1.0.so.0()(64bit)
-Requires: libpangocairo-1.0.so.0()(64bit)
-Requires: libpangoft2-1.0.so.0()(64bit)
-Requires: libpangoxft-1.0.so.0()(64bit)
-Requires: libqt-mt.so.3()(64bit)
-Requires: libQtCore.so.4()(64bit)
-Requires: libQtGui.so.4()(64bit)
-Requires: libQtNetwork.so.4()(64bit)
-Requires: libQtOpenGL.so.4()(64bit)
-Requires: libQtSql.so.4()(64bit)
-Requires: libQtSvg.so.4()(64bit)
-Requires: libQtXml.so.4()(64bit)
-%endif
+# Python modules, all are builtin modules, so only need Python
+# Pls referrence http://docs.python.org/library/
+Requires: python

-%ifarch s390
-# archLSB S390 Graphics Libraries
-Requires: libatk-1.0.so.0
-Requires: libgdk-x11-2.0.so.0
-Requires: libgdk_pixbuf-2.0.so.0
-Requires: libgdk_pixbuf_xlib-2.0.so.0
-Requires: libglib-2.0.so.0
-Requires: libgmodule-2.0.so.0
-Requires: libgobject-2.0.so.0
-Requires: libgthread-2.0.so.0
-Requires: libgtk-x11-2.0.so.0
-Requires: libpango-1.0.so.0
-Requires: libpangocairo-1.0.so.0
-Requires: libpangoft2-1.0.so.0
-Requires: libpangoxft-1.0.so.0
-Requires: libqt-mt.so.3
-Requires: libQtCore.so.4
-Requires: libQtGui.so.4
-Requires: libQtNetwork.so.4
-Requires: libQtOpenGL.so.4
-Requires: libQtSql.so.4
-Requires: libQtSvg.so.4
-Requires: libQtXml.so.4
-%endif
+Requires:       %{name} = %{version}-%{release}

-%ifarch s390x
-# archLSB S390X Graphics Libraries
-Requires: libatk-1.0.so.0()(64bit)
-Requires: libgdk-x11-2.0.so.0()(64bit)
-Requires: libgdk_pixbuf-2.0.so.0()(64bit)
-Requires: libgdk_pixbuf_xlib-2.0.so.0()(64bit)
-Requires: libglib-2.0.so.0()(64bit)
-Requires: libgmodule-2.0.so.0()(64bit)
-Requires: libgobject-2.0.so.0()(64bit)
-Requires: libgthread-2.0.so.0()(64bit)
-Requires: libgtk-x11-2.0.so.0()(64bit)
-Requires: libpango-1.0.so.0()(64bit)
-Requires: libpangocairo-1.0.so.0()(64bit)
-Requires: libpangoft2-1.0.so.0()(64bit)
-Requires: libpangoxft-1.0.so.0()(64bit)
-Requires: libqt-mt.so.3()(64bit)
-Requires: libQtCore.so.4()(64bit)
-Requires: libQtGui.so.4()(64bit)
-Requires: libQtNetwork.so.4()(64bit)
-Requires: libQtOpenGL.so.4()(64bit)
-Requires: libQtSql.so.4()(64bit)
-Requires: libQtSvg.so.4()(64bit)
-Requires: libQtXml.so.4()(64bit)
-%endif
+Provides: lsb-python-%{archname} = %{version}
+Provides: lsb-python-noarch = %{version}

-%ifarch x86_64
-# archLSB AMD64 Graphics Libraries
-Requires: libatk-1.0.so.0()(64bit)
-Requires: libgdk-x11-2.0.so.0()(64bit)
-Requires: libgdk_pixbuf-2.0.so.0()(64bit)
-Requires: libgdk_pixbuf_xlib-2.0.so.0()(64bit)
-Requires: libglib-2.0.so.0()(64bit)
-Requires: libgmodule-2.0.so.0()(64bit)
-Requires: libgobject-2.0.so.0()(64bit)
-Requires: libgthread-2.0.so.0()(64bit)
-Requires: libgtk-x11-2.0.so.0()(64bit)
-Requires: libpango-1.0.so.0()(64bit)
-Requires: libpangocairo-1.0.so.0()(64bit)
-Requires: libpangoft2-1.0.so.0()(64bit)
-Requires: libpangoxft-1.0.so.0()(64bit)
-Requires: libpthread.so.0()(64bit)
-Requires: libqt-mt.so.3()(64bit)
-Requires: libQtCore.so.4()(64bit)
-Requires: libQtGui.so.4()(64bit)
-Requires: libQtNetwork.so.4()(64bit)
-Requires: libQtOpenGL.so.4()(64bit)
-Requires: libQtSql.so.4()(64bit)
-Requires: libQtSvg.so.4()(64bit)
-Requires: libQtXml.so.4()(64bit)
-%endif
+%description python
+The Linux Standard Base (LSB) Runtime Language Specifications define Python
+modules that are required to be present on an LSB conforming system.
+
+%package c++
+Group: System Environment/Base
+Summary: LSB c++ standard library support for Red Hat Enterprise Linux
+
+Requires: libstdc++
+
+Requires:       %{name} = %{version}-%{release}
+
+Provides: lsb-c++-%{archname} = %{version}
+Provides: lsb-c++-noarch = %{version}

-# gLSB Graphics Libraries
-Requires: libasound.so.2%{qual}
-Requires: libatk-1.0.so.0%{qual}
-Requires: libcairo.so.2%{qual}
-Requires: libcrypt.so.1%{qual}
-Requires: libcups.so.2%{qual}
-Requires: libcupsimage.so.2%{qual}
-Requires: libfontconfig.so.1%{qual}
-Requires: libfreetype.so.6%{qual}
-Requires: libgdk-x11-2.0.so.0%{qual}
-Requires: libgdk_pixbuf-2.0.so.0%{qual}
-Requires: libgdk_pixbuf_xlib-2.0.so.0%{qual}
-Requires: libGL.so.1%{qual}
-Requires: libglib-2.0.so.0%{qual}
-Requires: libGLU.so.1%{qual}
-Requires: libgmodule-2.0.so.0%{qual}
-Requires: libgobject-2.0.so.0%{qual}
-Requires: libgthread-2.0.so.0%{qual}
-Requires: libgtk-x11-2.0.so.0%{qual}
-Requires: libICE.so.6%{qual}
-Requires: libjpeg.so.62%{qual}
-Requires: libpango-1.0.so.0%{qual}
-Requires: libpangocairo-1.0.so.0%{qual}
-Requires: libpangoft2-1.0.so.0%{qual}
-Requires: libpangoxft-1.0.so.0%{qual}
-Requires: libpng12.so.0%{qual}
-Requires: libqt-mt.so.3%{qual}
-Requires: libQtCore.so.4%{qual}
-Requires: libQtGui.so.4%{qual}
-Requires: libQtNetwork.so.4%{qual}
-Requires: libQtOpenGL.so.4%{qual}
-Requires: libQtSql.so.4%{qual}
-Requires: libQtSvg.so.4%{qual}
-Requires: libQtXml.so.4%{qual}
-Requires: libSM.so.6%{qual}
-Requires: libX11.so.6%{qual}
-Requires: libXext.so.6%{qual}
-Requires: libXft.so.2%{qual}
-Requires: libXi.so.6%{qual}
-Requires: libxml2.so.2%{qual}
-Requires: libXrender.so.1%{qual}
-Requires: libXt.so.6%{qual}
-Requires: libXtst.so.6%{qual}
+%description c++
+The Linux Standard Base (LSB) C++ Specifications define c++ libraries that
+are required to be present on an LSB conforming system.
+
+%package toolkit-gtk
+Group: System Environment/Base
+Summary: LSB gtk support for Red Hat Enterprise Linux
+
+Requires: atk
+Requires: gdk-pixbuf2
+Requires: glib2
+Requires: gtk2
+Requires: pango
+
+Requires:       %{name} = %{version}-%{release}
+
+Provides: lsb-tookit-gtk-%{archname} = %{version}
+Provides: lsb-tookit-gtk-noarch = %{version}
+%description toolkit-gtk
+The Linux Standard Base (LSB) Desktop Specifications define gtk libraries
+and utilities that are required to be present on an LSB conforming system.
+
+%package toolkit-qt
+Group: System Environment/Base
+Summary: LSB qt support for Red Hat Enterprise Linux
+
+Requires: qt
+Requires: qt-x11
+Requires: qt3
+
+Requires:       %{name} = %{version}-%{release}
+
+Provides: lsb-tookit-qt-%{archname} = %{version}
+Provides: lsb-tookit-qt-noarch = %{version}
+%description toolkit-qt
+The Linux Standard Base (LSB) Desktop Specifications define qt libraries
+and utilities that are required to be present on an LSB conforming system.
+
+%package xml
+Group: System Environment/Base
+Summary: LSB XML support for Red Hat Enterprise Linux
+
+Requires:       %{name} = %{version}-%{release}
+
+Provides: lsb-xml-%{archname} = %{version}
+Provides: lsb-xml-noarch = %{version}
+%description xml
+The Linux Standard Base (LSB) Desktop Specifications define xml libraries
+and utilities that are required to be present on an LSB conforming system.
+
+%package graphics
+Group: System Environment/Base
+Summary: LSB XML libraries support for Red Hat Enterprise Linux
+
+# LSB_Graphics library
+Requires: Glide3-libGL
+Requires: libICE
+Requires: libSM
+Requires: libX11
+Requires: libXext
+Requires: libXi
+Requires: libXt
+Requires: libXtst
+Requires: mesa-libGL
+Requires: mesa-libGLU
+
+# LSB_Graphics_Ext library
+Requires: cairo
+Requires: fontconfig
+Requires: freetype
+Requires: libjpeg-turbo
+Requires: libpng
+Requires: libXft
+Requires: libXrender

 # gLSB Graphics Command and Utilities
-Requires: /usr/bin/fc-cache
-Requires: /usr/bin/fc-list
-Requires: /usr/bin/fc-match
+Requires: fontconfig

 #for directory ownership
 Requires:       %{name} = %{version}-%{release}
@@ -593,22 +240,21 @@
 Provides: lsb-graphics-noarch = %{version}

 %description graphics
-The Linux Standard Base (LSB) Graphics Specifications define components that
are required
- to be present on an LSB conforming system.
+The Linux Standard Base (LSB) Desktop Specifications define graphic
+components that are required to be present on an LSB conforming
+system.
+

 %package printing
 Group: System Environment/Base
 Summary: LSB printing libraries support for Red Hat Enterprise Linux

 # gLSB Printing Libraries
-Requires: libcups.so.2%{qual}
-Requires: libcupsimage.so.2%{qual}
+Requires: cups-libs

 # gLSB Printing Command and Utilities
-Requires: /usr/bin/foomatic-rip
-Requires: /usr/bin/gs
-Requires: /usr/bin/lp
-Requires: /usr/bin/lpr
+Requires: foomatic-filters
+Requires: ghostscript

 #for directory ownership
 Requires:       %{name} = %{version}-%{release}
@@ -620,6 +266,52 @@
 The Linux Standard Base (LSB) Printing Specifications define components that
are required
  to be present on an LSB conforming system.

+%package multimedia
+Group: System Environment/Base
+Summary: LSB multimedia support for Red Hat Enterprise Linux
+
+Requires: alsa-lib
+
+Requires:       %{name} = %{version}-%{release}
+
+Provides: lsb-multimedia-%{archname} = %{version}
+Provides: lsb-multimedia-noarch = %{version}
+%description multimedia
+The Linux Standard Base (LSB) Multimedia Specifications define multimedia
+libraries and utilities that are required to be present on an LSB 
+conforming system.
+
+%package security
+Group: System Environment/Base
+Summary: LSB security library support for Red Hat Enterprise Linux
+
+Requires: nspr
+# Requires: nspr-devel
+Requires: nss
+
+Requires:       %{name} = %{version}-%{release}
+
+Provides: lsb-security-%{archname} = %{version}
+Provides: lsb-security-noarch = %{version}
+%description security
+The Linux Standard Base (LSB) Core Specifications define security libraries
+and utilities that are required to be present on an LSB conforming system.
+
+%package desktop-misc
+Group: System Environment/Base
+Summary: LSB desktop misc library and utilities support for Red Hat Enterprise
Linux
+
+Requires: xdg-utils
+
+Requires:       %{name} = %{version}-%{release}
+
+Provides: lsb-desktop-misc-%{archname} = %{version}
+Provides: lsb-desktop-misc-noarch = %{version}
+%description desktop-misc
+The Linux Standard Base (LSB) Desktop Specifications define desktop
+miscellaneous libraries and utilities that are required to be present
+on an LSB conforming system.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -645,19 +337,24 @@
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} $RPM_BUILD_ROOT/%{_lib}
$RPM_BUILD_ROOT%{_mandir} \
          $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT/usr/lib/lsb \
          $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/
$RPM_BUILD_ROOT%{_sbindir}
+
+# manually add Locale::Constants. This module is just an alias of
Locale::Codes::Constants
+mkdir -p $RPM_BUILD_ROOT%{perl_vendorlib}/Locale
+cp -p Constants.pm $RPM_BUILD_ROOT%{perl_vendorlib}/Locale
+cp -p Constants.pod $RPM_BUILD_ROOT%{perl_vendorlib}/Locale
+
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 cd lsb-release-%{upstreamlsbrelver}
 make mandir=$RPM_BUILD_ROOT/%{_mandir} prefix=$RPM_BUILD_ROOT/%{_prefix}
install
 cd ..
-touch $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/core-4.0-%{archname}
-touch $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/core-4.0-noarch
-touch $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/graphics-4.0-%{archname}
-touch $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/graphics-4.0-noarch
-touch $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/printing-4.0-%{archname}
-touch $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/printing-4.0-noarch
+for name in core perl python c++ toolkit-gtk toolkit-qt xml multimedia
security \
+    desktop-misc graphics printing;do
+  touch
$RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/${name}-%{lsbrelver}-%{archname}
+  touch
$RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/${name}-%{lsbrelver}-noarch
+done

 for LSBVER in %{lsbsover}; do
-  ln -s %{ldso} $RPM_BUILD_ROOT/%{_lib}/%{lsbldso}.$LSBVER
+  ln -snf %{ldso} $RPM_BUILD_ROOT/%{_lib}/%{lsbldso}.$LSBVER
 done

 mkdir -p $RPM_BUILD_ROOT/bin
@@ -722,12 +419,41 @@
 %{_mandir}/*/*
 %{_bindir}/*
 #/bin/mailx
-/bin/redhat_lsb_init
+%attr(0755, root, root)/bin/redhat_lsb_init
 /usr/lib/lsb
 /%{_lib}/*so*
 /lib/lsb*
 %{_sbindir}/redhat_lsb_trigger.%{_target_cpu}

+%files perl
+%{_sysconfdir}/lsb-release.d/perl*
+%{perl_vendorlib}/Locale/Constants.pm
+%{perl_vendorlib}/Locale/Constants.pod
+
+%files python
+%{_sysconfdir}/lsb-release.d/python*
+
+%files c++
+%{_sysconfdir}/lsb-release.d/c++*
+
+%files toolkit-gtk
+%{_sysconfdir}/lsb-release.d/toolkit-gtk*
+
+%files toolkit-qt
+%{_sysconfdir}/lsb-release.d/toolkit-qt*
+
+%files xml
+%{_sysconfdir}/lsb-release.d/xml*
+
+%files multimedia
+%{_sysconfdir}/lsb-release.d/multimedia*
+
+%files security
+%{_sysconfdir}/lsb-release.d/security*
+
+%files desktop-misc
+%{_sysconfdir}/lsb-release.d/desktop-misc*
+
 %files graphics
 %{_sysconfdir}/lsb-release.d/graphics*

@@ -736,6 +462,12 @@


 %changelog
+* Mon Mar 05 2012 xning <xning AT redhat DOT com> - 4.1-1
+- Update to LSB 4.1 for x86 and x86-64
+- Update "Requires:" tag from file path or library .so name to
+  package name to simplify spec file
+- one LSB submodule, one rpm package, except Graphics and qt libraries.
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx>
- 4.0-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

@@ -959,4 +691,3 @@

 * Thu Jan 24 2002 Matt Wilson <msw@xxxxxxxxxx>
 - Initial build.
-

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]