Lawrence Lim 1491877
# Define this to link to which library version  eg. /lib64/ld-lsb-x86-64.so.3
Lawrence Lim dfb27f5
%define lsbsover 3 
Leon Ho da87546
cvsdist e99666c
%ifarch %{ix86}
cvsdist e99666c
%define ldso ld-linux.so.2
Leon Ho da87546
%define lsbldso ld-lsb.so
cvsdist e99666c
%endif
cvsdist e99666c
cvsdist 9fc0d79
%ifarch ia64
cvsdist e99666c
%define ldso ld-linux-ia64.so.2
Leon Ho da87546
%define lsbldso ld-lsb-ia64.so
cvsdist 9fc0d79
%endif
cvsdist 9fc0d79
cvsdist 9fc0d79
%ifarch ppc
cvsdist 9fc0d79
%define ldso ld.so.1
Leon Ho da87546
%define lsbldso ld-lsb-ppc32.so
cvsdist 9fc0d79
%endif
cvsdist 9fc0d79
cvsdist 9fc0d79
%ifarch ppc64
cvsdist 9fc0d79
%define ldso ld64.so.1
Leon Ho da87546
%define lsbldso ld-lsb-ppc64.so
cvsdist 9fc0d79
%endif
cvsdist 9fc0d79
cvsdist 9fc0d79
%ifarch s390
cvsdist 9fc0d79
%define ldso ld.so.1
Leon Ho da87546
%define lsbldso ld-lsb-s390.so
cvsdist 9fc0d79
%endif
cvsdist 9fc0d79
cvsdist 9fc0d79
%ifarch s390x
cvsdist 9fc0d79
%define ldso ld64.so.1
Leon Ho da87546
%define lsbldso ld-lsb-s390x.so
cvsdist 9fc0d79
%endif
cvsdist 9fc0d79
cvsdist 9fc0d79
%ifarch x86_64
cvsdist 9fc0d79
%define ldso ld-linux-x86-64.so.2
Leon Ho da87546
%define lsbldso ld-lsb-x86-64.so
cvsdist 9fc0d79
%endif
cvsdist 9fc0d79
Lawrence Lim 48af245
%define upstreamlsbrelver 2.0
4d8d159
%define lsbrelver 4.1
Hao Liu c46ad3c
%define srcrelease 1
cvsdist e99666c
4d8d159
Summary: Implementation of Linux Standard Base specification
cvsdist e99666c
Name: redhat-lsb
4d8d159
Version: 4.1
c36b097
Release: 7%{?dist}
134fc67
URL: http://www.linuxfoundation.org/collaborate/workgroups/lsb
4d8d159
Source0: https://fedorahosted.org/releases/r/e/redhat-lsb/%{name}-%{version}-%{srcrelease}.tar.bz2
Hao Liu f3cac3d
Patch0: lsb-release-3.1-update-init-functions.patch
fc95d68
Patch1: redhat-lsb-lsb_start_daemon-fix.patch
3618b39
Patch2: redhat-lsb-trigger.patch
290d7c0
Patch3: redhat-lsb-arm.patch
f60f4e6
License: GPLv2
cvsdist e99666c
Group: System Environment/Base
39c62e6
BuildRequires: glibc-static
4d8d159
Leon Ho da87546
%ifarch %{ix86}
Leon Ho 3ba56c0
%define archname ia32
Leon Ho da87546
%endif
Leon Ho da87546
%ifarch ia64
Leon Ho 3ba56c0
%define archname ia64
Leon Ho da87546
%endif
Leon Ho da87546
%ifarch ppc
Leon Ho 3ba56c0
%define archname ppc32
Leon Ho da87546
%endif
Leon Ho da87546
%ifarch ppc64
Leon Ho 3ba56c0
%define archname ppc64
Leon Ho da87546
%endif
Leon Ho da87546
%ifarch s390
Leon Ho 3ba56c0
%define archname s390
Leon Ho da87546
%endif
Leon Ho da87546
%ifarch s390x
Leon Ho 3ba56c0
%define archname s390x
Leon Ho da87546
%endif
Leon Ho da87546
%ifarch x86_64
Leon Ho 3ba56c0
%define archname amd64
Leon Ho da87546
%endif
Leon Ho da87546
290d7c0
ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x %{arm}
cvsdist e99666c
4d8d159
Requires: redhat-lsb-core%{?_isa} = %{version}
4d8d159
Requires: redhat-lsb-cxx%{?_isa} = %{version}
4d8d159
Requires: redhat-lsb-desktop%{?_isa} = %{version}
4d8d159
Requires: redhat-lsb-languages = %{version}
4d8d159
Requires: redhat-lsb-printing = %{version}
4d8d159
#Requires: redhat-lsb-trialuse = %{version}
cvsdist e99666c
4d8d159
Provides: lsb = %{version}
4d8d159
Provides: lsb-%{archname} = %{version}
4d8d159
Provides: lsb-noarch = %{version}
cvsdist 9fc0d79
4d8d159
%description
4d8d159
The Linux Standard Base (LSB) is an attempt to develop a set of standards that
4d8d159
will increase compatibility among Linux distributions. It is designed to be 
4d8d159
binary-compatible and produce a stable application binary interface (ABI) for
4d8d159
independent software vendors.
4d8d159
The lsb package provides utilities, libraries etc. needed for LSB Compliant 
4d8d159
Applications. It also contains requirements that will ensure that all 
4d8d159
components required by the LSB are installed on the system.
4d8d159
4d8d159
%package submod-security
4d8d159
Group: System Environment/Base
4d8d159
Summary: LSB Security submodule support
4d8d159
Requires: nspr%{?_isa}
4d8d159
# Requires: nspr-devel
4d8d159
Requires: nss%{?_isa}
cvsdist 9fc0d79
4d8d159
Provides: lsb-submod-security-%{archname} = %{version}
4d8d159
Provides: lsb-submod-security-noarch = %{version}
cvsdist 9fc0d79
4d8d159
%description submod-security
4d8d159
The Linux Standard Base (LSB) Security submodule specifications define 
4d8d159
components that are required to be present on an LSB conforming system.
cvsdist e99666c
4d8d159
%package submod-multimedia
4d8d159
Group: System Environment/Base
4d8d159
Summary: LSB Multimedia submodule support
4d8d159
Requires: alsa-lib%{?_isa}
cvsdist 9fc0d79
4d8d159
Provides: lsb-submod-multimedia-%{archname} = %{version}
4d8d159
Provides: lsb-submod-multimedia-noarch = %{version}
cvsdist 9fc0d79
4d8d159
%description submod-multimedia
4d8d159
The Linux Standard Base (LSB) Multimedia submodule specifications define 
4d8d159
components that are required to be present on an LSB conforming system.
4d8d159
4d8d159
%package core
4d8d159
Group: System Environment/Base
4d8d159
Summary: LSB Core module support
4d8d159
# gLSB Library
4d8d159
Requires: glibc%{?_isa}
adeb067
Requires: glibc-common
4d8d159
Requires: libgcc%{?_isa}
4d8d159
Requires: ncurses-libs%{?_isa}
4d8d159
Requires: pam%{?_isa}
4d8d159
Requires: zlib%{?_isa}
cvsdist e99666c
cvsdist e99666c
# gLSB Command and Utilities
cvsdist e99666c
Requires: /bin/basename
cvsdist e99666c
Requires: /bin/cat
cvsdist e99666c
Requires: /bin/chgrp
cvsdist e99666c
Requires: /bin/chmod
cvsdist e99666c
Requires: /bin/chown
cvsdist e99666c
Requires: /bin/cp
cvsdist e99666c
Requires: /bin/cpio
cvsdist e99666c
Requires: /bin/date
cvsdist e99666c
Requires: /bin/dd
cvsdist e99666c
Requires: /bin/df
cvsdist bdb182f
Requires: /bin/dmesg
cvsdist e99666c
Requires: /bin/echo
Leon Ho 3ba56c0
Requires: /bin/ed
cvsdist e99666c
Requires: /bin/egrep
cvsdist e99666c
Requires: /bin/false
cvsdist e99666c
Requires: /bin/fgrep
Lawrence Lim 292edb7
Requires: /bin/find
cvsdist e99666c
Requires: /bin/grep
Lawrence Lim 1491877
Requires: /bin/gunzip
Lawrence Lim 1491877
Requires: /bin/gzip
cvsdist e99666c
Requires: /bin/hostname
Lawrence Lim 1491877
Requires: /bin/kill
cvsdist e99666c
Requires: /bin/ln
cvsdist e99666c
Requires: /bin/ls
Lawrence Lim 292edb7
Requires: /bin/mailx
cvsdist e99666c
Requires: /bin/mkdir
cvsdist e99666c
Requires: /bin/mknod
cvsdist e99666c
Requires: /bin/mktemp
cvsdist e99666c
Requires: /bin/more
cvsdist e99666c
Requires: /bin/mount
cvsdist e99666c
Requires: /bin/mv
cvsdist e99666c
Requires: /bin/nice
cvsdist e99666c
Requires: /bin/ps
cvsdist e99666c
Requires: /bin/pwd
cvsdist e99666c
Requires: /bin/rm
cvsdist e99666c
Requires: /bin/rmdir
cvsdist e99666c
Requires: /bin/sed
cvsdist e99666c
Requires: /bin/sh
cvsdist e99666c
Requires: /bin/sleep
cvsdist e99666c
Requires: /bin/sort
cvsdist e99666c
Requires: /bin/stty
cvsdist e99666c
Requires: /bin/sync
cvsdist e99666c
Requires: /bin/tar
cvsdist e99666c
Requires: /bin/touch
cvsdist e99666c
Requires: /bin/true
cvsdist e99666c
Requires: /bin/umount
cvsdist e99666c
Requires: /bin/uname
Hao Liu c46ad3c
Requires: /bin/zcat
cvsdist e99666c
Requires: /sbin/fuser
cvsdist e99666c
Requires: /sbin/pidof
cvsdist bdb182f
Requires: /sbin/shutdown
cvsdist bdb182f
Requires: /usr/bin/[
cvsdist e99666c
Requires: /usr/bin/ar
cvsdist e99666c
Requires: /usr/bin/at
4d8d159
Requires: /usr/bin/awk
cvsdist e99666c
Requires: /usr/bin/batch
cvsdist e99666c
Requires: /usr/bin/bc
cvsdist e99666c
Requires: /usr/bin/chfn
cvsdist e99666c
Requires: /usr/bin/chsh
cvsdist e99666c
Requires: /usr/bin/cksum
cvsdist e99666c
Requires: /usr/bin/cmp
cvsdist e99666c
Requires: /usr/bin/col
cvsdist e99666c
Requires: /usr/bin/comm
cvsdist e99666c
Requires: /usr/bin/crontab
cvsdist e99666c
Requires: /usr/bin/csplit
4d8d159
Requires: /usr/bin/cut
cvsdist e99666c
Requires: /usr/bin/diff
cvsdist e99666c
Requires: /usr/bin/dirname
cvsdist e99666c
Requires: /usr/bin/du
4d8d159
Requires: /usr/bin/env
cvsdist e99666c
Requires: /usr/bin/expand
cvsdist e99666c
Requires: /usr/bin/expr
cvsdist e99666c
Requires: /usr/bin/file
4d8d159
Requires: /usr/bin/find
cvsdist e99666c
Requires: /usr/bin/fold
cvsdist e99666c
Requires: /usr/bin/gencat
cvsdist e99666c
Requires: /usr/bin/getconf
4d8d159
Requires: /usr/bin/gettext
cvsdist e99666c
Requires: /usr/bin/groups
cvsdist e99666c
Requires: /usr/bin/head
cvsdist e99666c
Requires: /usr/bin/iconv
cvsdist e99666c
Requires: /usr/bin/id
cvsdist e99666c
Requires: /usr/bin/install
cvsdist e99666c
Requires: /usr/bin/ipcrm
cvsdist e99666c
Requires: /usr/bin/ipcs
cvsdist e99666c
Requires: /usr/bin/join
cvsdist e99666c
Requires: /usr/bin/killall
cvsdist e99666c
Requires: /usr/bin/locale
cvsdist e99666c
Requires: /usr/bin/localedef
Leon Ho 3ba56c0
Requires: /usr/bin/logger
cvsdist e99666c
Requires: /usr/bin/logname
4d8d159
Requires: /usr/bin/lp
4d8d159
Requires: /usr/bin/lpr
cvsdist e99666c
Requires: /usr/bin/m4
cvsdist e99666c
Requires: /usr/bin/make
cvsdist e99666c
Requires: /usr/bin/man
cvsdist e99666c
Requires: /usr/bin/md5sum
cvsdist e99666c
Requires: /usr/bin/mkfifo
cvsdist bdb182f
Requires: /usr/bin/msgfmt
cvsdist e99666c
Requires: /usr/bin/newgrp
cvsdist e99666c
Requires: /usr/bin/nl
cvsdist e99666c
Requires: /usr/bin/nohup
cvsdist e99666c
Requires: /usr/bin/od
cvsdist e99666c
Requires: /usr/bin/passwd
cvsdist e99666c
Requires: /usr/bin/paste
cvsdist e99666c
Requires: /usr/bin/patch
cvsdist e99666c
Requires: /usr/bin/pathchk
Leon Ho 3ba56c0
Requires: /usr/bin/pax
cvsdist e99666c
Requires: /usr/bin/pr
cvsdist e99666c
Requires: /usr/bin/printf
cvsdist e99666c
Requires: /usr/bin/renice
Lawrence Lim 292edb7
Requires: /usr/bin/seq
cvsdist e99666c
Requires: /usr/bin/split
4d8d159
Requires: /usr/bin/strings
cvsdist e99666c
Requires: /usr/bin/strip
e9fbb7c
Requires: /usr/bin/su
cvsdist e99666c
Requires: /usr/bin/tail
cvsdist e99666c
Requires: /usr/bin/tee
cvsdist e99666c
Requires: /usr/bin/test
cvsdist e99666c
Requires: /usr/bin/time
cvsdist e99666c
Requires: /usr/bin/tr
cvsdist e99666c
Requires: /usr/bin/tsort
cvsdist e99666c
Requires: /usr/bin/tty
cvsdist e99666c
Requires: /usr/bin/unexpand
cvsdist e99666c
Requires: /usr/bin/uniq
cvsdist e99666c
Requires: /usr/bin/wc
cvsdist e99666c
Requires: /usr/bin/xargs
cvsdist e99666c
Requires: /usr/sbin/groupadd
cvsdist e99666c
Requires: /usr/sbin/groupdel
cvsdist e99666c
Requires: /usr/sbin/groupmod
cvsdist e99666c
Requires: /usr/sbin/useradd
cvsdist e99666c
Requires: /usr/sbin/userdel
cvsdist e99666c
Requires: /usr/sbin/usermod
4d8d159
Requires: redhat-lsb-submod-security%{?_isa} = %{version}
cvsdist e99666c
4d8d159
Provides: lsb-core-%{archname} = %{version}
4d8d159
Provides: lsb-core-noarch = %{version}
d9bd2fe
#Obsoletes: redhat-lsb < %{version}
Lawrence Lim a8a0434
4d8d159
%description core
4d8d159
The Linux Standard Base (LSB) Core module support provides the fundamental
4d8d159
system interfaces, libraries, and runtime environment upon which all conforming
4d8d159
applications and libraries depend.
Lawrence Lim a8a0434
4d8d159
%package cxx
4d8d159
Group: System Environment/Base
4d8d159
Summary: LSB CXX module support
4d8d159
Requires: libstdc++%{?_isa}
4d8d159
Requires: redhat-lsb-core%{?_isa} = %{version}
Lawrence Lim a8a0434
4d8d159
Provides: lsb-cxx-%{archname} = %{version}
4d8d159
Provides: lsb-cxx-noarch = %{version}
Lawrence Lim a8a0434
4d8d159
%description cxx
4d8d159
The Linux Standard Base (LSB) CXX module supports the core interfaces by
4d8d159
providing system interfaces, libraries, and a runtime environment for 
4d8d159
applications built using the C++ programming language. These interfaces 
4d8d159
provide low-level support for the core constructs of the language, and 
4d8d159
implement the standard base C++ libraries.
Lawrence Lim a8a0434
4d8d159
%package desktop
4d8d159
Group: System Environment/Base
4d8d159
Summary: LSB Desktop module support
4d8d159
Requires: xdg-utils
4d8d159
# LSB_Graphics library
4d8d159
Requires: libICE%{?_isa}
4d8d159
Requires: libSM%{?_isa}
4d8d159
Requires: libX11%{?_isa}
4d8d159
Requires: libXext%{?_isa}
4d8d159
Requires: libXi%{?_isa}
4d8d159
Requires: libXt%{?_isa}
4d8d159
Requires: libXtst%{?_isa}
4d8d159
Requires: mesa-libGL%{?_isa}
4d8d159
Requires: mesa-libGLU%{?_isa}
4d8d159
# gLSB Graphics and gLSB Graphics Ext Command and Utilities
Lawrence Lim a8a0434
Requires: /usr/bin/fc-cache
Lawrence Lim a8a0434
Requires: /usr/bin/fc-list
Lawrence Lim a8a0434
Requires: /usr/bin/fc-match
4d8d159
# gLSB Graphics Ext library
4d8d159
Requires: cairo%{?_isa}
4d8d159
Requires: freetype%{?_isa}
4d8d159
Requires: libjpeg-turbo%{?_isa}
b974bc4
b974bc4
%ifarch %{ix86}
b974bc4
Requires: libpng12.so.0
b974bc4
%endif
b974bc4
%ifarch x86_64
b974bc4
Requires: libpng12.so.0()(64bit)
b974bc4
%endif
4d8d159
Requires: libpng%{?_isa}
4d8d159
Requires: libXft%{?_isa}
4d8d159
Requires: libXrender%{?_isa}
4d8d159
# toolkit-gtk
4d8d159
Requires: atk%{?_isa}
4d8d159
Requires: gdk-pixbuf2%{?_isa}
4d8d159
Requires: glib2%{?_isa}
4d8d159
Requires: gtk2%{?_isa}
4d8d159
Requires: pango%{?_isa}
4d8d159
# toolkit-qt
4d8d159
Requires: qt%{?_isa}
4d8d159
Requires: qt-x11%{?_isa}
4d8d159
# toolkit-qt3
4d8d159
Requires: qt3%{?_isa}
4d8d159
# xml
4d8d159
Requires: libxml2%{?_isa}
4d8d159
Requires: redhat-lsb-submod-multimedia%{?_isa} = %{version}
4d8d159
Requires: redhat-lsb-core%{?_isa} = %{version}
4d8d159
4d8d159
Provides: lsb-desktop-%{archname} = %{version}
4d8d159
Provides: lsb-desktop-noarch = %{version}
15a5176
Provides: lsb-graphics-%{archname} = %{version}
15a5176
Provides: lsb-graphics-noarch = %{version}
4d8d159
Obsoletes: redhat-lsb-graphics < %{version}
Lawrence Lim a8a0434
4d8d159
%description desktop
4d8d159
The Linux Standard Base (LSB) Desktop Specifications define components that are
4d8d159
required to be present on an LSB conforming system.
Lawrence Lim a8a0434
4d8d159
%package languages
Lawrence Lim a8a0434
Group: System Environment/Base
4d8d159
Summary: LSB Languages module support
4d8d159
# Perl and Perl non-builtin modules
4d8d159
Requires: /usr/bin/perl
4d8d159
Requires: perl(CGI)
4d8d159
Requires: perl(Class::ISA)
4d8d159
Requires: perl(CPAN)
4d8d159
# Locale::Constants has been Locale::Codes::Costants, so we need
4d8d159
# create a /usr/share/perl5/vendor_perl/Constants.pm manually.
4d8d159
# Requires: perl(Locale::Constants)
4d8d159
# perl(Locale::Constants) requires perl(Locale::Codes)
4d8d159
# DB module is a builtin module, but perl package doesn't contain this provide.
4d8d159
# Requires: perl(DB)
4d8d159
# we also need perl(Pod::Plainer), we need to rpm this package ourself
4d8d159
Requires: perl(Locale::Codes)
4d8d159
Requires: perl(File::Spec)
4d8d159
Requires: perl(Scalar::Util)
4d8d159
Requires: perl(Test::Harness)
4d8d159
Requires: perl(Test::Simple)
4d8d159
Requires: perl(ExtUtils::MakeMaker)
b974bc4
Requires: perl(Pod::Plainer)
1f2021f
Requires: perl(XML::LibXML)
b974bc4
4d8d159
# python
4d8d159
Requires: /usr/bin/python
4d8d159
# java
4d8d159
Requires: redhat-lsb-core%{?_isa} = %{version}
Lawrence Lim a8a0434
4d8d159
Provides: lsb-languages-%{archname} = %{version}
4d8d159
Provides: lsb-languages-noarch = %{version}
4d8d159
4d8d159
%description languages
4d8d159
The Linux Standard Base (LSB) Languages module supports components for runtime
4d8d159
languages which are found on an LSB conforming system.
Lawrence Lim a8a0434
4d8d159
%package printing
4d8d159
Group: System Environment/Base
4d8d159
Summary: LSB Printing module support
4d8d159
# gLSB Printing Libraries
4d8d159
Requires: cups-libs
Lawrence Lim a8a0434
# gLSB Printing Command and Utilities
Lawrence Lim a8a0434
Requires: /usr/bin/foomatic-rip
Lawrence Lim a8a0434
Requires: /usr/bin/gs
4d8d159
Requires: redhat-lsb-core%{?_isa} = %{version}
e7eea08
15a5176
Provides: lsb-printing-%{archname} = %{version}
15a5176
Provides: lsb-printing-noarch = %{version}
4d8d159
Obsoletes: redhat-lsb-printing < %{version}
15a5176
15a5176
%description printing
4d8d159
The Linux Standard Base (LSB) Printing specifications define components that 
4d8d159
are required to be present on an LSB conforming system.
4d8d159
4d8d159
%package trialuse
4d8d159
Group: System Environment/Base
4d8d159
Summary: LSB Trialuse module support
4d8d159
Requires: redhat-lsb-submod-multimedia%{?_isa} = %{version}
4d8d159
Requires: redhat-lsb-submod-security%{?_isa} = %{version}
4d8d159
Requires: redhat-lsb-core%{?_isa} = %{version}
4d8d159
4d8d159
Provides: lsb-trialuse-%{archname} = %{version}
4d8d159
Provides: lsb-trialuse-noarch = %{version}
4d8d159
4d8d159
%description trialuse
4d8d159
The Linux Standard Base (LSB) Trialuse module support defines components
4d8d159
which are not required parts of the LSB Specification.
Lawrence Lim a8a0434
c36b097
%package supplemental
c36b097
Group: System Environment/Base
c36b097
Summary: LSB supplemental dependencies required by LSB certification tests
c36b097
Requires: net-tools
1f2021f
Requires: xorg-x11-fonts-ISO8859-1-75dpi
1f2021f
Requires: xorg-x11-fonts-ISO8859-1-100dpi
c36b097
c36b097
%description supplemental
c36b097
This subpackage brings in supplemental dependencies for components required for
c36b097
passing LSB (Linux Standard Base) certification testsuite, but not directly required
c36b097
to be on LSB conforming system.
c36b097
cvsdist e99666c
%prep
Hao Liu f3cac3d
%setup -q
Hao Liu f3cac3d
%patch0 -p1
fc95d68
%patch1 -p1
3618b39
%patch2 -p0 -b .triggerfix
290d7c0
%patch3 -p1 -b .arm
cvsdist e99666c
cvsdist e99666c
%build
Lawrence Lim 48af245
cd lsb-release-%{upstreamlsbrelver}
cvsdist e99666c
make
cvsdist e99666c
Hao Liu c46ad3c
%pre
Hao Liu c46ad3c
# remove the extra symlink /bin/mailx -> /bin/mail
Lawrence Lim 292edb7
if [ -e /bin/mailx ]; then
Lawrence Lim 292edb7
   if [ -L /bin/mailx ]; then
Lawrence Lim 292edb7
     rm -f /bin/mailx
Lawrence Lim 292edb7
   fi 
Lawrence Lim 292edb7
fi
Lawrence Lim 292edb7
cvsdist e99666c
%install
Hao Liu f3cac3d
# LSB uses /usr/lib rather than /usr/lib64 even for 64bit OS
Lawrence Lim 5a89476
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} $RPM_BUILD_ROOT/%{_lib} $RPM_BUILD_ROOT%{_mandir} \
Hao Liu f3cac3d
         $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT/usr/lib/lsb \
