From 700ec263535470631ef4f6fb816000500eb4227e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 23 Jul 2013 13:24:21 +0200 Subject: RPM Packaging: remove old redhat macros --- redhat/applications/gwenview/gwenview-14.0.0.spec | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to 'redhat/applications/gwenview/gwenview-14.0.0.spec') diff --git a/redhat/applications/gwenview/gwenview-14.0.0.spec b/redhat/applications/gwenview/gwenview-14.0.0.spec index fb3a401d0..1038a3c65 100644 --- a/redhat/applications/gwenview/gwenview-14.0.0.spec +++ b/redhat/applications/gwenview/gwenview-14.0.0.spec @@ -117,29 +117,10 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} - - -## 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 - fi -done -fi - # Removes useless files (-devel ?) %__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so + %clean %__rm -rf %{buildroot} @@ -151,6 +132,7 @@ for f in crystalsvg hicolor ; do done /sbin/ldconfig + %postun for f in crystalsvg hicolor ; do touch --no-create %{tde_datadir}/icons/${f} || : @@ -158,6 +140,7 @@ for f in crystalsvg hicolor ; do done /sbin/ldconfig + %files %defattr(-,root,root,-) %doc AUTHORS COPYING -- cgit v1.2.1