%_usr /usr
%_usrsrc %{_usr}/src
%_var /var
%__awk gawk
%__bzip2 /usr/bin/bzip2
%__cat /bin/cat
%__chgrp /bin/chgrp
%__chmod /bin/chmod
%__chown /bin/chown
%__cp /bin/cp
%__cpio /bin/cpio
%__file /usr/bin/file
%__gpg /usr/bin/gpg
%__grep /bin/grep
%__gzip /usr/bin/gzip
%__id /usr/bin/id
%__install /usr/bin/install
%__ln_s ln -s
%__lzma /usr/bin/lzma
%__make /usr/bin/make
%__mkdir /bin/mkdir
%__mkdir_p /bin/mkdir -p
%__mv /bin/mv
%__patch /usr/bin/patch
%__perl /usr/bin/perl
%__pgp /usr/bin/pgp
%__python /usr/bin/python
%__rm /bin/rm
%__rsh /usr/bin/rsh
%__sed /bin/sed
%__ssh /usr/bin/ssh
%__tar /bin/tar
%__unzip /usr/bin/unzip
%__ar ar
%__as as
%__cc gcc
%__cpp gcc -E
%__cxx g++
%__ld /usr/bin/ld
%__nm /usr/bin/nm
%__objcopy /usr/bin/objcopy
%__objdump /usr/bin/objdump
%__ranlib ranlib
%__remsh %{__rsh}
%__strip /usr/bin/strip
%__libtoolize libtoolize
%__aclocal aclocal
%__autoheader autoheader
%__automake automake
%__autoconf autoconf
%defined() %{expand:%%{?%{1}:1}%%{!?%{1}:0}}
%undefined() %{expand:%%{?%{1}:0}%%{!?%{1}:1}}
%with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
%without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
%bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
%bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}
%_builddir %{_topdir}/BUILD
%_buildshell /bin/sh
%_bzip2bin %{__bzip2}
%_dbpath %{_var}/lib/rpm
%_dbpath_rebuild %{_dbpath}
%_defaultdocdir %{_usr}/doc
%_gzipbin %{__gzip}
%_instchangelog 5
%_pgpbin %{__pgp}
%_rpmdir %{_topdir}/RPMS
%_rpmfilename %{_build_name_fmt}
%_signature gpg
%_sourcedir %{_topdir}/SOURCES
%_specdir %{_topdir}/SPECS
%_srcrpmdir %{_topdir}/SRPMS
%_tmppath %{_var}/tmp
%_topdir %{_usrsrc}/redhat
%_unzipbin %{__unzip}
%_install_script_path /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
%_install_langs all
%_javadir %{_datadir}/java
%_javadocdir %{_datadir}/javadoc
%_query_selector_match default
%_default_patch_fuzz -1
%_package_version 30005
%__check_files /usr/lib/rpm/check-files %{buildroot}
%_unpackaged_files_terminate_build 1
%_missing_doc_files_terminate_build 1
%_use_internal_dependency_generator 1
%_filter_GLIBC_PRIVATE 0
%__file_context_path /etc/selinux/%{__policy_tree}/contexts/files/file_contexts
%_build_file_context_path %{nil}
%_install_file_context_path %{__file_context_path}
%_verify_file_context_path %{__file_context_path}
%__find_provides /usr/lib/rpm/find-provides
%__find_requires /usr/lib/rpm/find-requires
%__perl_provides /usr/lib/rpm/perl.prov
%__perl_requires /usr/lib/rpm/perl.req
%__python_provides /usr/lib/rpm/pythondeps.sh --provides
%__python_requires /usr/lib/rpm/pythondeps.sh --requires
%__mono_provides /usr/lib/rpm/mono-find-provides %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir}
%__mono_requires /usr/lib/rpm/mono-find-requires %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir}
%__dbi_cdb create cdb mpool mp_mmapsize=16Mb mp_size=1Mb
%__dbi_other %{?_tmppath:tmpdir=%{_tmppath}} %{?__dbi_cdb}
%__dbi_rebuild nofsync !log !txn !cdb
%__dbi_transient %{__dbi_rebuild} temporary private
%__dbi_perms perms=0644
%__dbi_htconfig_current %{__dbi_htconfig}
%__dbi_htconfig_rebuild %{__dbi_htconfig} %{__dbi_rebuild}
%__dbi_btconfig_current %{__dbi_btconfig}
%__dbi_btconfig_rebuild %{__dbi_btconfig} %{__dbi_rebuild}
%_dbi_tags Packages:Name:Basenames:Group:Requirename:Providename:Conflictname:Triggername:Dirnames:Requireversion:Provideversion:Installtid:Sigmd5:Sha1header:Filemd5s:Depends:Pubkeys
%_dbi_config_Packages %{_dbi_htconfig} lockdbfd
%_dbi_config_Depends %{_dbi_htconfig} temporary private
%_dbi_config_Dirnames %{_dbi_btconfig}
%_dbi_config_Requireversion %{_dbi_btconfig}
%_dbi_config_Provideversion %{_dbi_btconfig}
%_dbi_config_Installtid %{_dbi_btconfig}
%_dbi_config_Removetid %{_dbi_btconfig}
%_dbi_config %{_dbi_htconfig}
%_dbapi 3
%_dbapi_rebuild 3
%_build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
%_transaction_color 3
%_autorelocate_path %{nil}
%_autorelocate_dcolor 0
%_repackage_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
%_repackage_dir /var/spool/repackage
%_repackage_root %{nil}
%_repackage_all_erasures 0
%_rollback_transaction_on_failure 0
%__vsflags 0xf0000
%_vsflags_build %{__vsflags}
%_vsflags_erase %{__vsflags}
%_vsflags_install %{__vsflags}
%_vsflags_query %{__vsflags}
%_vsflags_rebuilddb %{__vsflags}
%_vsflags_up2date %{__vsflags}
%_vsflags_verify %{__vsflags}
%_query_all_fmt %%{name}-%%{version}-%%{release}
%_rpmlock_path %{_dbpath}/__db.000
%_bhpath file://localhost/mnt/dist
%_bhcoll @(7.3|7.2|7.1|7.1sbe|7.1k|7.0|7.01j|7.0j|7.0sbe|7.0tc|6.2|6.2ha|6.2ee|6.1|6.0|5.2|5.1|5.0)
%_bhN @(SRPMS|i386|alpha|sparc|s390|ia64)
%_bhVR RedHat
%_bhA RPMS
%_cache_dbpath /var/spool/up2date/cache
%_arch x86_64
%_build_arch x86_64
%_vendor redhat
%_os linux
%_gnu -gnu
%_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}%{?_gnu}
%optflags -O2
%__arch_install_post %{nil}
%__os_install_post %{___build_post}
%___build_shell %{?_buildshell:%{_buildshell}}%{!?_buildshell:/bin/sh}
%___build_args -e
%___build_cmd %{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{___build_shell} %{___build_args}
%{nil}
%__spec_prep_shell %{___build_shell}
%__spec_prep_args %{___build_args}
%__spec_prep_cmd %{___build_cmd}
%__spec_prep_pre %{___build_pre}
%__spec_prep_body %{___build_body}
%__spec_prep_post %{___build_post}
%__spec_build_shell %{___build_shell}
%__spec_build_args %{___build_args}
%__spec_build_cmd %{___build_cmd}
%__spec_build_pre %{___build_pre}
%__spec_build_body %{___build_body}
%__spec_build_post %{___build_post}
%__spec_install_shell %{___build_shell}
%__spec_install_args %{___build_args}
%__spec_install_cmd %{___build_cmd}
%__spec_install_pre %{___build_pre}
%__spec_install_body %{___build_body}
%__spec_check_shell %{___build_shell}
%__spec_check_args %{___build_args}
%__spec_check_cmd %{___build_cmd}
%__spec_check_pre %{___build_pre}
%__spec_check_body %{___build_body}
%__spec_check_post %{___build_post}
%__spec_clean_shell %{___build_shell}
%__spec_clean_args %{___build_args}
%__spec_clean_cmd %{___build_cmd}
%__spec_clean_pre %{___build_pre}
%__spec_clean_body %{___build_body}
%__spec_clean_post %{___build_post}
%__spec_rmbuild_shell %{___build_shell}
%__spec_rmbuild_args %{___build_args}
%__spec_rmbuild_cmd %{___build_cmd}
%__spec_rmbuild_pre %{___build_pre}
%__spec_rmbuild_body %{___build_body}
%__spec_rmbuild_post %{___build_post}
%_prefix /usr
%_exec_prefix %{_prefix}
%_bindir %{_exec_prefix}/bin
%_sbindir %{_exec_prefix}/sbin
%_libexecdir %{_exec_prefix}/libexec
%_datadir %{_prefix}/share
%_sysconfdir %{_prefix}/etc
%_sharedstatedir %{_prefix}/com
%_localstatedir %{_prefix}/var
%_lib lib
%_libdir %{_exec_prefix}/%{_lib}
%_includedir %{_prefix}/include
%_oldincludedir /usr/include
%_infodir %{_prefix}/info
%_mandir %{_prefix}/man
%_build %{_host}
%_build_alias %{_host_alias}
%_build_cpu %{_host_cpu}
%_build_vendor %{_host_vendor}
%_build_os %{_host_os}
%_host x86_64-redhat-linux-gnu
#/*! \page config_macros Default configuration: /usr/lib/rpm/macros
# \verbatim
#
# $Id: macros.in,v 1.154.2.6 2005/07/21 01:45:44 jbj Exp $
#
# This is a global RPM configuration file. All changes made here will
# be lost when the rpm package is upgraded. Any per-system configuration
# should be added to /etc/rpm/macros, while per-user configuration should
# be added to ~/.rpmmacros.
%_host_cpu x86_64
%_host_vendor redhat
%_host_os linux-gnu
%_target %{_host}
%_target_alias %{_host_alias}
%_target_cpu %{_host_cpu}
%_target_vendor %{_host_vendor}
%_target_os %{_host_os}
%requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
%perl_sitearch %(eval "`%{__perl} -V:installsitearch`"; echo $installsitearch)
%perl_sitelib %(eval "`%{__perl} -V:installsitelib`"; echo $installsitelib)
%perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)
%perl_privlib %(eval "`%{__perl} -V:installprivlib`"; echo $installprivlib)
%ix86 i386 i486 i586 i686 pentium3 pentium4 athlon geode
%arm armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l
%alpha alpha alphaev56 alphaev6 alphaev67
%find_lang /usr/lib/rpm/find-lang.sh %{buildroot}
=============================
ARCHITECTURE AND OS:
build arch : x86_64
compatible build archs: ia32e x86_64 noarch
build os : Linux
compatible build os's : linux
install arch : ia32e
install os : Linux
compatible archs : ia32e x86_64 em64t athlon noarch amd64 i686 i586 i486 i386 fat
compatible os's : linux
RPMRC VALUES:
macrofiles : /usr/lib/rpm/macros:/usr/lib/rpm/ia32e-linux/macros:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/ia32e-linux/macros:~/.rpmmacros
optflags : -O2 -g -m64 -mtune=generic
Features supported by rpmlib:
rpmlib(VersionedDependencies) = 3.0.3-1
PreReq:, Provides:, and Obsoletes: dependencies support versions.
rpmlib(CompressedFileNames) = 3.0.4-1
file name(s) stored as (dirName,baseName,dirIndex) tuple, not as path.
rpmlib(PayloadIsBzip2) = 3.0.5-1
package payload can be compressed using bzip2.
rpmlib(PayloadFilesHavePrefix) = 4.0-1
package payload file(s) have "./" prefix.
rpmlib(ExplicitPackageProvide) = 4.0-1
package name-version-release is not implicitly provided.
rpmlib(HeaderLoadSortsTags) = 4.0.1-1
header tags are always sorted after being loaded.
rpmlib(ScriptletInterpreterArgs) = 4.0.3-1
the scriptlet interpreter can use arguments from header.
rpmlib(PartialHardlinkSets) = 4.0.4-1
a hardlink file set may be installed without being complete.
rpmlib(ConcurrentAccess) = 4.1-1
package scriptlets may access the rpm database while installing.
rpmlib(BuiltinLuaScripts) = 4.2.2-1
internal support for lua scripts.
========================
不仅可以通过/usr/lib/rpm/macros查看RHEL 5.5 x64 RPM 默认宏定义,还可以通过命令rpm --showrc查看
[root@atyu30 SPECS]# rpm --showrc
-14: GNUconfigure(MCs:)
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS;
LDFLAGS="${LDFLAGS:-%{-s:-s}}" ; export LDFLAGS;
%{-C:_mydir="`pwd`"; %{-M: %{__mkdir} -p %{-C*};} cd %{-C*}}
dirs="`find ${_mydir} -name configure.in -print`"; export dirs;
for coin in `echo ${dirs}`
do
dr=`dirname ${coin}`;
if test -f ${dr}/NO-AUTO-GEN; then
:
else
macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE((.*)),1,gp' < ${coin}`;
( cd ${dr};
aclocalinclude="${ACLOCAL_FLAGS}";
for k in ${macrodirs}; do
if test -d ${k}; then
aclocalinclude="${aclocalinclude} -I ${k}";
##else
## echo "**Warning**: No such directory `${k}'. Ignored."
fi
done
if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then
if grep "sed.*POTFILES" configure.in >/dev/null; then
: do nothing -- we still have an old unmodified configure.in
else
test -r ${dr}/aclocal.m4 || touch ${dr}/aclocal.m4;
echo "no" | gettextize --force --copy;
test -r ${dr}/aclocal.m4 && %{__chmod} u+w ${dr}/aclocal.m4;
fi
fi
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
%{__libtoolize} --force --copy;
fi
aclocal ${aclocalinclude};
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
%{__autoheader};
fi
echo "Running automake --gnu ${am_opt} ...";
%{__automake} --add-missing --gnu ${am_opt};
%{__autoconf};
);
fi
done
%{-C:${_mydir}}%{!-C:.}/configure %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir} %* ;
%{-C:cd ${_mydir}; unset _mydir}
-14: ___build_args -e
-14: ___build_cmd %{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{___build_shell} %{___build_args}
-14: ___build_post exit 0
-14: ___build_pre
RPM_SOURCE_DIR="%{u2p:%{_sourcedir}}"
RPM_BUILD_DIR="%{u2p:%{_builddir}}"
RPM_OPT_FLAGS="%{optflags}"
RPM_ARCH="%{_arch}"
RPM_OS="%{_os}"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
RPM_DOC_DIR="%{_docdir}"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="%{name}"
RPM_PACKAGE_VERSION="%{version}"
RPM_PACKAGE_RELEASE="%{release}"
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
%{?buildroot:RPM_BUILD_ROOT="%{u2p:%{buildroot}}"
export RPM_BUILD_ROOT}
%{?_javaclasspath:CLASSPATH="%{_javaclasspath}"
export CLASSPATH}
PKG_CONFIG_PATH="%{_libdir}/pkgconfig:%{_datadir}/pkgconfig"
export PKG_CONFIG_PATH
%{verbose:set -x}%{!verbose:exec > /dev/null}
umask 022
cd %{u2p:%{_builddir}}
%{nil}
-14: ___build_shell %{?_buildshell:%{_buildshell}}%{!?_buildshell:/bin/sh}
-14: ___build_template #!%{___build_shell}
%{___build_pre}
%{nil}
-14: __aclocal aclocal
-14: __ar ar
-14: __arch_install_post %{nil}
-14: __as as
-14: __autoconf autoconf
-14: __autoheader autoheader
-14: __automake automake
-14: __awk gawk
-14: __bzip2 /usr/bin/bzip2
-14: __cat /bin/cat
-14: __cc gcc
-14: __check_files /usr/lib/rpm/check-files %{buildroot}
-14: __chgrp /bin/chgrp
-14: __chgrp_Rhf %{__chgrp} -Rhf
-14: __chmod /bin/chmod
-14: __chown /bin/chown
-14: __chown_Rhf %{__chown} -Rhf
-14: __cp /bin/cp
-14: __cpio /bin/cpio
-14: __cpp gcc -E
-14: __cxx g++
-14: __dbi_btconfig
btree
%{__dbi_other}
%{__dbi_perms}
%{nil}
-14: __dbi_btconfig_current %{__dbi_btconfig}
-14: __dbi_btconfig_rebuild %{__dbi_btconfig} %{__dbi_rebuild}
-14: __dbi_cdb create cdb mpool mp_mmapsize=16Mb mp_size=1Mb
-14: __dbi_htconfig
hash
%{__dbi_other}
%{__dbi_perms}
%{nil}
-14: __dbi_htconfig_current %{__dbi_htconfig}
-14: __dbi_htconfig_rebuild %{__dbi_htconfig} %{__dbi_rebuild}
-14: __dbi_other %{?_tmppath:tmpdir=%{_tmppath}} %{?__dbi_cdb}
-14: __dbi_perms perms=0644
-14: __dbi_rebuild nofsync !log !txn !cdb
-14: __dbi_transient %{__dbi_rebuild} temporary private
-14: __debug_install_post
/usr/lib/rpm/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}"
%{nil}
-14: __file /usr/bin/file
-14: __file_context_path /etc/selinux/%{__policy_tree}/contexts/files/file_contexts
-14: __find_provides /usr/lib/rpm/redhat/find-provides
-14: __find_requires /usr/lib/rpm/redhat/find-requires
-14: __global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-14: __gpg /usr/bin/gpg
-14: __gpg_check_password_cmd %{__gpg}
gpg --batch --no-verbose --passphrase-fd 3 -u "%{_gpg_name}" -so -
-14: __gpg_sign_cmd %{__gpg}
gpg --batch --no-verbose --no-armor --passphrase-fd 3 --no-secmem-warning
-u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename}
-14: __grep /bin/grep
-14: __gzip /usr/bin/gzip
-14: __id /usr/bin/id
-14: __id_u %{__id} -u
-14: __install /usr/bin/install
-14: __ld /usr/bin/ld
-14: __libtoolize libtoolize
-14: __ln_s ln -s
-14: __lzma /usr/bin/lzma
-14: __make /usr/bin/make
-14: __mkdir /bin/mkdir
-14: __mkdir_p /bin/mkdir -p
-14: __mono_provides /usr/lib/rpm/mono-find-provides %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir}
-14: __mono_requires /usr/lib/rpm/mono-find-requires %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir}
-14: __mv /bin/mv
-14: __nm /usr/bin/nm
-14: __objcopy /usr/bin/objcopy
-14: __objdump /usr/bin/objdump
-14: __os_install_post
/usr/lib/rpm/redhat/brp-compress
%{!?__debug_package:/usr/lib/rpm/redhat/brp-strip %{__strip}}
/usr/lib/rpm/redhat/brp-strip-static-archive %{__strip}
/usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump}
/usr/lib/rpm/brp-python-bytecompile
/usr/lib/rpm/redhat/brp-java-repack-jars
%{nil}
-14: __patch /usr/bin/patch
-14: __perl /usr/bin/perl
-14: __perl_provides /usr/lib/rpm/perl.prov
-14: __perl_requires /usr/lib/rpm/perl.req
-14: __pgp /usr/bin/pgp
-14: __pgp5_check_password_cmd %{__pgp}
pgps +batchmode=on +verbose=0 +armor=off "%{_pgp_name}" -f
-14: __pgp5_sign_cmd %{__pgp}
pgps +batchmode=on +verbose=0 +armor=off
"+myname=%{_pgp_name}" -b %{__plaintext_filename} -o %{__signature_filename}
-14: __pgp_check_password_cmd %{__pgp}
pgp +batchmode=on +verbose=0 "%{_pgp_name}" -sf
-14: __pgp_sign_cmd %{__pgp}
pgp +batchmode=on +verbose=0 +armor=off
"+myname=%{_pgp_name}" -sb %{__plaintext_filename} %{__signature_filename}
-14: __policy_tree %{expand:%%global __policy_tree %{lua:
t="targeted"
f = io.open("/etc/selinux/config")
if f then
for l in f:lines() do
if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end
end
f:close()
end
print (t)
}}%{__policy_tree}
-14: __prelink_undo_cmd /usr/sbin/prelink prelink -y library
-14: __python /usr/bin/python
-14: __python_provides /usr/lib/rpm/pythondeps.sh --provides
-14: __python_requires /usr/lib/rpm/pythondeps.sh --requires
-14: __ranlib ranlib
-14: __remsh %{__rsh}
-14: __rm /bin/rm
-14: __rsh /usr/bin/rsh
-14: __sed /bin/sed
-14: __spec_build_args %{___build_args}
-14: __spec_build_body %{___build_body}
-14: __spec_build_cmd %{___build_cmd}
-14: __spec_build_post %{___build_post}
-14: __spec_build_pre %{___build_pre}
-14: __spec_build_shell %{___build_shell}
-14: __spec_build_template #!%{__spec_build_shell}
%{__spec_build_pre}
%{nil}
-14: __spec_check_args %{___build_args}
-14: __spec_check_body %{___build_body}
-14: __spec_check_cmd %{___build_cmd}
-14: __spec_check_post %{___build_post}
-14: __spec_check_pre %{___build_pre}
-14: __spec_check_shell %{___build_shell}
-14: __spec_check_template #!%{__spec_check_shell}
%{__spec_check_pre}
%{nil}
-14: __spec_clean_args %{___build_args}
-14: __spec_clean_body %{___build_body}
-14: __spec_clean_cmd %{___build_cmd}
-14: __spec_clean_post %{___build_post}
-14: __spec_clean_pre %{___build_pre}
-14: __spec_clean_shell %{___build_shell}
-14: __spec_clean_template #!%{__spec_clean_shell}
%{__spec_clean_pre}
%{nil}
-14: __spec_install_args %{___build_args}
-14: __spec_install_body %{___build_body}
-14: __spec_install_cmd %{___build_cmd}
-14: __spec_install_post
%{?__debug_package:%{__debug_install_post}}
%{__arch_install_post}
%{__os_install_post}
%{nil}
-14: __spec_install_pre %{___build_pre}
-14: __spec_install_shell %{___build_shell}
-14: __spec_install_template #!%{__spec_install_shell}
%{__spec_install_pre}
%{nil}
-14: __spec_prep_args %{___build_args}
-14: __spec_prep_body %{___build_body}
-14: __spec_prep_cmd %{___build_cmd}
-14: __spec_prep_post %{___build_post}
-14: __spec_prep_pre %{___build_pre}
-14: __spec_prep_shell %{___build_shell}
-14: __spec_prep_template #!%{__spec_prep_shell}
%{__spec_prep_pre}
%{nil}
-14: __spec_rmbuild_args %{___build_args}
-14: __spec_rmbuild_body %{___build_body}
-14: __spec_rmbuild_cmd %{___build_cmd}
-14: __spec_rmbuild_post %{___build_post}
-14: __spec_rmbuild_pre %{___build_pre}
-14: __spec_rmbuild_shell %{___build_shell}
-14: __spec_rmbuild_template #!%{__spec_rmbuild_shell}
%{__spec_rmbuild_pre}
%{nil}
-14: __ssh /usr/bin/ssh
-14: __strip /usr/bin/strip
-14: __tar /bin/tar
-14: __unzip /usr/bin/unzip
-14: __vsflags 0xf0000
-14: _arch x86_64
-14: _autorelocate_dcolor 0
-14: _autorelocate_path %{nil}
-14: _bhA RPMS
-14: _bhN @(SRPMS|i386|alpha|sparc|s390|ia64)
-14: _bhVR RedHat
-14: _bhcoll @(7.3|7.2|7.1|7.1sbe|7.1k|7.0|7.01j|7.0j|7.0sbe|7.0tc|6.2|6.2ha|6.2ee|6.1|6.0|5.2|5.1|5.0)
-14: _bhpath file://localhost/mnt/dist
-14: _bindir %{_exec_prefix}/bin
-14: _build %{_host}
-14: _build_alias %{_host_alias}
-14: _build_arch x86_64
-14: _build_cpu %{_host_cpu}
-14: _build_file_context_path %{nil}
-14: _build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
-14: _build_os %{_host_os}
-14: _build_vendor %{_host_vendor}
-14: _builddir %{_topdir}/BUILD
-14: _buildshell /bin/sh
-14: _bzip2bin %{__bzip2}
-14: _cache_dbpath /var/spool/up2date/cache
-14: _datadir %{_prefix}/share
-14: _dbapi 3
-14: _dbapi_rebuild 3
-14: _dbi_btconfig
%{?_rpmdb_rebuild:%{__dbi_btconfig_rebuild}}
%{!?_rpmdb_rebuild:%{__dbi_btconfig_current}}
%{nil}
-14: _dbi_config %{_dbi_htconfig}
-14: _dbi_config_Depends %{_dbi_htconfig} temporary private
-14: _dbi_config_Dirnames %{_dbi_btconfig}
-14: _dbi_config_Installtid %{_dbi_btconfig}
-14: _dbi_config_Packages %{_dbi_htconfig} lockdbfd
-14: _dbi_config_Provideversion %{_dbi_btconfig}
-14: _dbi_config_Removetid %{_dbi_btconfig}
-14: _dbi_config_Requireversion %{_dbi_btconfig}
-14: _dbi_htconfig
%{?_rpmdb_rebuild:%{__dbi_htconfig_rebuild}}
%{!?_rpmdb_rebuild:%{__dbi_htconfig_current}}
%{nil}
-14: _dbi_tags Packages:Name:Basenames:Group:Requirename:Providename:Conflictname:Triggername:Dirnames:Requireversion:Provideversion:Installtid:Sigmd5:Sha1header:Filemd5s:Depends:Pubkeys
-14: _dbpath %{_var}/lib/rpm
-14: _dbpath_rebuild %{_dbpath}
-14: _default_patch_fuzz -1
-14: _defaultdocdir %{_usr}/share/doc
-14: _dependency_whiteout
%{nil}
-14: _desktopdir %{_datadir}/applications
-14: _enable_debug_packages 1
-14: _exec_prefix %{_prefix}
-14: _filter_GLIBC_PRIVATE 0
-14: _fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} root
-14: _fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
-14: _fixperms %{__chmod} -Rf a+rX,u+w,g-w,o-w
-14: _gcj_support 1
-14: _gnu -gnu
-14: _gzipbin %{__gzip}
-14: _hkp_keyserver %{nil}
-14: _host x86_64-redhat-linux-gnu
-14: _host_alias %{nil}
-14: _host_cpu x86_64
-14: _host_os linux-gnu
-14: _host_vendor redhat
-14: _i18ndomains redhat-dist
-14: _icons16dir %{_iconsbasedir}/16x16/apps
-14: _icons192dir %{_iconsbasedir}/192x192/apps
-14: _icons22dir %{_iconsbasedir}/22x22/apps
-14: _icons48dir %{_iconsbasedir}/48x48/apps
-14: _icons64dir %{_iconsbasedir}/64x64/apps
-14: _icons96dir %{_iconsbasedir}/96x96/apps
-14: _iconsbasedir %{_datadir}/icons/%{_iconstheme}
-14: _iconsdir %{_datadir}/icons
-14: _iconsscaldir %{_iconsbasedir}/scalable/apps
-14: _iconstheme hicolor
-14: _includedir %{_prefix}/include
-14: _infodir /usr/share/info
-14: _initrddir %{_sysconfdir}/rc.d/init.d
-14: _install_file_context_path %{__file_context_path}
-14: _install_langs all
-14: _install_script_path /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
-14: _instchangelog 5
-14: _javadir %{_datadir}/java
-14: _javadocdir %{_datadir}/javadoc
-14: _jnidir %{_prefix}/lib/java
-14: _jvmcommondatadir %{_datadir}/jvm-commmon
-14: _jvmcommonlibdir %{_prefix}/lib/jvm-commmon
-14: _jvmcommonsysconfdir %{_sysconfdir}/jvm-commmon
-14: _jvmdatadir %{_datadir}/jvm
-14: _jvmdir %{_prefix}/lib/jvm
-14: _jvmjardir %{_prefix}/lib/jvm-exports
-14: _jvmlibdir %{_prefix}/lib/jvm
-14: _jvmprivdir %{_prefix}/lib/jvm-private
-14: _jvmsysconfdir %{_sysconfdir}/jvm
-14: _lib lib64
-14: _libdir %{_exec_prefix}/%{_lib}
-14: _libexecdir %{_exec_prefix}/libexec
-14: _liconsdir %{_datadir}/icons/large
-14: _localstatedir /var
-14: _mandir /usr/share/man
-14: _mavendepmapdir /etc/maven
-14: _mavendepmapfragdir /etc/maven/fragments
-14: _menudir %{_prefix}/lib/menu
-14: _miconsdir %{_datadir}/icons/mini
-14: _missing_doc_files_terminate_build 1
-14: _multilibno 2
-14: _multilibpatt (/%{_lib}|/usr/%{_lib}(|/gconv)|/usr/local/%{_lib}|/usr/X11R6/%{_lib}|/opt/%{_lib})/[^/]*\.([oa]|la|so[0-9.]*)$
-14: _oldincludedir /usr/include
-14: _os linux
-14: _package_version 30005
-14: _pgpbin %{__pgp}
-15: _preScriptEnvironment
RPM_SOURCE_DIR="%{_sourcedir}"
RPM_BUILD_DIR="%{_builddir}"
RPM_OPT_FLAGS="%{optflags}"
RPM_ARCH="%{_arch}"
RPM_OS="%{_os}"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
RPM_DOC_DIR="%{_docdir}"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="%{name}"
RPM_PACKAGE_VERSION="%{version}"
RPM_PACKAGE_RELEASE="%{release}"
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
%{?buildroot:RPM_BUILD_ROOT="%{buildroot}"
export RPM_BUILD_ROOT
}
-14: _prefix /usr
-14: _query_all_fmt %%{name}-%%{version}-%%{release}
-14: _query_selector_match default
-14: _repackage_all_erasures 0
-14: _repackage_dir /var/spool/repackage
-14: _repackage_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
-14: _repackage_root %{nil}
-14: _rollback_transaction_on_failure 0
-14: _rpmdir %{_topdir}/RPMS
-14: _rpmfilename %{_build_name_fmt}
-14: _rpmlock_path %{_dbpath}/__db.000
-14: _sbindir %{_exec_prefix}/sbin
-14: _sharedstatedir %{_prefix}/com
-14: _signature gpg
-14: _smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \
&& RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \
[ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS")
-14: _sourcedir %{_topdir}/SOURCES
-14: _specdir %{_topdir}/SPECS
-14: _srcrpmdir %{_topdir}/SRPMS
-14: _sysconfdir /etc
-11: _target x86_64-linux
-14: _target_alias %{_host_alias}
-11= _target_cpu x86_64
-11= _target_os linux
-14: _target_platform %{_target_cpu}-%{_vendor}-%{_target_os}%{?_gnu}
-14: _target_vendor %{_host_vendor}
-14: _tmppath %{_var}/tmp
-14: _topdir %{_usrsrc}/redhat
-14: _transaction_color 3
-14: _unpackaged_files_terminate_build 1
-14: _unzipbin %{__unzip}
-14: _use_internal_dependency_generator 1
-14: _usr /usr
-14: _usrsrc %{_usr}/src
-14: _var /var
-14: _vendor redhat
-14: _verify_file_context_path %{__file_context_path}
-14: _vsflags_build %{__vsflags}
-14: _vsflags_erase %{__vsflags}
-14: _vsflags_install %{__vsflags}
-14: _vsflags_query %{__vsflags}
-14: _vsflags_rebuilddb %{__vsflags}
-14: _vsflags_up2date %{__vsflags}
-14: _vsflags_verify %{__vsflags}
-14: add_jvm_extension JAVA_LIBDIR=%{buildroot}/%{_javadir} %{_bindir}/jvmjar -l
-14: add_to_maven_depmap
install -dm 755 $RPM_BUILD_ROOT/%{_mavendepmapfragdir}
cat >>$RPM_BUILD_ROOT/%{_mavendepmapfragdir}/%{name}<< EOF
%1
%2
%3
%4
%5
%3
EOF
%{nil}
-14: alpha alpha alphaev56 alphaev6 alphaev67
-14: ant JAVA_HOME=%{java_home} ant
-14: arm armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l
-14: bcond_with %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
-14: bcond_without %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}
-14: build %%build
LANG=C
export LANG
unset DISPLAY
%{nil}
-14: configure
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ;
for i in $(find . -name config.guess -o -name config.sub) ; do
[ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i ;
done ;
./configure --build=%{_build} --host=%{_host} \
--target=%{_target_platform} \
--program-prefix=%{?_program_prefix} \
--prefix=%{_prefix} \
--exec-prefix=%{_exec_prefix} \
--bindir=%{_bindir} \
--sbindir=%{_sbindir} \
--sysconfdir=%{_sysconfdir} \
--datadir=%{_datadir} \
--includedir=%{_includedir} \
--libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \
--localstatedir=%{_localstatedir} \
--sharedstatedir=%{_sharedstatedir} \
--mandir=%{_mandir} \
--infodir=%{_infodir}
-14: debug_package
%ifnarch noarch
%global __debug_package 1
%package debuginfo
Summary: Debug information for package %{name}
Group: Development/Debug
%description debuginfo
This package provides debug information for package %{name}.
Debug information is useful when developing applications that use this
package or when debugging this package.
%files debuginfo -f debugfiles.list
%defattr(-,root,root)
%endif
%{nil}
-14: defined %{expand:%%{?%{1}:1}%%{!?%{1}:0}}
-14: find_lang /usr/lib/rpm/redhat/find-lang.sh %{buildroot}
-14: install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}
%%install
LANG=C
export LANG
unset DISPLAY
%{nil}
-14: ix86 i386 i486 i586 i686 pentium3 pentium4 athlon geode
-14: jar %{java_home}/bin/jar
-14: java %(. %{_javadir}-utils/java-functions; set_javacmd; echo $JAVACMD)
-14: java_home %(. %{_javadir}-utils/java-functions; set_jvm; echo $JAVA_HOME)
-14: javac %{java_home}/bin/javac
-14: javadoc %{java_home}/bin/javadoc
-14: jpackage_script
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
cat > $RPM_BUILD_ROOT%{_bindir}/%5 << EOF
#!/bin/sh
#
# %{name} script
# JPackage Project <
# Source functions library
. %{_javadir}-utils/java-functions
# Source system prefs
if [ -f %{_sysconfdir}/java/%{name}.conf ] ; then
. %{_sysconfdir}/java/%{name}.conf
fi
# Source user prefs
if [ -f \$HOME/.%{name}rc ] ; then
. \$HOME/.%{name}rc
fi
# Configuration
MAIN_CLASS=%1
BASE_FLAGS=%2
BASE_OPTIONS=%3
BASE_JARS="%(echo %4 | sed -e 's,:, ,g')"
# Set parameters
set_jvm
set_classpath \$BASE_JARS
set_flags \$BASE_FLAGS
set_options \$BASE_OPTIONS
# Let's start
run "\$@"
EOF
-14: kernel_module_package(n:v:r:s:f:xp:) %{expand:%(
%define kmodtool %{-s*}%{!-s:/usr/lib/rpm/redhat/kmodtool}
%define kmp_version %{-v*}%{!-v:%{version}}
%define kmp_release %{-r*}%{!-r:%{release}}
%define latest_kernel %(rpm -q --qf '%{VERSION}-%{RELEASE}\\n' `rpm -q kernel-devel | /usr/lib/rpm/redhat/rpmsort -r | head -n 1` | head -n 1)
%{!?kernel_version:%{expand:%%global kernel_version %{latest_kernel}}}
%global kverrel %(%{kmodtool} verrel %{?kernel_version} 2>/dev/null)
flavors="default"
if [ "i686" == "%{_target_cpu}" ]
then
xenver=$(rpm -q kernel-xen-devel-%{kverrel}|head -n 1)
kdver=$(rpm -q kernel-kdump-devel-%{kverrel}|head -n 1)
paever=$(rpm -q kernel-PAE-devel-%{kverrel}|head -n 1)
if [ "kernel-xen-devel-%{kverrel}" == "$xenver" ]
then
flavors="$flavors xen"
fi
if [ "kernel-kdump-devel-%{kverrel}" == "$kdver" ]
then
flavors="$flavors kdump"
fi
if [ "kernel-PAE-devel-%{kverrel}" == "$paever" ]
then
flavors="$flavors PAE"
fi
fi
if [ "x86_64" == "%{_target_cpu}" ]
then
xenver=$(rpm -q kernel-xen-devel-%{kverrel}|head -n 1)
if [ "kernel-xen-devel-%{kverrel}" == "$xenver" ]
then
flavors="$flavors xen"
fi
fi
if [ "ppc64" == "%{_target_cpu}" ] || [ "ppc64iseries" == "%{_target_cpu}" ]
then
kdver=$(rpm -q kernel-kdump-devel-%{kverrel}|head -n 1)
if [ "kernel-kdump-devel-%{kverrel}" == "$kdver" ]
then
flavors="$flavors kdump"
fi
fi
if [ "ia64" == "%{_target_cpu}" ]
then
xenver=$(rpm -q kernel-xen-devel-%{kverrel}|head -n 1)
if [ "kernel-xen-devel-%{kverrel}" == "$xenver" ]
then
flavors="$flavors xen"
fi
fi
if [ -z "%*" ]; then
flavors_to_build=$flavors
elif [ -z "%{-x}" ]; then
flavors_to_build="%*"
else
flavors_to_build=" $flavors "
echo "[$flavors_to_build]" >/tmp/tmp.txt
for i in %*
do
flavors_to_build=${flavors_to_build//$i /}
done
fi
echo "%%global flavors_to_build ${flavors_to_build:-%%nil}"
echo "%%global kernel_source() /usr/src/kernels/%kverrel-\$([ %%%%{1} = default ] || echo "%%%%{1}-")%_target_cpu"
if [ ! -z "%{-f*}" ]
then
filelist="%{-f*}"
fi
if [ ! -z "%{-p*}" ]
then
preamble="%{-p*}"
fi
if [ -z "%{kmodtool_generate_buildreqs}" ]
then
nobuildreqs="yes"
fi
if [ ! -z "%{-v*}" ]
then
kmp_version="%{kmp_version}"
fi
if [ ! -z "%{-r*}" ]
then
kmp_release="%{kmp_release} "
fi
kmp_override_filelist="$filelist" kmp_override_preamble="$preamble" kmp_nobuildreqs="$buildreqs" kmp_version="$kmp_version" kmp_release="$kmp_release" %{kmodtool} rpmtemplate_kmp %{-n*}%{!-n:%name} %{kverrel} $flavors_to_build 2>/dev/null
)}
-14: kernel_module_package_buildreqs %global kmodtool_generate_buildreqs 1
kernel-devel
-14: makeinstall
%{__make} \
prefix=%{?buildroot:%{buildroot}}%{_prefix} \
exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \
bindir=%{?buildroot:%{buildroot}}%{_bindir} \
sbindir=%{?buildroot:%{buildroot}}%{_sbindir} \
sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir} \
datadir=%{?buildroot:%{buildroot}}%{_datadir} \
includedir=%{?buildroot:%{buildroot}}%{_includedir} \
libdir=%{?buildroot:%{buildroot}}%{_libdir} \
libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \
localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \
sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \
mandir=%{?buildroot:%{buildroot}}%{_mandir} \
infodir=%{?buildroot:%{buildroot}}%{_infodir} \
install
-14: mdkicons
install -D -m 644 %1-48.png $RPM_BUILD_ROOT%{_liconsdir}/%1.png
install -D -m 644 %1-32.png $RPM_BUILD_ROOT%{_iconsdir}/%1.png
install -D -m 644 %1-16.png $RPM_BUILD_ROOT%{_miconsdir}/%1.png
-14: mdkmenu
install -d -m 755 $RPM_BUILD_ROOT%{_menudir}
cat >$RPM_BUILD_ROOT%{_menudir}/%1 <
?package(%1):\
-14: nil %{!?nil}
-11: optflags %{__global_cflags} -m64 -mtune=generic
-14: perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)
-14: perl_privlib %(eval "`%{__perl} -V:installprivlib`"; echo $installprivlib)
-14: perl_sitearch %(eval "`%{__perl} -V:installsitearch`"; echo $installsitearch)
-14: perl_sitelib %(eval "`%{__perl} -V:installsitelib`"; echo $installsitelib)
-14: perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
-14: perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
-14: post_mdkmenu
%post mdkmenu
%{update_menus}
-14: postun_mdkmenu
%postun mdkmenu
%{clean_menus}
-14: prep
%%prep
LANG=C
export LANG
unset DISPLAY
%{nil}
-14: requires_eq %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
-14: rhicons
install -D -m 644 %1-48.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
install -D -m 644 %1-32.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
install -D -m 644 %1-16.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
-14: rhmenu
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/%4
cat >$RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/%4/%1.desktop <[Desktop Entry]
Name=%6
Comment=%7
Exec=%2
Terminal=%3
Type=%9
Icon=%8
EOF
-15: sigtype none
-14: undefined %{expand:%%{?%{1}:0}%%{!?%{1}:1}}
-14: update_maven_depmap
echo -e "\n" > %{_mavendepmapdir}/maven2-depmap.xml
if [ -d %{_mavendepmapfragdir} ] && [ -n "`find %{_mavendepmapfragdir} -type f`" ]; then
cat %{_mavendepmapfragdir}/* >> %{_mavendepmapdir}/maven2-depmap.xml
fi
echo -e "\n" >> %{_mavendepmapdir}/maven2-depmap.xml
-14: with %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
-14: without %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
======================== active 324 empty 0