4d8d159
         $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/ $RPM_BUILD_ROOT%{_sbindir} \
4d8d159
         $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}
4d8d159
4d8d159
# manually add Locale::Constants. This module is just an alias of Locale::Codes::Constants
4d8d159
mkdir -p $RPM_BUILD_ROOT%{perl_vendorlib}/Locale
4d8d159
cp -p Constants.pm $RPM_BUILD_ROOT%{perl_vendorlib}/Locale
4d8d159
cp -p Constants.pod $RPM_BUILD_ROOT%{perl_vendorlib}/Locale
4d8d159
e7eea08
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
Lawrence Lim 48af245
cd lsb-release-%{upstreamlsbrelver}
cvsdist e99666c
make mandir=$RPM_BUILD_ROOT/%{_mandir} prefix=$RPM_BUILD_ROOT/%{_prefix} install
cvsdist e99666c
cd ..
4d8d159
# we keep more lsb information in /usr/share/lsb
4d8d159
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules   
4d8d159
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/submodules
4d8d159
4d8d159
# relations between modules and submodules
4d8d159
modules="core cxx desktop languages printing trialuse"
4d8d159
submodules="core perl python cpp toolkit-gtk toolkit-qt toolkit-qt3"
4d8d159
submodules="${submodules} xml multimedia security desktop-misc graphics graphics-ext"
4d8d159
submodules="${submodules} printing"
4d8d159
4d8d159
core="core security"
4d8d159
cxx="cpp"
4d8d159
desktop="desktop-misc graphics graphics-ext multimedia toolkit-gtk toolkit-qt toolkit-qt3"
4d8d159
desktop="${desktop} xml"
4d8d159
languages="perl python"
4d8d159
printing="printing"
4d8d159
trialuse="security multimedia"
4d8d159
4d8d159
for mod in ${modules};do
4d8d159
  touch $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/${mod}-%{lsbrelver}-%{archname}
