2005-02-01 16:32:45 +00:00
|
|
|
# Define this to link to which library version
|
2006-01-13 03:50:11 +00:00
|
|
|
%define lsbsover 3
|
2005-02-01 16:32:45 +00:00
|
|
|
|
2004-09-09 11:25:23 +00:00
|
|
|
%ifarch %{ix86}
|
|
|
|
%define ldso ld-linux.so.2
|
2005-02-01 16:32:45 +00:00
|
|
|
%define lsbldso ld-lsb.so
|
2004-09-09 11:25:23 +00:00
|
|
|
%endif
|
|
|
|
|
2004-09-09 11:28:17 +00:00
|
|
|
%ifarch ia64
|
2004-09-09 11:25:23 +00:00
|
|
|
%define ldso ld-linux-ia64.so.2
|
2005-02-01 16:32:45 +00:00
|
|
|
%define lsbldso ld-lsb-ia64.so
|
2004-09-09 11:28:17 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch ppc
|
|
|
|
%define ldso ld.so.1
|
2005-02-01 16:32:45 +00:00
|
|
|
%define lsbldso ld-lsb-ppc32.so
|
2004-09-09 11:28:17 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch ppc64
|
|
|
|
%define ldso ld64.so.1
|
2005-02-01 16:32:45 +00:00
|
|
|
%define lsbldso ld-lsb-ppc64.so
|
2004-09-09 11:28:17 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch s390
|
|
|
|
%define ldso ld.so.1
|
2005-02-01 16:32:45 +00:00
|
|
|
%define lsbldso ld-lsb-s390.so
|
2004-09-09 11:28:17 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch s390x
|
|
|
|
%define ldso ld64.so.1
|
2005-02-01 16:32:45 +00:00
|
|
|
%define lsbldso ld-lsb-s390x.so
|
2004-09-09 11:28:17 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
%define ldso ld-linux-x86-64.so.2
|
2005-02-01 16:32:45 +00:00
|
|
|
%define lsbldso ld-lsb-x86-64.so
|
2004-09-09 11:28:17 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch ia64 ppc64 s390x x86_64
|
|
|
|
%define qual ()(64bit)
|
|
|
|
%else
|
|
|
|
%define qual %{nil}
|
2004-09-09 11:25:23 +00:00
|
|
|
%endif
|
|
|
|
|
2006-01-13 03:50:11 +00:00
|
|
|
%define lsbrelver 2.0
|
|
|
|
%define srcrelease 1
|
2004-09-09 11:25:23 +00:00
|
|
|
|
|
|
|
Summary: LSB support for Red Hat Linux
|
|
|
|
Name: redhat-lsb
|
2006-01-13 03:50:11 +00:00
|
|
|
Version: 3.0
|
2006-02-07 13:43:21 +00:00
|
|
|
Release: 9.1
|
2004-09-09 11:25:23 +00:00
|
|
|
URL: http://www.linuxbase.org/
|
2006-01-13 03:50:11 +00:00
|
|
|
Source0: %{name}-%{version}-%{srcrelease}.tar.bz2
|
2004-09-09 11:25:23 +00:00
|
|
|
Source1: http://prdownloads.sourceforge.net/lsb/lsb-release-%{lsbrelver}.tar.gz
|
2006-01-13 03:50:11 +00:00
|
|
|
Patch0: lsb-release-2.0-disable-etc-lsb-release.patch
|
2004-09-09 11:25:23 +00:00
|
|
|
License: GPL
|
|
|
|
Group: System Environment/Base
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2005-02-01 16:32:45 +00:00
|
|
|
# dependency for primary LSB application for v1.3
|
2004-09-09 11:25:23 +00:00
|
|
|
Provides: lsb = %{version}
|
2006-01-13 03:50:11 +00:00
|
|
|
# dependency for primary LSB application for v2.0 and v3.0
|
2005-02-01 16:32:45 +00:00
|
|
|
%ifarch %{ix86}
|
2006-01-13 03:50:11 +00:00
|
|
|
%define archname ia32
|
2005-02-01 16:32:45 +00:00
|
|
|
%endif
|
|
|
|
%ifarch ia64
|
2006-01-13 03:50:11 +00:00
|
|
|
%define archname ia64
|
2005-02-01 16:32:45 +00:00
|
|
|
%endif
|
|
|
|
%ifarch ppc
|
2006-01-13 03:50:11 +00:00
|
|
|
%define archname ppc32
|
2005-02-01 16:32:45 +00:00
|
|
|
%endif
|
|
|
|
%ifarch ppc64
|
2006-01-13 03:50:11 +00:00
|
|
|
%define archname ppc64
|
2005-02-01 16:32:45 +00:00
|
|
|
%endif
|
|
|
|
%ifarch s390
|
2006-01-13 03:50:11 +00:00
|
|
|
%define archname s390
|
2005-02-01 16:32:45 +00:00
|
|
|
%endif
|
|
|
|
%ifarch s390x
|
2006-01-13 03:50:11 +00:00
|
|
|
%define archname s390x
|
2005-02-01 16:32:45 +00:00
|
|
|
%endif
|
|
|
|
%ifarch x86_64
|
2006-01-13 03:50:11 +00:00
|
|
|
%define archname amd64
|
2005-02-01 16:32:45 +00:00
|
|
|
%endif
|
2006-01-13 03:50:11 +00:00
|
|
|
Provides: lsb-core-%{archname} = %{version}
|
|
|
|
Provides: lsb-graphics-%{archname} = %{version}
|
|
|
|
Provides: lsb-core-noarch = %{version}
|
|
|
|
Provides: lsb-graphics-noarch = %{version}
|
2005-02-01 16:32:45 +00:00
|
|
|
|
2004-09-09 11:28:17 +00:00
|
|
|
ExclusiveArch: i386 ia64 x86_64 ppc ppc64 s390 s390x
|
2004-09-09 11:25:23 +00:00
|
|
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
# archLSB IA32 Base Libraries
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libcrypt.so.1
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: libc.so.6
|
2004-09-09 11:27:09 +00:00
|
|
|
Requires: libdl.so.2
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: libgcc_s.so.1
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libm.so.6
|
2004-09-09 11:27:09 +00:00
|
|
|
Requires: libpthread.so.0
|
2004-09-09 11:25:23 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch ia64
|
|
|
|
# archLSB IA64 Base Libraries
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libcrypt.so.1()(64bit)
|
|
|
|
Requires: libc.so.6.1()(64bit)
|
|
|
|
Requires: libdl.so.2()(64bit)
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: libgcc_s.so.1()(64bit)
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libm.so.6.1()(64bit)
|
|
|
|
Requires: libpthread.so.0()(64bit)
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch ppc
|
|
|
|
# archLSB PPC32 Base Libraries
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: libcrypt.so.1
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libc.so.6
|
|
|
|
Requires: libdl.so.2
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: libgcc_s.so.1
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libm.so.6
|
|
|
|
Requires: libpthread.so.0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch ppc64
|
|
|
|
# archLSB PPC64 Base Libraries
|
|
|
|
Requires: libcrypt.so.1()(64bit)
|
|
|
|
Requires: libc.so.6()(64bit)
|
|
|
|
Requires: libdl.so.2()(64bit)
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: libgcc_s.so.1()(64bit)
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libm.so.6()(64bit)
|
|
|
|
Requires: libpthread.so.0()(64bit)
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch s390
|
|
|
|
# archLSB S390 Base Libraries
|
2004-09-09 11:27:09 +00:00
|
|
|
Requires: libcrypt.so.1
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libc.so.6
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: libdl.so.2
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: libgcc_s.so.1
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libm.so.6
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: libpthread.so.0
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 11:28:17 +00:00
|
|
|
%ifarch s390x
|
|
|
|
# archLSB S390X Base Libraries
|
|
|
|
Requires: libcrypt.so.1()(64bit)
|
|
|
|
Requires: libc.so.6()(64bit)
|
|
|
|
Requires: libdl.so.2()(64bit)
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: libgcc_s.so.1()(64bit)
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libm.so.6()(64bit)
|
|
|
|
Requires: libpthread.so.0()(64bit)
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch x86_64
|
2006-01-13 03:50:11 +00:00
|
|
|
# archLSB AMD64 Base Libraries
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libcrypt.so.1()(64bit)
|
|
|
|
Requires: libc.so.6()(64bit)
|
|
|
|
Requires: libdl.so.2()(64bit)
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: libgcc_s.so.1()(64bit)
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libm.so.6()(64bit)
|
|
|
|
Requires: libpthread.so.0()(64bit)
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 11:25:23 +00:00
|
|
|
# gLSB Base Libraries
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libpthread.so.0%{qual}
|
|
|
|
Requires: libgcc_s.so.1%{qual}
|
|
|
|
Requires: libdl.so.2%{qual}
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: librt.so.1%{qual}
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libcrypt.so.1%{qual}
|
|
|
|
Requires: libpam.so.0%{qual}
|
2004-09-09 11:25:23 +00:00
|
|
|
|
2006-01-13 03:50:11 +00:00
|
|
|
# LSB Base C++
|
|
|
|
Requires: libstdc++.so.6%{qual}
|
|
|
|
|
2004-09-09 11:25:23 +00:00
|
|
|
# gLSB Utility Libraries
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libz.so.1%{qual}
|
|
|
|
Requires: libncurses.so.5%{qual}
|
|
|
|
Requires: libutil.so.1%{qual}
|
2004-09-09 11:25:23 +00:00
|
|
|
|
|
|
|
# gLSB Graphics Libraries
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libX11.so.6%{qual}
|
|
|
|
Requires: libSM.so.6%{qual}
|
|
|
|
Requires: libICE.so.6%{qual}
|
|
|
|
Requires: libXt.so.6%{qual}
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: libXext.so.6%{qual}
|
|
|
|
Requires: libXi.so.6%{qual}
|
2004-09-09 11:28:17 +00:00
|
|
|
Requires: libGL.so.1%{qual}
|
2004-09-09 11:25:23 +00:00
|
|
|
|
|
|
|
# gLSB Command and Utilities
|
|
|
|
Requires: /bin/basename
|
|
|
|
Requires: /bin/cat
|
|
|
|
Requires: /bin/chgrp
|
|
|
|
Requires: /bin/chmod
|
|
|
|
Requires: /bin/chown
|
|
|
|
Requires: /bin/cp
|
|
|
|
Requires: /bin/cpio
|
|
|
|
Requires: /bin/date
|
|
|
|
Requires: /bin/dd
|
|
|
|
Requires: /bin/df
|
2004-09-09 11:27:09 +00:00
|
|
|
Requires: /bin/dmesg
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: /bin/echo
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: /bin/ed
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: /bin/egrep
|
|
|
|
Requires: /bin/false
|
|
|
|
Requires: /bin/fgrep
|
|
|
|
Requires: /bin/grep
|
|
|
|
Requires: /bin/hostname
|
|
|
|
Requires: /bin/ln
|
|
|
|
Requires: /bin/ls
|
2006-01-13 03:50:11 +00:00
|
|
|
#Requires: /bin/mailx
|
|
|
|
Requires: mailx
|
2004-09-09 11:25:23 +00:00
|
|
|
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: /sbin/fuser
|
|
|
|
Requires: /sbin/pidof
|
2004-09-09 11:27:09 +00:00
|
|
|
Requires: /sbin/shutdown
|
|
|
|
Requires: /usr/bin/[
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: /usr/bin/ar
|
|
|
|
Requires: /usr/bin/at
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: /usr/bin/awk
|
2004-09-09 11:25:23 +00:00
|
|
|
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
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: /usr/bin/cut
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: /usr/bin/diff
|
|
|
|
Requires: /usr/bin/dirname
|
|
|
|
Requires: /usr/bin/du
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: /usr/bin/env
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: /usr/bin/expand
|
|
|
|
Requires: /usr/bin/expr
|
|
|
|
Requires: /usr/bin/file
|
|
|
|
Requires: /usr/bin/find
|
|
|
|
Requires: /usr/bin/fold
|
|
|
|
Requires: /usr/bin/gencat
|
|
|
|
Requires: /usr/bin/getconf
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: /usr/bin/gettext
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: /usr/bin/groups
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: /usr/bin/gunzip
|
|
|
|
Requires: /usr/bin/gzip
|
2004-09-09 11:25:23 +00:00
|
|
|
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
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: /usr/bin/kill
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: /usr/bin/killall
|
|
|
|
Requires: /usr/bin/locale
|
|
|
|
Requires: /usr/bin/localedef
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: /usr/bin/logger
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: /usr/bin/logname
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: /usr/bin/lp
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: /usr/bin/lpr
|
|
|
|
Requires: /usr/bin/m4
|
|
|
|
Requires: /usr/bin/make
|
|
|
|
Requires: /usr/bin/man
|
|
|
|
Requires: /usr/bin/md5sum
|
|
|
|
Requires: /usr/bin/mkfifo
|
2004-09-09 11:27:09 +00:00
|
|
|
Requires: /usr/bin/msgfmt
|
2004-09-09 11:25:23 +00:00
|
|
|
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
|
2006-01-13 03:50:11 +00:00
|
|
|
Requires: /usr/bin/pax
|
2004-09-09 11:25:23 +00:00
|
|
|
Requires: /usr/bin/pr
|
|
|
|
Requires: /usr/bin/printf
|
|
|
|
Requires: /usr/bin/renice
|
|
|
|
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
|
2004-09-09 11:27:09 +00:00
|
|
|
Requires: /usr/lib/lsb/install_initd
|
|
|
|
Requires: /usr/lib/lsb/remove_initd
|
2004-09-09 11:25:23 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Linux Standards Base (LSB) is an attempt to develop a set of
|
|
|
|
standards that will increase compatibility among Linux distributions.
|
|
|
|
The redhat-lsb package provides utilities needed for LSB Compliant
|
|
|
|
Applications. It also contains requirements that will ensure that all
|
|
|
|
components required by the LSB that are provided by Red Hat Linux are
|
|
|
|
installed on the system.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -a 1
|
2006-01-13 03:50:11 +00:00
|
|
|
%patch0 -p 0
|
2004-09-09 11:25:23 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
cd lsb-release-%{lsbrelver}
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2004-09-09 11:28:17 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc $RPM_BUILD_ROOT/%{_lib} $RPM_BUILD_ROOT/%{_mandir} \
|
2006-01-13 03:50:11 +00:00
|
|
|
$RPM_BUILD_ROOT/%{_bindir} $RPM_BUILD_ROOT/usr/lib/lsb \
|
|
|
|
$RPM_BUILD_ROOT/etc/lsb-release.d/ $RPM_BUILD_ROOT/usr/sbin/
|
2004-09-09 11:25:23 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
cd lsb-release-%{lsbrelver}
|
|
|
|
make mandir=$RPM_BUILD_ROOT/%{_mandir} prefix=$RPM_BUILD_ROOT/%{_prefix} install
|
|
|
|
cd ..
|
2006-01-13 03:50:11 +00:00
|
|
|
touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-3.0-%{archname}
|
|
|
|
touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-3.0-noarch
|
|
|
|
touch $RPM_BUILD_ROOT/etc/lsb-release.d/graphics-3.0-%{archname}
|
|
|
|
touch $RPM_BUILD_ROOT/etc/lsb-release.d/graphics-3.0-noarch
|
2004-09-09 11:25:23 +00:00
|
|
|
|
2005-02-01 16:32:45 +00:00
|
|
|
for LSBVER in %{lsbsover}; do
|
|
|
|
ln -s %{ldso} $RPM_BUILD_ROOT/%{_lib}/%{lsbldso}.$LSBVER
|
|
|
|
done
|
2004-09-09 11:25:23 +00:00
|
|
|
|
2006-01-13 03:50:11 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/bin
|
|
|
|
|
2004-09-09 11:28:17 +00:00
|
|
|
ln -snf ../../../sbin/chkconfig $RPM_BUILD_ROOT/usr/lib/lsb/install_initd
|
|
|
|
ln -snf ../../../sbin/chkconfig $RPM_BUILD_ROOT/usr/lib/lsb/remove_initd
|
2006-01-13 03:50:11 +00:00
|
|
|
ln -snf mail $RPM_BUILD_ROOT/bin/mailx
|
|
|
|
|
|
|
|
gcc -Os -static -o redhat_lsb_trigger{.%{_target_cpu},.c} -DLSBSOVER='"%{lsbsover}"' \
|
|
|
|
-DLDSO='"%{ldso}"' -DLSBLDSO='"/%{_lib}/%{lsbldso}"' -D_GNU_SOURCE
|
|
|
|
install -m 700 redhat_lsb_trigger.%{_target_cpu} \
|
|
|
|
$RPM_BUILD_ROOT/usr/sbin/redhat_lsb_trigger.%{_target_cpu}
|
|
|
|
|
2004-09-09 11:25:23 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2005-02-01 16:39:55 +00:00
|
|
|
%triggerpostun -- glibc
|
2006-01-13 03:50:11 +00:00
|
|
|
if [ -x /usr/sbin/redhat_lsb_trigger.%{_target_cpu} ]; then
|
|
|
|
/usr/sbin/redhat_lsb_trigger.%{_target_cpu}
|
|
|
|
fi
|
2005-02-01 16:39:55 +00:00
|
|
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
%post
|
|
|
|
# make this softlink again for /emul
|
|
|
|
if [ -f /emul/ia32-linux/lib/%{ldso} ]; then
|
2006-01-13 03:50:11 +00:00
|
|
|
for LSBVER in %{lsbsover}; do
|
|
|
|
/sbin/sln /emul/ia32-linux/lib/%{ldso} /%{_lib}/%{lsbldso}.$LSBVER || :
|
|
|
|
done
|
2005-02-01 16:39:55 +00:00
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 11:25:23 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/etc/redhat-lsb
|
2006-01-13 03:50:11 +00:00
|
|
|
%dir /etc/lsb-release.d
|
|
|
|
/etc/lsb-release.d/*
|
2004-09-09 11:25:23 +00:00
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_bindir}/*
|
2006-01-13 03:50:11 +00:00
|
|
|
/bin/mailx
|
2004-09-09 11:28:17 +00:00
|
|
|
/usr/lib/lsb
|
2004-09-09 11:25:23 +00:00
|
|
|
/lib/lsb
|
2004-09-09 11:28:17 +00:00
|
|
|
/%{_lib}/*
|
2006-01-13 03:50:11 +00:00
|
|
|
/usr/sbin/redhat_lsb_trigger.%{_target_cpu}
|
2004-09-09 11:25:23 +00:00
|
|
|
|
|
|
|
%changelog
|
2006-02-07 13:43:21 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0-9.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-13 03:50:11 +00:00
|
|
|
* Fri Jan 13 2006 Leon Ho <llch@redhat.com> 3.0-9
|
|
|
|
- Migrated back to rawhide
|
|
|
|
|
|
|
|
* Wed Aug 3 2005 Leon Ho <llch@redhat.com> 3.0-8.EL
|
|
|
|
- Added libstdc++.so.6/libGL.so.1 requirement (RH#154605)
|
|
|
|
|
|
|
|
* Wed Aug 3 2005 Leon Ho <llch@redhat.com> 3.0-7.EL
|
|
|
|
- Fixed multilib problem on lsb_release not to read /etc/lsb-release and solely
|
|
|
|
depends on /etc/lsb-release.d/ (Advised by LSB committee)
|
|
|
|
- Removed /etc/lsb-release (Advised by LSB committee)
|
|
|
|
|
|
|
|
* Mon Aug 1 2005 Leon Ho <llch@redhat.com> 3.0-6.EL
|
|
|
|
- Made the /etc/lsb-release useful (RH#154605)
|
|
|
|
- Added redhat_lsb_trigger to fix RH#160585 (Jakub Jelinek)
|
|
|
|
- Fixed AMD64 base libraries requirement parsing (RH#154605)
|
2005-12-09 22:42:58 +00:00
|
|
|
|
2006-01-13 03:50:11 +00:00
|
|
|
* Fri Jul 29 2005 Leon Ho <llch@redhat.com> 3.0-5.EL
|
|
|
|
- Fixed redhat-lsb's mkredhat-lsb on fetching lib and cmd requirements (RH#154605)
|
|
|
|
- Changed explicit mailx command requirement to package requirements (RH#164124)
|
|
|
|
- Added mailx symlink to /bin/mail (RH#164124)
|
|
|
|
- Added lsb-core-noarch and lsb-graphics-noarch and lsb-graphics-{arch} requirements (RH#164468)
|
|
|
|
- Added requirements from lsb_release command on lsb-release.d and deps. (RH#164468)
|
|
|
|
|
|
|
|
* Mon Jul 18 2005 Leon Ho <llch@redhat.com> 3.0-4.EL
|
|
|
|
- Rebuilt
|
|
|
|
|
|
|
|
* Tue Jul 05 2005 Leon Ho <llch@redhat.com> 3.0-3.EL
|
|
|
|
- Disabled support for LSB 1.3 and 2.0
|
|
|
|
|
|
|
|
* Mon Jun 20 2005 Leon Ho <llch@redhat.com> 3.0-2.EL
|
|
|
|
- Upgraded to lsb-release 2.0
|
|
|
|
|
|
|
|
* Thu Jun 09 2005 Leon Ho <llch@redhat.com> 3.0-1.EL
|
|
|
|
- Moved to LSB 3.0
|
|
|
|
|
|
|
|
* Wed Apr 13 2005 Leon Ho <llch@redhat.com> 1.3-10
|
|
|
|
- Fixed ix86 package with ia32 emul support
|
2005-03-17 02:44:11 +00:00
|
|
|
|
2005-02-01 16:39:55 +00:00
|
|
|
* Tue Feb 01 2005 Leon Ho <llch@redhat.com> 1.3-9
|
|
|
|
- Sync what we have changed on the branches
|
|
|
|
Wed Nov 24 2004 Harald Hoyer <harald@redhat.com>
|
|
|
|
- added post section to recreate the softlink in emul mode (bug 140739)
|
|
|
|
Mon Nov 15 2004 Phil Knirsch <pknirsch@redhat.com>
|
|
|
|
Tiny correction of bug in new triggers
|
|
|
|
|
2005-02-01 16:32:45 +00:00
|
|
|
* Mon Jan 24 2005 Leon Ho <llch@redhat.com> 1.3-8
|
|
|
|
- Add support provide on lsb-core-* for each arch
|
|
|
|
|
|
|
|
* Fri Jan 21 2005 Leon Ho <llch@redhat.com> 1.3-7
|
|
|
|
- Add to support multiple LSB test suite version
|
|
|
|
- Add %endif in trigger postun
|
|
|
|
|
2004-11-11 13:03:25 +00:00
|
|
|
* Thu Nov 11 2004 Phil Knirsch <pknirsch@redhat.com> 1.3-6
|
|
|
|
- Fixed invalid sln call for trigger in postun on ia64 (#137647)
|
|
|
|
|
2004-09-09 11:28:17 +00:00
|
|
|
* Mon Aug 09 2004 Phil Knirsch <pknirsch@redhat.com> 1.3-4
|
|
|
|
- Bump release and rebuilt for RHEL4.
|
|
|
|
|
|
|
|
* Thu Jul 24 2003 Matt Wilson <msw@redhat.com> 1.3-3
|
|
|
|
- fix lsb ld.so name for ia64 (#100613)
|
|
|
|
|
|
|
|
* Fri May 23 2003 Matt Wilson <msw@redhat.com> 1.3-2
|
|
|
|
- use /usr/lib/lsb for install_initd, remove_initd
|
|
|
|
|
|
|
|
* Fri May 23 2003 Matt Wilson <msw@redhat.com> 1.3-2
|
|
|
|
- add ia64 x86_64 ppc ppc64 s390 s390x
|
|
|
|
|
2004-09-09 11:27:09 +00:00
|
|
|
* Tue Feb 18 2003 Matt Wilson <msw@redhat.com> 1.3-1
|
|
|
|
- 1.3
|
|
|
|
|
2004-09-09 11:26:16 +00:00
|
|
|
* Wed Sep 4 2002 Matt Wilson <msw@redhat.com>
|
|
|
|
- 1.2.0
|
|
|
|
|
2004-09-09 11:25:42 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 11:25:40 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 11:25:32 +00:00
|
|
|
* Wed Mar 27 2002 Matt Wilson <msw@redhat.com>
|
|
|
|
- addeed trigger on glibc to re-establish the ld-lsb.so.1 symlink in the
|
|
|
|
forced downgrade case.
|
|
|
|
|
2004-09-09 11:25:23 +00:00
|
|
|
* Tue Mar 12 2002 Bill Nottingham <notting@redhat.com>
|
|
|
|
- add initscripts support
|
|
|
|
|
|
|
|
* Thu Jan 24 2002 Matt Wilson <msw@redhat.com>
|
|
|
|
- Initial build.
|
|
|
|
|