diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-07-23 13:24:21 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-07-23 13:24:21 +0200 |
commit | 700ec263535470631ef4f6fb816000500eb4227e (patch) | |
tree | 7aeb6931d9a5bf859131c2d5511913f5bbbf40a7 /redhat/tdeutils/tdeutils-14.0.0.spec | |
parent | a28a81a1e4d7de6ba67b1cd65d3f688582a0745e (diff) | |
download | tde-packaging-700ec263535470631ef4f6fb816000500eb4227e.tar.gz tde-packaging-700ec263535470631ef4f6fb816000500eb4227e.zip |
RPM Packaging: remove old redhat macros
Diffstat (limited to 'redhat/tdeutils/tdeutils-14.0.0.spec')
-rw-r--r-- | redhat/tdeutils/tdeutils-14.0.0.spec | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/redhat/tdeutils/tdeutils-14.0.0.spec b/redhat/tdeutils/tdeutils-14.0.0.spec index b60ca65d5..4c141359a 100644 --- a/redhat/tdeutils/tdeutils-14.0.0.spec +++ b/redhat/tdeutils/tdeutils-14.0.0.spec @@ -1027,31 +1027,6 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{?buildroot} %__make install DESTDIR=%{?buildroot} -C build - -## File lists -# HTML (1.0) -HTML_DIR=$(tde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - pushd $lang_dir/kcontrol - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -fi - - %if 0%{?build_klaptopdaemon} ### Use consolehelper for 'klaptop_acpi_helper' %if 0%{?with_consolehelper} @@ -1074,7 +1049,7 @@ fi %else -# Klaptop's documentation is installed even if we did not build it ... +# Klaptop's documentation is installed even if we did not build the program ... %__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/ %__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/ %__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/laptop/ |