4d8d159
  touch $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/${mod}-%{lsbrelver}-noarch
4d8d159
done
4d8d159
4d8d159
for submod in ${submodules};do
4d8d159
  touch $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/submodules/${submod}-%{lsbrelver}-%{archname}
4d8d159
  touch $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/submodules/${submod}-%{lsbrelver}-noarch
4d8d159
done
4d8d159
for moddir in ${modules};do
4d8d159
    mkdir -p $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/${moddir}
4d8d159
done
4d8d159
4d8d159
for submod in ${core};do
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/core/${submod}-%{lsbrelver}-%{archname}
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/core/${submod}-%{lsbrelver}-noarch
4d8d159
done
4d8d159
for submod in ${cxx};do
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/cxx/${submod}-%{lsbrelver}-%{archname}
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/cxx/${submod}-%{lsbrelver}-noarch
4d8d159
done
4d8d159
for submod in ${desktop};do
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/desktop/${submod}-%{lsbrelver}-%{archname}
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/desktop/${submod}-%{lsbrelver}-noarch
4d8d159
done
4d8d159
for submod in ${languages};do
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/languages/${submod}-%{lsbrelver}-%{archname}
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/languages/${submod}-%{lsbrelver}-noarch
4d8d159
done
4d8d159
for submod in ${printing};do
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/printing/${submod}-%{lsbrelver}-%{archname}
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/printing/${submod}-%{lsbrelver}-noarch
4d8d159
done
4d8d159
for submod in ${trialuse};do
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/trialuse/${submod}-%{lsbrelver}-%{archname}
4d8d159
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
4d8d159
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/trialuse/${submod}-%{lsbrelver}-noarch
4d8d159
done
cvsdist e99666c
Leon Ho da87546
for LSBVER in %{lsbsover}; do
4d8d159
  ln -snf %{ldso} $RPM_BUILD_ROOT/%{_lib}/%{lsbldso}.$LSBVER
