diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-10-18 15:40:49 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-10-18 15:40:49 +0200 |
commit | eed96d448dd5a241eef75fd8b0a5d468c26a0c20 (patch) | |
tree | 434a5e0fe05c42d7822016d639b98b6147e4973c /redhat | |
parent | 566a43b9c030ffcefcfafd104f0236371bf96736 (diff) | |
download | tde-packaging-eed96d448dd5a241eef75fd8b0a5d468c26a0c20.tar.gz tde-packaging-eed96d448dd5a241eef75fd8b0a5d468c26a0c20.zip |
RPM Packaging: update R14 packages
Diffstat (limited to 'redhat')
-rwxr-xr-x | redhat/build/build_rpm_package.sh | 26 | ||||
-rw-r--r-- | redhat/tdebase/tdebase-14.0.0.spec | 4 | ||||
-rw-r--r-- | redhat/tdelibs/tdelibs-14.0.0.spec | 2 | ||||
-rw-r--r-- | redhat/tdemultimedia/tdemultimedia-14.0.0.spec | 2 | ||||
-rw-r--r-- | redhat/tdewebdev/tdewebdev-14.0.0.spec | 4 |
5 files changed, 24 insertions, 14 deletions
diff --git a/redhat/build/build_rpm_package.sh b/redhat/build/build_rpm_package.sh index 9aae43d36..0e267111b 100755 --- a/redhat/build/build_rpm_package.sh +++ b/redhat/build/build_rpm_package.sh @@ -21,20 +21,27 @@ LOGFILE=/tmp/log.${COMP##*/} TEMPDIR="$(mktemp -d)" cp -f ${SPECFILE} ${SOURCES} ${TARBALL} "${TEMPDIR}" -# Check if there are patches +# Check if there are local patches PATCHDIR="${SPECFILE%/*}/patches/${TDE_VERSION}" PATCHLIST="${PATCHDIR}/patches" if [ -r "${PATCHLIST}" ]; then while read l; do + APPLY="" case "${l}" in ""|"#"*);; - *) - if [ -r "${PATCHDIR}/${l}" ]; then - echo "Applying patch '${l}'..." - cat "${PATCHDIR}/${l}" >>"${TEMPDIR}/one.patch" - fi - ;; + "*opensuse*") [ -r /etc/SuSE-release ] && APPLY=1;; + *) APPLY=1;; esac + + if [ "${APPLY}" ]; then + if [ -r "${PATCHDIR}/${l}" ]; then + echo "Applying patch '${l}'..." + cat "${PATCHDIR}/${l}" >>"${TEMPDIR}/one.patch" + else + echo "ERROR: invalid patch '${l}' !!" + exit 3 + fi + fi done < "${PATCHLIST}" fi @@ -62,9 +69,12 @@ rpmbuild -ba \ --define "tde_version ${TDE_VERSION}" \ --define "tde_prefix /opt/trinity" \ --define "preversion ${PREVERSION:-}" \ + --define "with_akode 1" \ --define "with_jack 1" \ + --define "with_lame 1" \ + --define "with_mad 1" \ + --define "with_mpeg 1" \ --define "with_xscreensaver 1" \ - ${ARGS} \ "${TEMPDIR}/${SPECFILE##*/}" RET=$? diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec index fb45a4ed7..b5cb67f64 100644 --- a/redhat/tdebase/tdebase-14.0.0.spec +++ b/redhat/tdebase/tdebase-14.0.0.spec @@ -113,7 +113,7 @@ Provides: tdebase = %{version}-%{release} PreReq: permissions %endif -%if 0%{?opensuse_bs} +%if 0%{?opensuse_bs} && %{?suse_version} # for xdg-menu script BuildRequires: brp-check-trinity %endif @@ -1336,7 +1336,7 @@ TDE applications, particularly those in the TDE base module. %endif # SUSE's runupdater utility -%if 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%if 0%{?opensuse_bs} == 0 %{tde_bindir}/runupdater %{tde_libdir}/libtdeinit_runupdater.la %{tde_libdir}/libtdeinit_runupdater.so diff --git a/redhat/tdelibs/tdelibs-14.0.0.spec b/redhat/tdelibs/tdelibs-14.0.0.spec index 9ed038a4b..e1afded79 100644 --- a/redhat/tdelibs/tdelibs-14.0.0.spec +++ b/redhat/tdelibs/tdelibs-14.0.0.spec @@ -95,7 +95,7 @@ BuildRequires: fdupes BuildRequires: update-desktop-files %endif -%if 0%{?opensuse_bs} +%if 0%{?opensuse_bs} && %{?suse_version} # for xdg-menu script BuildRequires: brp-check-trinity %endif diff --git a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec index 1f4e44806..ff9458688 100644 --- a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec +++ b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec @@ -84,7 +84,7 @@ BuildRequires: fdupes BuildRequires: update-desktop-files %endif -%if 0%{?opensuse_bs} +%if 0%{?opensuse_bs} && %{?suse_version} # for xdg-menu script BuildRequires: brp-check-trinity %endif diff --git a/redhat/tdewebdev/tdewebdev-14.0.0.spec b/redhat/tdewebdev/tdewebdev-14.0.0.spec index 8fe5cccb9..fd6065d13 100644 --- a/redhat/tdewebdev/tdewebdev-14.0.0.spec +++ b/redhat/tdewebdev/tdewebdev-14.0.0.spec @@ -432,11 +432,11 @@ This package is part of TDE, as a component of the TDE web development module. %{tde_tdedocdir}/HTML/en/xsldbg/ %{tde_datadir}/icons/hicolor/*/actions/1downarrow.png %{tde_datadir}/icons/hicolor/*/actions/configure.png -#%{tde_datadir}/icons/hicolor/*/actions/system-log-out.png +%{tde_datadir}/icons/hicolor/*/actions/system/log-out.png +%{tde_datadir}/icons/hicolor/*/actions/system/run.png %{tde_datadir}/icons/hicolor/*/actions/hash.png %{tde_datadir}/icons/hicolor/*/actions/mark.png %{tde_datadir}/icons/hicolor/*/actions/next.png -#%{tde_datadir}/icons/hicolor/*/actions/system-run.png %{tde_datadir}/icons/hicolor/*/actions/step.png %{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png %{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png |