diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-05-05 11:09:11 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-05-05 11:09:11 +0200 |
commit | d45bc6f2a0b63a4533b1d325207c9421ffd8051c (patch) | |
tree | 0178af4d916a54c33484bb7cab9ee148e9d09ea3 /redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec | |
parent | 8b32b1132dd028eb502cc670932070dcd1e527c3 (diff) | |
download | tde-packaging-d45bc6f2a0b63a4533b1d325207c9421ffd8051c.tar.gz tde-packaging-d45bc6f2a0b63a4533b1d325207c9421ffd8051c.zip |
RHEL/Fedora: fix lots of application building
Diffstat (limited to 'redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec')
-rw-r--r-- | redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec b/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec index 1157fc5ff..03b1a7779 100644 --- a/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec +++ b/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec @@ -1,7 +1,7 @@ # Default version for this component %define kdecomp kbookreader %define version 0.2.0 -%define release 1 +%define release 2 # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" @@ -51,12 +51,13 @@ within the Trinity Desktop Environment. # Ugly hack to modify TQT include directory inside autoconf files. # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -sed -i admin/acinclude.m4.in \ - -e "s,/usr/include/tqt,%{_includedir}/tqt,g" +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g" -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common %build @@ -118,11 +119,16 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : %{_datadir}/applnk/*/*.desktop %{_datadir}/apps/*/ %{_datadir}/config.kcfg/* -%{_docdir}/HTML/en/*/ -%{_datadir}/icons/*/*/*/* +%{tde_docdir}/HTML/en/*/ +%{_datadir}/icons/hicolor/*/*/* %Changelog +* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.2.0-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix HTML directory location + * Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.2.0-1 - Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 |