Leon Ho da87546
done
cvsdist e99666c
Leon Ho 3ba56c0
mkdir -p $RPM_BUILD_ROOT/bin
Leon Ho 3ba56c0
Hao Liu f3cac3d
# LSB uses /usr/lib rather than /usr/lib64 even for 64bit OS
Hao Liu f3cac3d
# According to the lsb-core documentation provided by 
Hao Liu f3cac3d
# http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic.pdf
Hao Liu f3cac3d
# it's OK to put non binary in /usr/lib.
Hao Liu f3cac3d
ln -snf ../../../sbin/chkconfig $RPM_BUILD_ROOT/usr/lib/lsb/install_initd
Hao Liu f3cac3d
ln -snf ../../../sbin/chkconfig $RPM_BUILD_ROOT/usr/lib/lsb/remove_initd
Lawrence Lim 292edb7
#ln -snf mail $RPM_BUILD_ROOT/bin/mailx
Hao Liu c46ad3c
Hao Liu c46ad3c
#mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/xserver
Hao Liu c46ad3c
#ln -snf /usr/%{_lib}/xserver/SecurityPolicy $RPM_BUILD_ROOT/usr/X11R6/lib/X11/xserver/SecurityPolicy
Hao Liu c46ad3c
#ln -snf /usr/share/X11/fonts $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts
Hao Liu c46ad3c
#ln -snf /usr/share/X11/rgb.txt  $RPM_BUILD_ROOT/usr/X11R6/lib/X11/rgb.txt
Leon Ho 3ba56c0
Hao Liu f3cac3d
# According to https://bugzilla.redhat.com/show_bug.cgi?id=232918 , the '-static' option
Hao Liu f3cac3d
# is imported against segfault error while running redhat_lsb_trigger
3618b39
gcc $RPM_OPT_FLAGS -Os -static -fno-stack-protector -o redhat_lsb_trigger{.%{_target_cpu},.c} -DLSBSOVER='"%{lsbsover}"' \
Lawrence Lim ba45222
  -DLDSO='"%{ldso}"' -DLSBLDSO='"/%{_lib}/%{lsbldso}"' -D_GNU_SOURCE
