summaryrefslogtreecommitdiffstats
path: root/redhat/applications/gwenview/gwenview-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-23 13:24:21 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-23 13:24:21 +0200
commit700ec263535470631ef4f6fb816000500eb4227e (patch)
tree7aeb6931d9a5bf859131c2d5511913f5bbbf40a7 /redhat/applications/gwenview/gwenview-14.0.0.spec
parenta28a81a1e4d7de6ba67b1cd65d3f688582a0745e (diff)
downloadtde-packaging-700ec263535470631ef4f6fb816000500eb4227e.tar.gz
tde-packaging-700ec263535470631ef4f6fb816000500eb4227e.zip
RPM Packaging: remove old redhat macros
Diffstat (limited to 'redhat/applications/gwenview/gwenview-14.0.0.spec')
-rw-r--r--redhat/applications/gwenview/gwenview-14.0.0.spec23
1 files changed, 3 insertions, 20 deletions
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