ARCHITECTURE AND OS: build arch : x86_64 compatible build archs: x86_64 noarch build os : Linux compatible build os's : Linux install arch : x86_64 install os : Linux compatible archs : x86_64 amd64 em64t athlon noarch i686 i586 i486 i386 fat compatible os's : Linux RPMRC VALUES: optflags : -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables Features supported by rpmlib: rpmlib(BuiltinLuaScripts) = 4.2.2-1 rpmlib(CompressedFileNames) = 3.0.4-1 rpmlib(ConcurrentAccess) = 4.1-1 rpmlib(ExplicitPackageProvide) = 4.0-1 rpmlib(FileDigests) = 4.6.0-1 rpmlib(HeaderLoadSortsTags) = 4.0.1-1 rpmlib(PartialHardlinkSets) = 4.0.4-1 rpmlib(PayloadFilesHavePrefix) = 4.0-1 rpmlib(PayloadIsBzip2) = 3.0.5-1 rpmlib(PayloadIsLzma) = 4.4.2-1 rpmlib(PayloadIsXz) = 5.2-1 rpmlib(ScriptletInterpreterArgs) = 4.0.3-1 rpmlib(VersionedDependencies) = 3.0.3-1 ======================== -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 --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 LANG=C export LANG unset CDPATH DISPLAY ||: %{?buildroot:RPM_BUILD_ROOT="%{u2p:%{buildroot}}" export RPM_BUILD_ROOT} %{?_javaclasspath:CLASSPATH="%{_javaclasspath}" export CLASSPATH} %{verbose:set -x}%{!verbose:exec > /dev/null} umask 022 cd "%{u2p:%{_builddir}}" -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 /usr/lib/rpm/brp-lib64-linux -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 %{_rpmconfigdir}/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 /usr/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 %{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}" %{nil} -14: __desktop_provides %{_rpmconfigdir}/desktop-file.prov -14: __docdir_path %{_datadir}/doc:%{_datadir}/man:%{_datadir}/info:%{_datadir}/gtk-doc/html:%{?_docdir}:%{?_mandir}:%{?_infodir}:%{?_javadocdir}:/usr/doc:/usr/man:/usr/info:/usr/X11R6/man -14: __file /usr/bin/file -14: __file_context_path /etc/selinux/%{__policy_tree}/contexts/files/file_contexts -14: __find_provides %{__set_helper_env}%{_rpmconfigdir}/find-provides %name -14: __find_requires %{__set_helper_env}%{_rpmconfigdir}/find-requires %name -14: __find_supplements %{__set_helper_env}%{_rpmconfigdir}/find-supplements %name -14: __fontconfig_provides %{_rpmconfigdir}/fontconfig.prov -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 /usr/bin/grep -14: __gzip /usr/bin/gzip -14: __id /usr/bin/id -14: __id_u %{__id} -u -14: __install /usr/bin/install -14: __isa %{__isa_name}-%{__isa_bits} -14: __isa_bits 64 -14: __isa_name x86 -14: __ld /usr/bin/ld -14: __libtool_provides %{_rpmconfigdir}/libtooldeps.sh --provides %{buildroot} %{name} -14: __libtool_requires %{_rpmconfigdir}/libtooldeps.sh --requires %{buildroot} %{name} -14: __libtoolize libtoolize -14: __ln_s ln -s -14: __lzma %__xz --format=lzma -14: __make /usr/bin/make -14: __mkdir /bin/mkdir -14: __mkdir_p /bin/mkdir -p -14: __mono_provides %{_rpmconfigdir}/mono-find-provides %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir} -14: __mono_requires %{_rpmconfigdir}/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: __ocaml_provides %{_rpmconfigdir}/ocaml-find-provides.sh -14: __ocaml_requires %{_rpmconfigdir}/ocaml-find-requires.sh -14: __os_install_post %{?_suse_os_install_post}%{!?_suse_os_install_post: %{suse_check} /usr/lib/rpm/brp-compress /usr/lib/rpm/brp-symlink %{nil}} -14: __patch /usr/bin/patch -14: __perl /usr/bin/perl -14: __perl_provides %{_rpmconfigdir}/perl.prov -14: __perl_requires %{_rpmconfigdir}/perl.req -14: __pkgconfig_provides %{_rpmconfigdir}/pkgconfigdeps.sh --provides -14: __pkgconfig_requires %{_rpmconfigdir}/pkgconfigdeps.sh --requires -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: __python /usr/bin/python -14: __python_provides %{_rpmconfigdir}/pythondeps.sh --provides -14: __python_requires %{_rpmconfigdir}/pythondeps.sh --requires -14: __ranlib ranlib -14: __remsh %{__rsh} -14: __rm /bin/rm -14: __rsh /usr/bin/rsh -14: __sed /usr/bin/sed -14: __set_helper_env %{lua: posix.setenv("RPMBUILD_SPECFILE",rpm.expand("%?_specfile")); posix.setenv("RPMBUILD_SOURCEDIR",rpm.expand("%?_sourcedir")); } -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} %{?buildroot: %__rm -rf "$RPM_BUILD_ROOT" %__mkdir_p `dirname "$RPM_BUILD_ROOT"` %__mkdir "$RPM_BUILD_ROOT" } -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 rm -rf filelists -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: __urlhelper_proxyopts %{?_httpproxy:--proxy %{_httpproxy}%{?_httpport::%{_httpport}}}%{!?_httpproxy:%{nil}} -14: __urlhelpercmd /usr/bin/curl -14: __urlhelperopts --silent --show-error --fail --location -o -14: __vsflags 0xf0000 -14: __xz /usr/bin/xz -14: _add_gconf_schemas echo $SCHEMAS >>$GCONF_SCHEMAS_NAME.schemas_list echo "if test -f ${SCHEMAS#/} ; then ln -f ${SCHEMAS#/} usr/share/gconf/schemas/outdated/ else # Migration from /etc/gconf/schemas to /usr/share/gconf/schemas. Can be removed for openSUSE 12.2 if test -f etc/gconf/schemas/${SCHEMAS#/usr/share/gconf/schemas/} ; then # We do cp instead of ln since /usr and /etc might be on different partitions cp etc/gconf/schemas/${SCHEMAS#/usr/share/gconf/schemas/} usr/share/gconf/schemas/outdated/ fi fi" >>$GCONF_SCHEMAS_NAME.schemas_pre echo "if test -f usr/share/gconf/schemas/outdated/${SCHEMAS#/usr/share/gconf/schemas/}; then cmp --quiet usr/share/gconf/schemas/outdated/${SCHEMAS#/usr/share/gconf/schemas/} ${SCHEMAS#/} if test \$? != 0; then UNINSTALL_SCHEMA_FILES=\"\$UNINSTALL_SCHEMA_FILES usr/share/gconf/schemas/outdated/${SCHEMAS#/usr/share/gconf/schemas/}\" INSTALL_SCHEMA_FILES=\"\$INSTALL_SCHEMA_FILES ${SCHEMAS#/}\" else rm -f usr/share/gconf/schemas/outdated/${SCHEMAS#/usr/share/gconf/schemas/} fi else INSTALL_SCHEMA_FILES=\"\$INSTALL_SCHEMA_FILES ${SCHEMAS#/}\" fi" >>$GCONF_SCHEMAS_NAME.schemas_posttrans echo " if test -x usr/bin/gconftool-2 ; then if test -f usr/share/gconf/schemas/outdated/${SCHEMAS#/usr/share/gconf/schemas/} ; then usr/bin/gconftool-2 --makefile-uninstall-rule usr/share/gconf/schemas/outdated/${SCHEMAS#/usr/share/gconf/schemas/} >/dev/null elif test -f ${SCHEMAS#/} ; then usr/bin/gconftool-2 --makefile-uninstall-rule ${SCHEMAS#/} >/dev/null fi fi rm -f usr/share/gconf/schemas/outdated/${SCHEMAS#/usr/share/gconf/schemas/}" >>$GCONF_SCHEMAS_NAME.schemas_preun %{nil} -14: _arch x86_64 -14: _binaries_in_noarch_packages_terminate_build 1 -14: _binary_payload w5.lzdio -14: _binarychangelogtrim 0,1235862000,10 -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: _buildrootdir %{_topdir}/BUILDROOT -14: _buildshell /bin/sh -14: _bzip2bin %{__bzip2} -14: _changelog_trimtime 0 -14: _configure ./configure -14: _datadir %{_datarootdir} -14: _datarootdir %{_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} nofsync -14: _dbi_config_Depends %{_dbi_htconfig} temporary private nofsync -14: _dbi_config_Dirnames %{_dbi_btconfig} nofsync -14: _dbi_config_Installtid %{_dbi_btconfig} nofsync -14: _dbi_config_Packages %{_dbi_htconfig} lockdbfd -14: _dbi_config_Provideversion %{_dbi_btconfig} nofsync -14: _dbi_config_Removetid %{_dbi_btconfig} nofsync -14: _dbi_config_Requireversion %{_dbi_btconfig} nofsync -14: _dbi_htconfig %{?_rpmdb_rebuild:%{__dbi_htconfig_rebuild}} %{!?_rpmdb_rebuild:%{__dbi_htconfig_current}} %{nil} -14: _dbi_tags Packages:Name:Basenames:Group:Requirename:Providename:Conflictname:Obsoletename:Triggername:Dirnames:Requireversion:Provideversion:Installtid:Sigmd5:Sha1header:Filedigests:Depends:Pubkeys -14: _dbpath %{_var}/lib/rpm -14: _dbpath_rebuild %{_dbpath} -14: _default_patch_flags -s -14: _default_patch_fuzz 0 -14: _defaultdocdir %{_usr}/share/doc/packages -14: _dependency_whiteout %{nil} -14: _desktopdir %{_datadir}/applications -14: _docdir_fmt %%{NAME} -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: _gnu -gnu -14: _gzipbin %{__gzip} -14: _hkp_keyserver http://pgp.mit.edu -14: _hkp_keyserver_query %{_hkp_keyserver}:11371/pks/lookup?op=get&search=0x -14: _host x86_64-unknown-linux-gnu -14: _host_alias x86_64-unknown-linux-gnu%{nil} -14: _host_cpu x86_64 -14: _host_os linux -14: _host_vendor unknown -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 %{_prefix}/share/info -14: _initddir %{_sysconfdir}/init.d -14: _initrddir %{_initddir} -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: _isa %{?__isa:(%{__isa})}%{!?__isa:%{nil}} -14: _javadir %{_datadir}/java -14: _javadocdir %{_datadir}/javadoc -14: _jnidir %{_libdir}/java -14: _jvmcommondatadir %{_datadir}/jvm-commmon -14: _jvmcommonlibdir %{_prefix}/lib/jvm-commmon -14: _jvmcommonsysconfdir %{_sysconfdir}/jvm-commmon -14: _jvmdatadir %{_datadir}/jvm -14: _jvmdir %{_libdir}/jvm -14: _jvmjardir %{_libdir}/jvm-exports -14: _jvmlibdir %{_prefix}/lib/jvm -14: _jvmprivdir %{_libdir}/jvm-private -14: _jvmsysconfdir %{_sysconfdir}/jvm -14: _kde4_applicationsdir %{_kde4_prefix}/share/applications/kde4 -14: _kde4_appsdir %{_kde4_sharedir}/apps -14: _kde4_bindir %{_bindir} -14: _kde4_configdir %{_kde4_sharedir}/config -14: _kde4_docdir %{_kde4_prefix}/share/doc/kde -14: _kde4_htmldir %{_kde4_prefix}/share/doc/kde/HTML -14: _kde4_iconsdir %{_kde4_prefix}/share/icons -14: _kde4_includedir %{_kde4_prefix}/include -14: _kde4_libdir %{_libdir} -14: _kde4_libexecdir %{_libdir}/kde4/libexec -14: _kde4_mandir %{_kde4_prefix}/share/man -14: _kde4_modules %{_kde4_modulesdir} -14: _kde4_modulesdir %{_libdir}/kde4 -14: _kde4_prefix %{_prefix} -14: _kde4_sbindir %{_kde4_prefix}/sbin -14: _kde4_servicesdir %{_kde4_sharedir}/services -14: _kde4_servicetypes %{_kde4_servicetypesdir} -14: _kde4_servicetypesdir %{_kde4_sharedir}/servicetypes -14: _kde4_sharedir %{_kde4_prefix}/share/kde4 -14: _kde4_sysconfdir %{_sysconfdir} -14: _kde4_wallpapersdir %{_kde4_prefix}/share/wallpapers -14: _kde_akonadi_version 1.4.0 -14: _kde_build_type release -14: _kde_config_dir %{_kde4_configdir} -14: _kde_html_dir %{_kde4_htmldir} -14: _kde_libdir %{_kde4_libdir} -14: _kde_pimlibs_version 4.5.1 -14: _kde_platform_version 4.5.1 -14: _kde_prefix %{_kde4_prefix} -14: _kde_share_dir %{_kde4_sharedir} -14: _keyringpath %{_dbpath}/pubkeys/ -14: _lib lib64 -14: _libdir %{_prefix}/lib64 -14: _libexecdir %{_exec_prefix}/lib -14: _liconsdir %{_datadir}/icons/large -14: _localstatedir /var -14: _mandir %{_prefix}/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: _oldincludedir /usr/include -14: _os linux -14: _prefix /usr -14: _query_all_fmt %%{nvra} -14: _query_selector_match default -14: _rpmconfigdir %{getconfdir} -14: _rpmdir %{_topdir}/RPMS -14: _rpmfilename %{_build_name_fmt} -14: _rpmlock_path %{_dbpath}/.rpm.lock -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} -14: _target_vendor %{_host_vendor} -14: _tmppath %{_var}/tmp -14: _topdir %{_usrsrc}/packages -14: _transaction_color 0 -14: _unpackaged_files_terminate_build 1 -14: _unzipbin %{__unzip} -14: _urlhelper %{__urlhelpercmd} %{?__urlhelper_localopts} %{?__urlhelper_proxyopts} %{__urlhelperopts} -14: _use_internal_dependency_generator 0 -14: _usr /usr -14: _usrsrc %{_usr}/src -14: _var /var -14: _vendor suse -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_verify %{__vsflags} -14: add_gconf_schemas mkdir -p $RPM_BUILD_ROOT/usr/share/gconf/schemas SCHEMAS=/usr/share/gconf/schemas/%1.schemas mv $RPM_BUILD_ROOT/etc/gconf/schemas/%1.schemas ${RPM_BUILD_ROOT}${SCHEMAS} %_add_gconf_schemas %{nil} -14: add_jvm_extension JAVA_LIBDIR=%{buildroot}/%{_javadir} %{_bindir}/jvmjar -l -14: add_start_if_needed set -- %{?*} while [ ${#*} -gt 0 ] ; do SCRIPTNAME=$1 SV_VALUE=$2 shift 2 test -n "$SCRIPTNAME" -a -n "$SV_VALUE" || { echo "SCRIPTNAME or SV_VALUE unknown"; exit 1;} if test "$FIRST_ARG" = "1" -a "$SV_VALUE" = "no" ; then sbin/insserv ${YAST_IS_RUNNING:+-f} -r etc/init.d/$SCRIPTNAME elif test "$FIRST_ARG" = "1" -o "$FORCE_YES" = "1" ; then sbin/insserv ${YAST_IS_RUNNING:+-f} etc/init.d/$SCRIPTNAME fi done -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 armv5b armv5l armv5teb armv5tel armv5tejl armv6l armv7l -14: armb armv4b armv5b armv5teb -14: arml armv3l armv4l armv5l armv5tel armv6l armv7l -14: bcond_with %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} -14: bcond_without %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} -14: buildroot %{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch} -14: cflags_profile_feedback -fprofile-use -14: cflags_profile_generate -fprofile-generate -14: cmake_kde4(d:) export CFLAGS=$RPM_OPT_FLAGS export CXXFLAGS=$RPM_OPT_FLAGS export LDFLAGS="-Wl,-Bsymbolic-functions $LDFLAGS" _kde_libsuffix=$(echo %_lib | cut -b4-) test -n "`which icerun 2>/dev/null`" && icerun=" -DKDE4_SERIALIZE_TOOL=icerun" bdir=. %{-d:dir=%{-d*} mkdir $dir cd $dir bdir=.. } cmake -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=%{_kde4_prefix} \ -DLIBEXEC_INSTALL_DIR:PATH=%{_kde4_libexecdir} \ -DLIB_SUFFIX="$_kde_libsuffix" \ -DCMAKE_BUILD_TYPE=%{_kde_build_type} \ $icerun $bdir %* %{nil} -14: configure CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; %{_configure} --host=%{_host} --build=%{_build} \ --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: configure_kernel_source if test -d /usr/src/linux ; then pushd /usr/src/linux test -f .config || cp arch/%_arch/defconfig.default .config yes "" | make oldconfig make dep popd fi %nil -14: create_exclude_filelist pushd $RPM_BUILD_DIR/%buildsubdir/ for f in filelists/*; do case $f in filelists/exclude) ;; *) sed -e '/^%%defattr/d' -e 's/^%%exclude //' -e 's/^/%%exclude /' "$f";; esac done >filelists/exclude popd %{nil} -14: create_subdir_filelist(d:f:o:v:) %{!-d:echo -e "\nERROR: missing parameter for macro create_subdir_filelist\n" ; exit 1 ; } filelist=%{-f:%{-f*}}%{!-f:%{-d*}} filelist=${filelist#*/} if test -e doc/%{-d*}; then pushd doc/%{-d*} make DESTDIR=$RPM_BUILD_ROOT.%{-d*} install popd fi pushd %{-d*} make DESTDIR=$RPM_BUILD_ROOT.%{-d*} install mkdir -p $RPM_BUILD_DIR/%buildsubdir/filelists { echo "%%defattr(-,root,root,755)" if test -n "%{-v*}"; then devel_filelist=%{-v*} devel_filelist=${devel_filelist#*/} { echo "%%defattr(-,root,root,755)" find $RPM_BUILD_ROOT.%{-d*} \( \ -path "$RPM_BUILD_ROOT.%{-d*}/usr/include/*" \( -type f -o -type l \) -o \ -path "$RPM_BUILD_ROOT.%{-d*}/usr/share/kde4/apps/cmake/modules/*" -type f -o \ -name *.so -type l \) -printf "/%%P\n" } | tee -a $RPM_BUILD_DIR/%buildsubdir/filelists/$devel_filelist | sed -e '/^%%defattr/d' -e 's/^/%%exclude /' fi find $RPM_BUILD_ROOT.%{-d*} \ \( -path "$RPM_BUILD_ROOT.%{-d*}/usr/share/doc/kde/HTML/en/%{-d*}" -o \ -path "$RPM_BUILD_ROOT.%{-d*}/usr/share/doc/kde/HTML/en/%{-d*}/*" -o \ -path "$RPM_BUILD_ROOT.%{-d*}/usr/share/kde4/apps/%{-d*}" -o \ -path "$RPM_BUILD_ROOT.%{-d*}/usr/share/kde4/apps/%{-d*}/*" \) \ -type d -printf "%%%%dir /%%P\n" -o \ \( -type f -o -type l \) -printf "/%%P\n" } | sed -r "s/man\/man([1-9])\/(.*)\.[1-9]$/man\/man\1\/\2\.\1.gz/;s,^/usr/share/doc/kde/HTML/(.[^/])/,%%doc %%lang(\1) &," >> $RPM_BUILD_DIR/%buildsubdir/filelists/$filelist rm -rf $RPM_BUILD_ROOT.%{-d*} popd %{nil} -14: debug_package %global __debug_package 1 %package debugsource Summary: Debug sources for package %{name} Group: Development/Debug AutoReqProv: 0 %description debugsource This package provides debug sources for package %{name}. Debug sources are useful when developing applications that use this package or when debugging this package. %files debugsource -f debugsources.list %defattr(-,root,root) %{nil} -14: def_gconf_schemas if test -n "$GCONF_SCHEMAS_NAME" ; then %end_gconf_schemas fi GCONF_SCHEMAS_NAME=%1 echo '%defattr (644, root, root, 755)' >%1.schemas_list echo 'mkdir -p usr/share/gconf/schemas/outdated' >%1.schemas_pre echo 'export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` INSTALL_SCHEMA_FILES= UNINSTALL_SCHEMA_FILES=' >%1.schemas_posttrans echo 'if test "$1" == "0"; then if test -x usr/bin/gconftool-2 ; then export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` fi' >%1.schemas_preun %{nil} -14: defined %{expand:%%{?%{1}:1}%%{!?%{1}:0}} -14: do_profiling 1 -14: do_real_fillup TEMPLATE_DIR=var/adm/fillup-templates SYSC_TEMPLATE=$TEMPLATE_DIR/sysconfig.$PNAME SD_NAME="" %{sysc_fillup} -14: end_gconf_schemas echo 'if test "x$UNINSTALL_SCHEMA_FILES" != "x"; then usr/bin/gconftool-2 --makefile-uninstall-rule $UNINSTALL_SCHEMA_FILES >/dev/null rm -f $UNINSTALL_SCHEMA_FILES fi if test "x$INSTALL_SCHEMA_FILES" != "x"; then usr/bin/gconftool-2 --makefile-install-rule $INSTALL_SCHEMA_FILES >/dev/null fi rmdir usr/share/gconf/schemas/outdated 2>/dev/null || true' >>$GCONF_SCHEMAS_NAME.schemas_posttrans echo ' rmdir usr/share/gconf/schemas/outdated 2>/dev/null || true fi' >>$GCONF_SCHEMAS_NAME.schemas_preun %{nil} -14: ext_info .gz -14: ext_man .gz -14: fillup_and_insserv(finpsyY) %{-p:echo "-p option for fillup_and_insserv no longer supported (ever only used on SL8.0)"; exit 1;} %{-s:echo "STARTVAR for fillup_and_insserv no longer supported (rc.config is gone since SL8.0)"; exit 1;} test -n "$FIRST_ARG" || FIRST_ARG=$1 %{-Y:FORCE_YES=1}%{!-Y:FORCE_YES=0} set -- %{?*} %{-n:PNAME=$1 ; shift }%{!-n:PNAME=%{name}} INSSRV_ARRAY="" while [ ${#*} -gt 0 ] ; do SCRIPTNAME=$1 shift SV_B='^### BEGIN INIT INFO' SV_E='^### END INIT INFO' SV_KW=Default-Enabled SV_VALUE=`sed -n -e "/$SV_B/,/$SV_E/{/^# [^[:space:]]*$SV_KW:[[:space:]]*\([^[:space:]]*\).*/s//\1/p;}" < etc/init.d/$SCRIPTNAME` test "$FORCE_YES" = "1" && SV_VALUE="yes" test -n "$SV_VALUE" || SV_VALUE=%{-y:"yes"}%{!-y:"no"} INSSRV_ARRAY="$INSSRV_ARRAY $SCRIPTNAME $SV_VALUE" done %{!-f: %{do_real_fillup}} %{!-i: %{add_start_if_needed $INSSRV_ARRAY } } %nil -14: fillup_only(dans) %{-n:PNAME=%{1}}%{!-n:PNAME=%{name}} %{-s:SUBPNAME=-%{2}}%{!-s:SUBPNAME=%{-a:-%{name}}} TEMPLATE_DIR=var/adm/fillup-templates SYSC_TEMPLATE=$TEMPLATE_DIR/sysconfig.$PNAME$SUBPNAME SD_NAME="" %{-d:%{-s:SD_NAME=%{3}/}%{!-s:SD_NAME=%{2}/}} %{sysc_fillup} %nil -14: fillup_prereq fillup coreutils grep diffutils -14: find_gconf_schemas test -d $RPM_BUILD_ROOT/etc/gconf/schemas mkdir -p $RPM_BUILD_ROOT/usr/share/gconf/schemas %def_gconf_schemas %{name} for SCHEMAS in $RPM_BUILD_ROOT/etc/gconf/schemas/*.schemas ; do test -f $SCHEMAS SCHEMASFILENAME=${SCHEMAS#$RPM_BUILD_ROOT/etc/gconf/schemas/} NEWSCHEMAS=/usr/share/gconf/schemas/$SCHEMASFILENAME mv $SCHEMAS ${RPM_BUILD_ROOT}${NEWSCHEMAS} SCHEMAS=$NEWSCHEMAS %_add_gconf_schemas done %end_gconf_schemas %{nil} -14: find_lang %{_rpmconfigdir}/find-lang.sh %{buildroot} -14: gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils diffutils -14: gconf_schemas_requires Requires(pre): /usr/bin/gconftool-2 coreutils diffutils Requires(preun): /usr/bin/gconftool-2 coreutils diffutils Requires(posttrans): /usr/bin/gconftool-2 coreutils diffutils -14: info_add test -x /sbin/install-info -a -f %{?2}%{?!2:%{_infodir}}/%{1}%ext_info && /sbin/install-info --info-dir=%{?2}%{?!2:%{_infodir}} %{?2}%{?!2:%{_infodir}}/%{1}%ext_info %{nil} -14: info_del test -x /sbin/install-info -a ! -f %{?2}%{?!2:%{_infodir}}/%{1}%ext_info && /sbin/install-info --quiet --delete --info-dir=%{?2}%{?!2:%{_infodir}} %{?2}%{?!2:%{_infodir}}/%{1}%ext_info %{nil} -14: insserv_cleanup sbin/insserv etc/init.d -14: insserv_force_if_yast sbin/insserv ${YAST_IS_RUNNING:+-f} %{?*} -14: insserv_prereq insserv sed -14: install_info(:-:) ALL_ARGS=(%{**}) NUM_ARGS=${#ALL_ARGS[@]} if test -x sbin/install-info ; then if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then sbin/install-info "${ALL_ARGS[@]}" fi fi ; -14: install_info_delete(:-:) ALL_ARGS=(%{**}) NUM_ARGS=${#ALL_ARGS[@]} if test -x sbin/install-info ; then if ! test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then sbin/install-info --quiet --delete "${ALL_ARGS[@]}" fi ; fi ; -14: install_info_prereq info -14: install_mkinitrd /usr/bin/perl /sbin/mkinitrd_setup -14: is_plus %(if test -f /.buildenv ; then source /.buildenv ; if [[ "$BUILD_BASENAME" == *+kde ]] ; then echo 1 ; else echo 0 ; fi ; else echo 0 ; fi) -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: kde4_akonadi_requires Requires: akonadi-runtime >= %_kde_akonadi_version akonadi-runtime < 1.4.40 -14: kde4_makeinstall make DESTDIR=%{?buildroot:%{buildroot}} install/fast -14: kde4_pimlibs_requires Requires: kdepimlibs4 >= %_kde_pimlibs_version -14: kde4_runtime_requires Requires: kdebase4-runtime >= %_kde_platform_version libqt4-x11 >= 4.6.3 -14: kde_post_install if test -e /usr/lib/rpm/suse_update_desktop_file.sh; then find $RPM_BUILD_ROOT/usr/share \ -name '*.desktop' 2> /dev/null | while read file; do test -r "$file" || continue grep -q "^X-SuSE-translate=" "$file" && continue case "$file" in */.hidden/*) %suse_update_desktop_file -n "$file" ;; *) %suse_update_desktop_file "$file" ;; esac done fi %{nil} -14: lang_package(n:) %package %{-n:-n %{-n*}-}lang Summary: Languages for package %{name} Group: System/Localization Requires: %{-n:%{-n*}}%{!-n:%{name}} = %{version} Provides: %{-n:%{-n*}}%{!-n:%{name}}-lang-all = %{version} Supplements: packageand(bundle-lang-other:%{-n:%{-n*}}%{!-n:%{name}}) BuildArch: noarch %description %{-n:-n %{-n*}-}lang Provides translations to the package %{name} -14: make_install make install DESTDIR=%{?buildroot} -14: make_jobs %{__make} %{?_smp_mflags} VERBOSE=1 -14: makeinstall make DESTDIR=%{?buildroot:%{buildroot}} 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 %{nil} -14: mdkmenu install -d -m 755 $RPM_BUILD_ROOT%{_menudir} cat >$RPM_BUILD_ROOT%{_menudir}/%1 <> $FILES << EOF %dir ${1} EOF } # fgen_file func # IN: file fgen_file(){ %{__cat} >> $FILES << EOF ${1} EOF } # check for files in %{perl_vendorlib} RES=`find ${RPM_BUILD_ROOT}%{perl_vendorlib} -maxdepth 1 -type f` if [ -n "$RES" ]; then for file in $RES; do fgen_file "%{perl_vendorlib}/$(basename ${file})" done fi # get all dirs into array base_dir="${RPM_BUILD_ROOT}%{perl_vendorlib}/" for dir in `find ${base_dir} -type d | sort`; do if [ "$dir" = "${base_dir}" ]; then continue else el=`echo $dir | %{__awk} -F"${base_dir}" '{print $2}'` all_dir=(${all_dir[@]} $el) fi done # build filelist for i in ${all_dir[@]}; do # do not add "dir {perl_vendorlib/arch}/auto", included in perl package if [ "${i}" = "auto" ]; then continue fi if [ "%{perl_vendorlib}/${i}" = "%{perl_vendorarch}/auto" ]; then continue else if [ -d ${base_dir}/${i} ]; then RES=`find "${base_dir}/${i}" -maxdepth 1 -type f` if [ -n "$RES" ]; then fgen_dir "%{perl_vendorlib}/${i}" for file in $RES; do fgen_file "%{perl_vendorlib}/${i}/$(basename ${file})" done else fgen_dir "%{perl_vendorlib}/${i}" fi fi fi done # add man pages # if exist :) if [ -d "${RPM_BUILD_ROOT}%{_mandir}" ]; then fgen_file "%{_mandir}/man?/*" fi # add packlist file # generated fom perllocal.pod if [ -f "${RPM_BUILD_ROOT}/var/adm/perl-modules/%{name}" ]; then fgen_file "/var/adm/perl-modules/%{name}" fi # check for files in %{_bindir} if [ -d ${RPM_BUILD_ROOT}%{_bindir} ]; then RES=`find "${RPM_BUILD_ROOT}%{_bindir}" -maxdepth 1 -type f` if [ -n "$RES" ]; then for file in $RES; do fgen_file "%{_bindir}/$(basename ${file})" done fi fi -14: perl_installarchlib %(perl -V:installarchlib | sed "s!.*='!!;s!'.*!!") -14: perl_installman1dir %(perl -V:installman1dir | sed "s!.*='!!;s!'.*!!") -14: perl_installman3dir %(perl -V:installman3dir | sed "s!.*='!!;s!'.*!!") -14: perl_make_install make DESTDIR=$RPM_BUILD_ROOT install_vendor -14: perl_man1dir %(perl -V:man1dir | sed "s!.*='!!;s!'.*!!") -14: perl_man1ext %(perl -V:man1ext | sed "s!.*='!!;s!'.*!!") -14: perl_man3dir %(perl -V:man3dir | sed "s!.*='!!;s!'.*!!") -14: perl_man3ext %(perl -V:man3ext | sed "s!.*='!!;s!'.*!!") -14: perl_prefix %{buildroot} -14: perl_privlib %(eval "`%{__perl} -V:installprivlib`"; echo $installprivlib) -14: perl_process_packlist(n:) mkdir -p $RPM_BUILD_ROOT/var/adm/perl-modules test -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod && { sed -e "s@$RPM_BUILD_ROOT@@g" < $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod > $RPM_BUILD_ROOT/var/adm/perl-modules/%{-n:%{-n*}}%{!-n:%{name}} ; } ; test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/%perl_sitearch/auto && find $RPM_BUILD_ROOT/%perl_sitearch/auto -name .packlist -print0 | xargs -0 -r perl -spi -e "s@$RPM_BUILD_ROOT@@g" ; test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/%perl_vendorarch/auto && find $RPM_BUILD_ROOT/%perl_vendorarch/auto -name .packlist -print0 | xargs -0 -r perl -spi -e "s@$RPM_BUILD_ROOT@@g" ; rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod %nil -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: perl_version %(perl -V:version | sed "s!.*='!!;s!'.*!!") -14: post_mdkmenu %post mdkmenu %{update_menus} -14: postun_mdkmenu %postun mdkmenu %{clean_menus} -14: py_compile(O) find %1 -name '*.pyc' -exec rm -f {} \; python -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 %{-O: find %1 -name '*.pyo' -exec rm -f {} \; python -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 } -14: py_incdir %{py_prefix}/include/python%{py_ver} -14: py_libdir %{py_prefix}/%{_lib}/python%{py_ver} -14: py_prefix %(python -c "import sys; print sys.prefix" 2>/dev/null || echo PYTHON-NOT-FOUND) -14: py_requires(d) BuildRequires: /usr/bin/python %{-d:python-devel} PreReq: python = %{py_ver} -14: py_sitedir %{py_libdir}/site-packages -14: py_ver %(python -c "import sys; v=sys.version_info[:2]; print '%%d.%%d'%%v" 2>/dev/null || echo PYTHON-NOT-FOUND) -14: python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);") -14: python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib();") -14: python_version %(%{__python} -c "import sys; sys.stdout.write(sys.version[:3])") -14: rb_arch %(/usr/bin/ruby -e 'print RUBY_PLATFORM') -14: rb_archdir %{_libdir}/ruby/%{rb_ver}/%{rb_arch} -14: rb_dir %{_libdir}/ruby/ -14: rb_libdir %{_libdir}/ruby/%{rb_ver}/ -14: rb_sitearch %{rb_sitedir}/%{rb_ver}/%{rb_arch} -14: rb_sitedir %{_libdir}/ruby/site_ruby -14: rb_sitelib %{rb_sitedir}/%{rb_ver} -14: rb_vendorarch %{rb_vendordir}/%{rb_ver}/%{rb_arch} -14: rb_vendordir %{_libdir}/ruby/vendor_ruby -14: rb_vendorlib %{rb_vendordir}/%{rb_ver} -14: rb_ver %(/usr/bin/ruby -e 'puts VERSION.sub(/\.\d$/, "")') -14: remove_and_set(n:y) %{-n:PNAME=%{-n*}}%{!-n:PNAME=%{name}} DEF_VAL=%{-y:"yes"}%{!-y:"no"} DEL_TEMPL=var/adm/fillup-templates/$PNAME.del rm -f $DEL_TEMPL for var in %{?*} ; do echo -e "#\n$var=$DEF_VAL\n" >> $DEL_TEMPL done if [ -f etc/sysconfig/$PNAME ] ; then bin/fillup -q -t -r -i -d "=" etc/sysconfig/$PNAME $DEL_TEMPL etc/sysconfig/$PNAME.deleted.$$ test -f etc/sysconfig/$PNAME.new && mv etc/sysconfig/$PNAME.new etc/sysconfig/$PNAME fi for i in $DEL_TEMPL etc/sysconfig/$PNAME.deleted.$$ ; do if [ -f $i ] ; then . $i rm -f $i fi done -14: rename_sysconfig_variable(f:) %{!-f:echo "missing argument for rename_sysconfig_variable"; exit 1; }%{-f:FILE=%{-f*}} if [ -f $FILE ] ; then sed -i -e "s/^%{1}=/%{2}=/" $FILE fi -14: requires_eq %(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") -14: requires_ge %(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") -14: restart_on_update test -n "$FIRST_ARG" || FIRST_ARG=$1 if test "$FIRST_ARG" -ge 1 ; then test -f /etc/sysconfig/services && . /etc/sysconfig/services if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then for service in %{?*} ; do /etc/init.d/$service try-restart > /dev/null || : done fi fi %nil -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 %{nil} -14: rhmenu install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/%4 cat >$RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/%4/%1.desktop < /dev/null done fi fi %nil -14: supplements_kernel_module %{expand:%(if ! rpm -q kernel-syms > /dev/null; then echo "%fail Please add the kernel-syms package to BuildRequires"; fi)} -14: suse_check %{?buildroot:RPM_BUILD_ROOT="%{buildroot}" export RPM_BUILD_ROOT} test -x /usr/sbin/Check -a $UID = 0 -o -x /usr/sbin/Check -a ! -z "$RPM_BUILD_ROOT" && { echo "I call /usr/sbin/Check..." /usr/sbin/Check } -14: suse_install_update_message install -D -m 644 %1 %buildroot/var/adm/update-messages/%{name}-%{version}-%{release}-%(basename %1).txt %nil -14: suse_install_update_script install -D -m 755 %1 %buildroot/var/adm/update-scripts/%{name}-%{version}-%{release}-%(basename %1).txt %nil -14: suse_update_config(fcl) AUTOMAKE_DIR=/usr/share/automake [ -d $AUTOMAKE_DIR ] || AUTOMAKE_DIR=/usr/share/automake* %{!-c: [ -d $AUTOMAKE_DIR ] || { echo 'Please, install automake.' exit 1 } } for d in . %{?*}; do %{!-c: for f in config.sub config.guess; do if test -f $d/$f -a ! $d/$f -ef $AUTOMAKE_DIR/$f ; then %{!-f:[ $d/$f -nt $AUTOMAKE_DIR/$f ] ||} cp -f $AUTOMAKE_DIR/$f $d/$f fi if test -d $d -a ! -f $d/depcomp -a -f $AUTOMAKE_DIR/depcomp ; then cp -f $AUTOMAKE_DIR/depcomp $d/depcomp echo "please add depcomp to sources for new automake!" fi if test -f $d/missing -a ! $d/missing -ef $AUTOMAKE_DIR/missing ; then cp -f $AUTOMAKE_DIR/missing $d/missing fi done } %{!-l: for f in ltconfig ltmain.sh; do if test -f $d/$f; then sed 's/linux-gnu\([^*][^*]*\)\*/linux*\1*/g; s/linux-gnu/linux/g; s,/lib\>,/%_lib,g; s,/%_lib\([$-]\),/lib\1,g' $d/$f > $d/$f-$$ && mv -f $d/$f-$$ $d/$f chmod +x $d/$f fi done } done -14: suse_update_libdir if [ %_lib != lib ]; then for file in %{?*} ; do [ ! -e $file ] && echo "Error: $file does not exist!" && exit -1 [ -e $file.nolib64 ] && echo "Error: $file.nolib64 already exists!" && exit -1 cp $file $file.nolib64 echo "patching $file" sed -e "s,/lib\>,/%_lib,g" $file.nolib64 | sed -e "s,/%_lib/cpp,/lib/cpp,; s,/usr/%_lib/perl,/usr/lib/perl, ; s,/%_lib\([$-]\),/lib\1,g" > $file rm -f $file.nolib64 done; fi ; -14: suse_version 1130 -14: suseconfig_fonts_prereq perl aaa_base -14: sysc_fillup if [ -x bin/fillup ] ; then if [ -f $SYSC_TEMPLATE ] ; then echo "Updating etc/sysconfig/$SD_NAME$PNAME..." mkdir -p etc/sysconfig/$SD_NAME touch etc/sysconfig/$SD_NAME$PNAME bin/fillup -q etc/sysconfig/$SD_NAME$PNAME $SYSC_TEMPLATE fi else echo "ERROR: fillup not found. This should not happen. Please compare" echo "etc/sysconfig/$PNAME and $TEMPLATE_DIR/sysconfig.$PNAME and" echo "update by hand." fi -14: tcl_archdir %(echo 'puts [lindex $tcl_pkgPath 0]'|tclsh) -14: tcl_noarchdir %(echo 'puts [lindex $tcl_pkgPath 1]'|tclsh) -14: tcl_version %(echo 'puts [info tclversion]'|tclsh) -14: tclscriptdir %tcl_noarchdir -14: ul_version 0 -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 %{nil} -14: user_group_add /usr/sbin/groupadd -o -r %{1} 2>/dev/null || : /usr/sbin/useradd -o -r -g %{1} -d %{2} -s %{3} -c %{4} %{1} 2>/dev/null || : %{nil} -14: verify_permissions(e:f:) if test -f /etc/sysconfig/security ; then source /etc/sysconfig/security fi PERMFILES="/etc/permissions" for PERMEXT in $PERMISSION_SECURITY ; do if test -f /etc/permissions.$PERMEXT ; then PERMFILES="$PERMFILES /etc/permissions.$PERMEXT" fi done /usr/bin/chkstat -n %{**} $PERMFILES 1>&2 %nil -14: with %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} -14: without %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} ====================== 458 0