4d8d159
install -p -m 700 redhat_lsb_trigger.%{_target_cpu} \
Lawrence Lim 5a89476
  $RPM_BUILD_ROOT%{_sbindir}/redhat_lsb_trigger.%{_target_cpu}
Leon Ho 3ba56c0
Hao Liu f3cac3d
cp -p redhat_lsb_init $RPM_BUILD_ROOT/bin/redhat_lsb_init
Lawrence Lim 236e3b3
Leon Ho 6ef0f14
%triggerpostun -- glibc
Leon Ho 3ba56c0
if [ -x /usr/sbin/redhat_lsb_trigger.%{_target_cpu} ]; then
Leon Ho 3ba56c0
  /usr/sbin/redhat_lsb_trigger.%{_target_cpu}
Leon Ho 3ba56c0
fi
Leon Ho 6ef0f14
Lawrence Lim 1491877
%ifnarch %{ix86}
Lawrence Lim 1491877
  /sbin/sln %{ldso} /%{_lib}/%{lsbldso} || :
Lawrence Lim 1491877
%else
Lawrence Lim 1491877
  if [ -f /emul/ia32-linux/lib/%{ldso} ]; then
Lawrence Lim 1491877
    for LSBVER in %{lsbsover}; do
Lawrence Lim 1491877
      /sbin/sln /emul/ia32-linux/lib/%{ldso} /%{_lib}/%{lsbldso}.$LSBVER || :
Lawrence Lim 1491877
    done
Lawrence Lim 1491877
  else
Lawrence Lim 1491877
    for LSBVER in %{lsbsover}; do
Lawrence Lim 1491877
      /sbin/sln %{ldso} /%{_lib}/%{lsbldso}.$LSBVER || :
Lawrence Lim 1491877
    done
Lawrence Lim 1491877
  fi
Lawrence Lim 1491877
%endif
d9bd2fe
if ! grep -s -q '^hosts: \+files \+dns *$' /etc/nsswitch.conf;then
d9bd2fe
    cat /etc/nsswitch.conf >%{_datadir}/lsb/nsswitch.conf.orig
b974bc4
    ed -s /etc/nsswitch.conf <
b974bc4
/^hosts: \+files \+/s/.*/hosts:      files dns/
b974bc4
w
b974bc4
q
b974bc4
EOF
d9bd2fe
    cat /etc/nsswitch.conf > %{_datadir}/lsb/nsswitch.conf
b974bc4
fi
Lawrence Lim 1491877
Leon Ho 6ef0f14
%post
b974bc4
%ifarch %{ix86}
Leon Ho 6ef0f14
# make this softlink again for /emul
Leon Ho 6ef0f14
  if [ -f /emul/ia32-linux/lib/%{ldso} ]; then
Leon Ho 3ba56c0
    for LSBVER in %{lsbsover}; do
Leon Ho 3ba56c0
      /sbin/sln /emul/ia32-linux/lib/%{ldso} /%{_lib}/%{lsbldso}.$LSBVER || :
Leon Ho 3ba56c0
    done
Leon Ho 6ef0f14
  fi
Leon Ho 6ef0f14
%endif
d9bd2fe
if ! grep -s -q '^hosts: \+files \+dns *$' /etc/nsswitch.conf;then
d9bd2fe
     cat /etc/nsswitch.conf >%{_datadir}/lsb/nsswitch.conf.orig
d9bd2fe
     ed -s /etc/nsswitch.conf <
b974bc4
/^hosts: \+files \+/s/.*/hosts:      files dns/
b974bc4
w
b974bc4
q
b974bc4
EOF
d9bd2fe
cat /etc/nsswitch.conf >%{_datadir}/lsb/nsswitch.conf
b974bc4
fi
b974bc4
b974bc4
%preun
d9bd2fe
if [ $1 -eq 0 ];then
d9bd2fe
    if [ -e %{_datadir}/lsb/nsswitch.conf -a -e  %{_datadir}/lsb/nsswitch.conf.orig ];then
d9bd2fe
        if cmp -s %{_datadir}/lsb/nsswitch.conf /etc/nsswitch.conf;then
1f2021f
            cp /etc/nsswitch.conf /etc/nsswitch.conf.rpmsave
1f2021f
            echo "warning: /etc/nsswitch.conf saved as /etc/nsswitch.conf.rpmsave" >&2
d9bd2fe
            cat %{_datadir}/lsb/nsswitch.conf.orig >/etc/nsswitch.conf
d9bd2fe
        fi
d9bd2fe
        rm -f %{_datadir}/lsb/{nsswitch.conf,nsswitch.conf.orig}
d9bd2fe
    fi
d9bd2fe
fi
Leon Ho 6ef0f14
4d8d159
%postun submod-security -p <lua>
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}")
4d8d159
os.remove("%{_datadir}/lsb")
4d8d159
%postun submod-multimedia -p <lua>
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}")
4d8d159
os.remove("%{_datadir}/lsb")
4d8d159
%postun core -p <lua> 
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}")
4d8d159
os.remove("%{_datadir}/lsb")
4d8d159
%postun cxx -p <lua> 
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}")
4d8d159
os.remove("%{_datadir}/lsb")
4d8d159
%postun desktop -p <lua> 
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}")
4d8d159
os.remove("%{_datadir}/lsb")
4d8d159
%postun languages -p <lua> 
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}")
4d8d159
os.remove("%{_datadir}/lsb")
4d8d159
%postun printing -p <lua> 
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}")
4d8d159
os.remove("%{_datadir}/lsb")
4d8d159
%postun trialuse -p <lua> 
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
4d8d159
os.remove("%{_datadir}/lsb/%{lsbrelver}")
4d8d159
os.remove("%{_datadir}/lsb")
4d8d159
cvsdist e99666c
%files
4d8d159
%{_datadir}/lsb/
4d8d159
4d8d159
%files submod-security
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/security-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/security-%{lsbrelver}-noarch
4d8d159
4d8d159
%files submod-multimedia
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/multimedia-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/multimedia-%{lsbrelver}-noarch
4d8d159
4d8d159
%files core
Lawrence Lim 5a89476
%{_sysconfdir}/redhat-lsb
Lawrence Lim 5a89476
%dir %{_sysconfdir}/lsb-release.d
cvsdist e99666c
%{_mandir}/*/*
cvsdist e99666c
%{_bindir}/*
Lawrence Lim 77423d9
#/bin/mailx
Lawrence Lim 236e3b3
/bin/redhat_lsb_init
Hao Liu f3cac3d
/usr/lib/lsb
Hao Liu f3cac3d
/%{_lib}/*so*
Hao Liu f3cac3d
/lib/lsb*
Lawrence Lim 5a89476
%{_sbindir}/redhat_lsb_trigger.%{_target_cpu}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/modules/core
4d8d159
%{_sysconfdir}/lsb-release.d/core*
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/core-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/core-%{lsbrelver}-noarch
4d8d159
4d8d159
%files cxx
4d8d159
%{_sysconfdir}/lsb-release.d/cxx*
4d8d159
%{_datadir}/lsb/%{lsbrelver}/modules/cxx
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/cpp-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/cpp-%{lsbrelver}-noarch
4d8d159
4d8d159
%files desktop
4d8d159
%{_sysconfdir}/lsb-release.d/desktop*
4d8d159
%{_datadir}/lsb/%{lsbrelver}/modules/desktop
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/toolkit-gtk-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/toolkit-gtk-%{lsbrelver}-noarch
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/toolkit-qt-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/toolkit-qt-%{lsbrelver}-noarch
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/toolkit-qt3-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/toolkit-qt3-%{lsbrelver}-noarch
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/xml-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/xml-%{lsbrelver}-noarch
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/desktop-misc-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/desktop-misc-%{lsbrelver}-noarch
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/graphics-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/graphics-%{lsbrelver}-noarch
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/graphics-ext-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/graphics-ext-%{lsbrelver}-noarch
4d8d159
4d8d159
%files languages
4d8d159
%{_sysconfdir}/lsb-release.d/languages*
4d8d159
%{_datadir}/lsb/%{lsbrelver}/modules/languages
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/perl-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/perl-%{lsbrelver}-noarch
4d8d159
%{perl_vendorlib}/Locale/Constants.pm
4d8d159
%{perl_vendorlib}/Locale/Constants.pod
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/python-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/python-%{lsbrelver}-noarch
Lawrence Lim a8a0434
Lawrence Lim a8a0434
%files printing
Lawrence Lim a8a0434
%{_sysconfdir}/lsb-release.d/printing*
4d8d159
%{_datadir}/lsb/%{lsbrelver}/modules/printing
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/printing-%{lsbrelver}-%{archname}
4d8d159
%{_datadir}/lsb/%{lsbrelver}/submodules/printing-%{lsbrelver}-noarch
4d8d159
4d8d159
%files trialuse
4d8d159
%{_sysconfdir}/lsb-release.d/trialuse*
4d8d159
%{_datadir}/lsb/%{lsbrelver}/modules/trialuse
Lawrence Lim a8a0434
c36b097
%files supplemental
c36b097
#no files, just dependencies
c36b097
cvsdist e99666c
cvsdist e99666c
%changelog
c36b097
* Wed Dec 05 2012 Ondrej Vasik <ovasik@redhat.com> - 4.1-7
c36b097
- add new subpackage -supplemental for LSB testuite-only dependencies
1f2021f
- require net-tools in -supplemental (#882122)
1f2021f
- require xorg-x11-fonts-ISO8859-1-{75,100}dpi in -supplemental
1f2021f
  (#883385)
1f2021f
- require perl(XML::LibXML) (#880954)
1f2021f
- keep usermodified /etc/nsswitch.conf as /etc/nsswitch.conf.rpmsave,
1f2021f
  warn about modification (#867124)
1f2021f
- require libpng12.so.0 in other architectures (#881596)
c36b097
e9fbb7c
* Mon Nov 05 2012 Parag <pnemade AT redhat DOT com> - 4.1-6
e9fbb7c
- Resolves:rh#873066 - missing dependency /bin/su moved to /usr/bin/su
e9fbb7c
060d477
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-5
060d477
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
060d477
d9bd2fe
* Tue May 29 2012 xning <xning AT redhat DOT com> - 4.1-4
d9bd2fe
- Resolves:rh:#825261: redhat-lsb scripts blow away my /etc/nsswitch.conf
d9bd2fe
adeb067
* Wed May 23 2012 Parag <pnemade AT redhat DOT com> - 4.1-3
adeb067
- Resolves:rh#824305: Dependency glibc-common%{?_isa} should be changed to glibc-common only
adeb067
b974bc4
* Mon May 14 2012 xning <xning AT redhat DOT com> - 4.1-2
b974bc4
- Resolves:rh:#806190: gethostbyaddr sets h_errno to 3, not HOST_NOT_FOUND
b974bc4
- Resolves:rh:#799284: perl(Pod::Plainer) is required by LSB 4.1
b974bc4
- Resolves:rh:#821308: redhat-lsb 4.1 test libpn12.so.0 failed on fedora 17
b974bc4
4d8d159
* Mon Mar 19 2012 xning <xning AT redhat DOT com> - 4.1-1
4d8d159
- Update to 4.1 release
4d8d159
- Added -core, -cxx, -desktop, -languages, -printing modules as subpackages
4d8d159
- Added submod-security, -submod-multimedia subpackages
4d8d159
- Implements http://refspecs.linux-foundation.org/LSB_4.1.0/ 
4d8d159
- Resolves:rh#800249: new package update review by Parag.
4d8d159
8575c04
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-11
8575c04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8575c04
e6ba58c
* Wed Nov 30 2011 Parag <pnemade AT redhat DOT com> - 4.0-10
e6ba58c
- Resolves:rh#758383:- redhat-lsb does not pull in required perl-Pod-Perldoc
e6ba58c
290d7c0
* Wed Nov 30 2011 Parag <pnemade AT redhat DOT com> - 4.0-9
290d7c0
- Resolves:rh#738256:- redhat-lsb fails to build on ARM
290d7c0
1952ce7
* Thu Oct 13 2011 Parag <pnemade AT redhat DOT com> - 4.0-8
1952ce7
- Resolves:rh#745100: Add requires: perl-Digest-MD5
1952ce7
ad03696
* Wed Oct 12 2011 Parag <pnemade AT redhat DOT com> - 4.0-7
ad03696
- Resolves:rh#654689,rh#736822
ad03696
- Added dependencies for perl-Locale-Codes and perl-Class-ISA
ad03696
7d112f9
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-6
7d112f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7d112f9
e7eea08
* Fri Jul 09 2010 Parag <pnemade AT redhat.com> - 4.0-5
e7eea08
- Fix directory ownership issue for %%{_sysconfdir}/lsb-release.d
e7eea08
- Fix duplicate files issue as reported in bodhi testing for 4.0-4
e7eea08
f60f4e6
* Fri Jun 25 2010 Parag <pnemade AT redhat.com> - 4.0-4
f60f4e6
- Revert license back to GPLv2
f60f4e6
15a5176
* Thu Jun 24 2010 Parag <pnemade AT redhat.com> - 4.0-3
15a5176
- Resolves:rh#585858:-redhat-lsb-graphics broken
15a5176
Lawrence Lim a8a0434
* Fri Jan 15 2010 Lawrence Lim <llim@redhat.com> - 4.0-2
Lawrence Lim a8a0434
- update spec file to split package into core, desktop and printing (Curtis Doty, #472633)
Lawrence Lim a8a0434
Lawrence Lim 292edb7
* Fri Jan 8 2010 Lawrence Lim <llim@redhat.com> - 4.0-1
Lawrence Lim 292edb7
- update to LSB4.0
Lawrence Lim 292edb7
3618b39
* Tue Oct 27 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2-7
3618b39
- apply fix from bz514760 (thanks to Jakub Jelinek)
3618b39
fc95d68
* Wed Oct 21 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2-6
fc95d68
- apply fix from bz485367 (thanks to Jon Thomas)
fc95d68
7d51a1b
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-5
7d51a1b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7d51a1b
134fc67
* Fri Apr 24 2009 Jens Petersen <petersen@redhat.com>
134fc67
- improve url to LSB WG
134fc67
b114c53
* Thu Apr 23 2009 Jens Petersen <petersen@redhat.com> - 3.2-4
b114c53
- use dist tag (Debarshi, #496553)
b114c53
- update to ix86 (caillon)
b114c53
39c62e6
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-3
4adb617
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4adb617
Hao Liu e206713
* Thu Aug 28 2008 Hao Liu <hliu@redhat.com> 3.2-2
Hao Liu e206713
- Modify "Requires: /usr/bin/mailx" to "Requires: mailx" (Bug #460249)
Hao Liu e206713
Hao Liu c46ad3c
* Wed Aug 18 2008 Hao Liu <hliu@redhat.com> 3.2-1
Hao Liu c46ad3c
- Port forward to LSB 3.2
Hao Liu c46ad3c
- Remove symlink for mailx if user is upgrading from the redhat-lsb of older version 
Hao Liu c46ad3c
- Since F10 put mailx under /usr/bin, change the corresponding requires
Hao Liu c46ad3c
Hao Liu f3cac3d
* Thu Aug 5 2008 Hao Liu <hliu@redhat.com> - 3.1-22
Hao Liu f3cac3d
- Remove 2 requires which provided by redhat-lsb
Hao Liu f3cac3d
- Add comments explaining why hard-coded path is kept
Hao Liu f3cac3d
- Resolve some hard-coded path problems
Hao Liu f3cac3d
- Add comments explaining why importing '-static' option while compiling redhat_lsb_trigger
Hao Liu f3cac3d
- Replace %{_libdir}/lsb with /usr/lib/lsb
Hao Liu f3cac3d
- Replace /%{_lib}/* with /%{_lib}/*so*
Hao Liu f3cac3d
- Replace /lib/lsb with /lib/lsb*
Hao Liu f3cac3d
2af8fe7
* Thu Jul 31 2008 Lawrence Lim <llim@redhat.com> - 3.1-21
Lawrence Lim 77423d9
- remove symlink for mailx (Bug #457241)
Lawrence Lim 77423d9
Lawrence Lim 292edb7
* Wed Apr 16 2008 Mats Wichmann <mats@freestandards.org> 3.2-1
Lawrence Lim 292edb7
- port forward to LSB 3.2
Lawrence Lim 292edb7
89d2039
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1-20
89d2039
- Autorebuild for GCC 4.3
89d2039
Lawrence Lim 43780b3
* Wed Oct 3 2007 Lawrence Lim <llim@redhat.com> - 3.1-19
Lawrence Lim 43780b3
- fix build issue on ppc - (.opd+0x10): multiple definition of `__libc_start_main'
Lawrence Lim 43780b3
Lawrence Lim c1fd90b
* Fri Sep 21 2007 Lawrence Lim <llim@redhat.com> - 3.1-18
Lawrence Lim c1fd90b
- fix build issue in minimal build root (Bug #265241)
Lawrence Lim c1fd90b
0cdc5ec
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.1-17
0cdc5ec
- Rebuild for selinux ppc32 issue.
0cdc5ec
Lawrence Lim 5a89476
* Fri Aug 20 2007 Lawrence Lim <llim@redhat.com> - 3.1-16
Lawrence Lim 5a89476
- update spec file in accordance to feedback provided through merge review - merge-review.patch - #226363
Lawrence Lim 5a89476
Lawrence Lim 5a89476
* Wed Jul 18 2007 Lawrence Lim <llim@redhat.com> - 3.1-15.f8
Lawrence Lim ba45222
- Resolved: #239842 - /lib/lsb/init-functions shall use aliases but not functions
Lawrence Lim ba45222
- forward port the patch from 3.1-12.3.EL which fix #217566, #233530, #240916
Lawrence Lim ba45222
Lawrence Lim 292edb7
* Wed Jul 2 2007 Lawrence Lim <llim@redhat.com> - 3.1-14.fc7
Lawrence Lim fdab762
- fixed Bug 232918 for new glibc version
Lawrence Lim fdab762
Lawrence Lim 292edb7
* Tue Jun 26 2007 Lawrence Lim <llim@redhat.com> - 3.1-12.3.EL
Lawrence Lim 292edb7
- Resolves: #217566 - rewrite /lib/lsb/init-functions file needs to define the commands as true shell functions rather than aliases.
Lawrence Lim 292edb7
- Resolves: #233530 - LSB pidofproc misspelled as pidofprof.
Lawrence Lim 292edb7
- Resolves: #240916 - "log_warning_message" replaced with "log_warning_msg" per the LSB 3.1 spec
Lawrence Lim 292edb7
Lawrence Lim 292edb7
* Wed Dec 6 2006 Lawrence Lim <llim@redhat.com> - 3.1-12.2.EL
Lawrence Lim 292edb7
- Resolves: bug 217566
Lawrence Lim 292edb7
- revise patch
Lawrence Lim a85105c
Lawrence Lim 6d75917
* Wed Nov 29 2006 Lawrence Lim <llim@redhat.com> - 3.1-12
Lawrence Lim 74eba78
- replaced aliases with functions in /lib/lsb/init-functions; Bug 217566
Lawrence Lim 6d75917
e34d6a5
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 3.1-11
e34d6a5
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
e34d6a5
Lawrence Lim 236e3b3
* Thu Sep 21 2006 Lawrence Lim <llim@redhat.com> - 3.1-10.3
Lawrence Lim 236e3b3
- Fix upgrade issue; Bug 202548 
Lawrence Lim 236e3b3
81c9a46
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-10.2.1
81c9a46
- rebuild
81c9a46
Lawrence Lim dfb27f5
* Thu Jul 6 2006 Lawrence Lim <llim@redhat.com> - 3.1-10.2
Lawrence Lim dfb27f5
- for some strange reason, ld-lsb-x86-64.so need to be ld-lsb-x86-64.so.3 (LSB3.0) rather than ld-lsb-x86-64.so.3.1 (LSB3.1)
Lawrence Lim dfb27f5
Lawrence Lim cc29ec4
* Thu Jul 6 2006 Lawrence Lim <llim@redhat.com> - 3.1-10.1
Lawrence Lim cc29ec4
- generate spec file on RHEL5-Alpha system
Lawrence Lim cc29ec4
- fix vsw4 test suite setup by creating symlink for X11 SecurityPolicy and XFontPath
Lawrence Lim cc29ec4
Lawrence Lim cc29ec4
* Thu Jun 22 2006 Lawrence Lim <llim@redhat.com> - 3.0-10
Lawrence Lim cc29ec4
- Rewrite most part of the mkredhat-lsb to obtain information directly via specdb 
Lawrence Lim cc29ec4
  rather than sniffing through sgml
Lawrence Lim 1491877
- remove redundent script and bump up tarball version
Lawrence Lim 1491877
da838fc
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0-9.2
da838fc
- bump again for double-long bug on ppc(64)
da838fc
b442629
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0-9.1
b442629
- rebuilt for new gcc4.1 snapshot and glibc changes
b442629
Leon Ho 3ba56c0
* Fri Jan 13 2006 Leon Ho <llch@redhat.com> 3.0-9
Leon Ho 3ba56c0
- Migrated back to rawhide
Leon Ho 3ba56c0
Leon Ho 3ba56c0
* Wed Aug  3 2005 Leon Ho <llch@redhat.com> 3.0-8.EL
Leon Ho 3ba56c0
- Added libstdc++.so.6/libGL.so.1 requirement (RH#154605)
Leon Ho 3ba56c0
Leon Ho 3ba56c0
* Wed Aug  3 2005 Leon Ho <llch@redhat.com> 3.0-7.EL
Lawrence Lim 1491877
- Fixed multilib problem on lsb_release not to read /etc/lsb-release and solely
Leon Ho 3ba56c0
  depends on /etc/lsb-release.d/ (Advised by LSB committee)
Leon Ho 3ba56c0
- Removed /etc/lsb-release (Advised by LSB committee)
Leon Ho 3ba56c0
Leon Ho 3ba56c0
* Mon Aug  1 2005 Leon Ho <llch@redhat.com> 3.0-6.EL
Leon Ho 3ba56c0
- Made the /etc/lsb-release useful (RH#154605)
Leon Ho 3ba56c0
- Added redhat_lsb_trigger to fix RH#160585 (Jakub Jelinek)
Lawrence Lim 1491877
- Fixed AMD64 base libraries requirement parsing (RH#154605)
Lawrence Lim 1491877
Lawrence Lim 1491877
* Tue Jul 26 2005 Leon Ho <llch@redhat.com> 3.0-5.EL
Lawrence Lim 1491877
- Fixed redhat-lsb's mkredhat-lsb on fetching lib and 
Lawrence Lim 1491877
  cmd requirements
Leon Ho 3ba56c0
Leon Ho 3ba56c0
* Mon Jul 18 2005 Leon Ho <llch@redhat.com> 3.0-4.EL
Leon Ho 3ba56c0
- Rebuilt
Leon Ho 3ba56c0
Leon Ho 3ba56c0
* Tue Jul 05 2005 Leon Ho <llch@redhat.com> 3.0-3.EL
Leon Ho 3ba56c0
- Disabled support for LSB 1.3 and 2.0
Leon Ho 3ba56c0
Leon Ho 3ba56c0
* Mon Jun 20 2005 Leon Ho <llch@redhat.com> 3.0-2.EL
Leon Ho 3ba56c0
- Upgraded to lsb-release 2.0
Leon Ho 3ba56c0
Leon Ho 3ba56c0
* Thu Jun 09 2005 Leon Ho <llch@redhat.com> 3.0-1.EL
Leon Ho 3ba56c0
- Moved to LSB 3.0
Leon Ho 3ba56c0
Leon Ho 3ba56c0
* Wed Apr 13 2005 Leon Ho <llch@redhat.com> 1.3-10
Leon Ho 3ba56c0
- Fixed ix86 package with ia32 emul support 
Leon Ho 3b498a8
Leon Ho 6ef0f14
* Tue Feb 01 2005 Leon Ho <llch@redhat.com> 1.3-9
Leon Ho 6ef0f14
- Sync what we have changed on the branches
Leon Ho 6ef0f14
  Wed Nov 24 2004 Harald Hoyer <harald@redhat.com>
Leon Ho 6ef0f14
  - added post section to recreate the softlink in emul mode (bug 140739)
Leon Ho 6ef0f14
  Mon Nov 15 2004 Phil Knirsch <pknirsch@redhat.com>
Leon Ho 6ef0f14
  Tiny correction of bug in new triggers
Leon Ho 6ef0f14
Leon Ho da87546
* Mon Jan 24 2005 Leon Ho <llch@redhat.com> 1.3-8
Leon Ho da87546
- Add support provide on lsb-core-* for each arch
Leon Ho da87546
Leon Ho da87546
* Fri Jan 21 2005 Leon Ho <llch@redhat.com> 1.3-7
Leon Ho da87546
- Add to support multiple LSB test suite version
Lawrence Lim 292edb7
- Add %endif in trigger postun
Leon Ho da87546
68524fa
* Thu Nov 11 2004 Phil Knirsch <pknirsch@redhat.com> 1.3-6
68524fa
- Fixed invalid sln call for trigger in postun on ia64 (#137647)
68524fa
cvsdist 9fc0d79
* Mon Aug 09 2004 Phil Knirsch <pknirsch@redhat.com> 1.3-4
cvsdist 9fc0d79
- Bump release and rebuilt for RHEL4.
cvsdist 9fc0d79
cvsdist 9fc0d79
* Thu Jul 24 2003 Matt Wilson <msw@redhat.com> 1.3-3
cvsdist 9fc0d79
- fix lsb ld.so name for ia64 (#100613)
cvsdist 9fc0d79
cvsdist 9fc0d79
* Fri May 23 2003 Matt Wilson <msw@redhat.com> 1.3-2
cvsdist 9fc0d79
- use /usr/lib/lsb for install_initd, remove_initd
cvsdist 9fc0d79
cvsdist 9fc0d79
* Fri May 23 2003 Matt Wilson <msw@redhat.com> 1.3-2
cvsdist 9fc0d79
- add ia64 x86_64 ppc ppc64 s390 s390x
cvsdist 9fc0d79
cvsdist bdb182f
* Tue Feb 18 2003 Matt Wilson <msw@redhat.com> 1.3-1
cvsdist bdb182f
- 1.3
cvsdist bdb182f
cvsdist c65b895
* Wed Sep  4 2002 Matt Wilson <msw@redhat.com>
cvsdist c65b895
- 1.2.0
cvsdist c65b895
cvsdist 3771fd3
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 3771fd3
- automated rebuild
cvsdist 3771fd3
cvsdist d031a36
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist d031a36
- automated rebuild
cvsdist d031a36
cvsdist 1cfbf4f
* Wed Mar 27 2002 Matt Wilson <msw@redhat.com>
cvsdist 1cfbf4f
- addeed trigger on glibc to re-establish the ld-lsb.so.1 symlink in the
cvsdist 1cfbf4f
  forced downgrade case.
cvsdist 1cfbf4f
cvsdist e99666c
* Tue Mar 12 2002 Bill Nottingham <notting@redhat.com>
cvsdist e99666c
- add initscripts support
cvsdist e99666c
cvsdist e99666c
* Thu Jan 24 2002 Matt Wilson <msw@redhat.com>
cvsdist e99666c
- Initial build.