summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-08-02 11:14:37 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-08-02 11:14:37 +0200
commit14b5a10d92e8fc60d481aba0b9f690c851ed8b71 (patch)
treea36f2ee1621a277cd3cf95b11e10d65dc499d97f /redhat
parent6548b413944f5b913bd9e1f3f9552cc0e362eb03 (diff)
downloadtde-packaging-14b5a10d92e8fc60d481aba0b9f690c851ed8b71.tar.gz
tde-packaging-14b5a10d92e8fc60d481aba0b9f690c851ed8b71.zip
RHEL/Fedora: small updates for some applications
Diffstat (limited to 'redhat')
-rw-r--r--redhat/applications/kde-systemsettings/trinity-kde-systemsettings.spec11
-rw-r--r--redhat/applications/kdesvn/trinity-kdesvn.spec151
-rw-r--r--redhat/applications/kdmtheme/trinity-kdmtheme.spec14
-rw-r--r--redhat/applications/kima/trinity-kima.spec21
-rw-r--r--redhat/applications/krusader/trinity-krusader.spec10
-rw-r--r--redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.spec8
6 files changed, 126 insertions, 89 deletions
diff --git a/redhat/applications/kde-systemsettings/trinity-kde-systemsettings.spec b/redhat/applications/kde-systemsettings/trinity-kde-systemsettings.spec
index 320672a88..17fd66486 100644
--- a/redhat/applications/kde-systemsettings/trinity-kde-systemsettings.spec
+++ b/redhat/applications/kde-systemsettings/trinity-kde-systemsettings.spec
@@ -5,7 +5,9 @@
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_datadir}/doc
-#define _sysconfdir %{_prefix}/etc
+
+# Currently, menu files under /etc/xdg conflict with KDE4
+%define _sysconfdir %{_prefix}/etc
%endif
# TDE 3.5.13 specific building variables
@@ -18,7 +20,7 @@ BuildRequires: autoconf automake libtool m4
Name: trinity-systemsettings
Summary: easy to use control centre for TDE
Version: 0.0svn20070312
-Release: 3%{?dist}%{?_variant}
+Release: 4%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
@@ -99,7 +101,7 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg || :
%defattr(-,root,root,-)
%doc README TODO
%{_sysconfdir}/xdg/menus/applications-merged/system-settings-merge.menu
-%exclude %{_sysconfdir}/xdg/menus/system-settings.menu
+%{_sysconfdir}/xdg/menus/system-settings.menu
%{_bindir}/systemsettings
%{_datadir}/applications/kde/audioencoding.desktop
%{_datadir}/applications/kde/defaultapplication.desktop
@@ -118,6 +120,9 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg || :
%Changelog
+* Wed Jul 11 2012 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-4
+- Fix XDG menu directory location (again)
+
* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-3
- Updates 'Requires: trinity-guidance' to reflect package renaming
diff --git a/redhat/applications/kdesvn/trinity-kdesvn.spec b/redhat/applications/kdesvn/trinity-kdesvn.spec
index 7f03c6c33..8e7f0c065 100644
--- a/redhat/applications/kdesvn/trinity-kdesvn.spec
+++ b/redhat/applications/kdesvn/trinity-kdesvn.spec
@@ -1,25 +1,29 @@
# Default version for this component
%define kdecomp kdesvn
-%define version 1.0.4
-%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"
%define _variant .opt
-%define _docdir %{_prefix}/share/doc
-%define _mandir %{_prefix}/share/man
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
-%define tde_docdir %{_docdir}/kde
-%define tde_includedir %{_includedir}/kde
-%define tde_libdir %{_libdir}/trinity
+%define tde_bindir %{_prefix}/bin
+%define tde_datadir %{_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{_prefix}/include
+%define tde_libdir %{_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/kde
+%define tde_tdeincludedir %{tde_includedir}/kde
+%define tde_tdelibdir %{tde_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: subversion client with tight KDE integration [Trinity]
-Version: %{?version}
-Release: %{?release}%{?dist}%{?_variant}
+Version: 1.0.4
+Release: 3%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
@@ -37,8 +41,8 @@ Source0: %{kdecomp}-3.5.13.tar.gz
Patch1: kdesvn-3.5.13-fix_gcc47_compilation.patch
BuildRequires: tqtinterface-devel
-BuildRequires: trinity-kdelibs-devel
-BuildRequires: trinity-kdebase-devel
+BuildRequires: trinity-tdelibs-devel
+BuildRequires: trinity-tdebase-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
@@ -114,12 +118,19 @@ find . -name "*.cmake" -exec %__sed -i {} \
%build
unset QTDIR; . /etc/profile.d/qt.sh
-export PATH="%{_bindir}:${PATH}"
+export PATH="%{_bindir}:${QTDIR}/bin:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
-%__mkdir_p build
-cd build
-%cmake ..
+%{?!mgaversion:%__mkdir build; cd build}
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_includedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \
+ -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ ..
# SMP safe !
%__make %{?_smp_mflags}
@@ -133,6 +144,18 @@ export PATH="%{_bindir}:${PATH}"
%find_lang %{kdecomp} || touch %{kdecomp}.lang
+# Installs SVN protocols as alternatives
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn
+%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol
+%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol
+%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol
+%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol
+%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol
+
%clean
%__rm -rf %{buildroot}
@@ -149,6 +172,26 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%post -n trinity-libsvnqt
/sbin/ldconfig || :
+%post kio-plugins
+for proto in svn+file svn+http svn+https svn+ssh svn; do
+ alternatives --install \
+ %{tde_datadir}/services/${proto}.protocol \
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesvn \
+ 20
+done
+
+%preun kio-plugins
+if [ $1 -eq 0 ]; then
+ for proto in svn+file svn+http svn+https svn+ssh svn; do
+ alternatives --remove \
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesvn
+ done
+fi
+
+
+
%postun -n trinity-libsvnqt
/sbin/ldconfig || :
@@ -156,50 +199,58 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files -f %{kdecomp}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
-%{_bindir}/kdesvn
-%{_bindir}/kdesvnaskpass
-%{tde_libdir}/libkdesvnpart.la
-%{tde_libdir}/libkdesvnpart.so
-%{_datadir}/applications/kde/kdesvn.desktop
-%{_datadir}/apps/kconf_update/kdesvn-use-external-update.sh
-%{_datadir}/apps/kconf_update/kdesvnpartrc-use-external.upd
-%{_datadir}/apps/kdesvn/kdesvnui.rc
-%{_datadir}/apps/kdesvnpart/kdesvn_part.rc
-%{_datadir}/apps/konqueror/servicemenus/kdesvn_subversion.desktop
-%{_datadir}/config.kcfg/kdesvn_part.kcfg
-%{_datadir}/icons/hicolor/*/*/*.png
-%{_datadir}/icons/hicolor/*/*/*.svgz
-%{_mandir}/man1/kdesvn.1
-%{_mandir}/man1/kdesvnaskpass.1
-%{tde_docdir}/HTML
+%{tde_bindir}/kdesvn
+%{tde_bindir}/kdesvnaskpass
+%{tde_tdelibdir}/libkdesvnpart.la
+%{tde_tdelibdir}/libkdesvnpart.so
+%{tde_datadir}/applications/kde/kdesvn.desktop
+%{tde_datadir}/apps/kconf_update/kdesvn-use-external-update.sh
+%{tde_datadir}/apps/kconf_update/kdesvnpartrc-use-external.upd
+%{tde_datadir}/apps/kdesvn/kdesvnui.rc
+%{tde_datadir}/apps/kdesvnpart/kdesvn_part.rc
+%{tde_datadir}/apps/konqueror/servicemenus/kdesvn_subversion.desktop
+%{tde_datadir}/config.kcfg/kdesvn_part.kcfg
+%{tde_datadir}/icons/hicolor/*/*/*.png
+%{tde_datadir}/icons/hicolor/*/*/*.svgz
+%{tde_mandir}/man1/kdesvn.1
+%{tde_mandir}/man1/kdesvnaskpass.1
+%{tde_tdedocdir}/HTML/*/
%files -n trinity-libsvnqt
-%{_libdir}/libsvnqt.so.4
-%{_libdir}/libsvnqt.so.4.2.2
+%{tde_libdir}/libsvnqt.so.4
+%{tde_libdir}/libsvnqt.so.4.2.2
%files -n trinity-libsvnqt-devel
-%{_includedir}/svnqt
-%{_libdir}/libsvnqt.so
+%{tde_includedir}/svnqt
+%{tde_libdir}/libsvnqt.so
%files kio-plugins
-%{_datadir}/services/kded/kdesvnd.desktop
-%{_datadir}/services/ksvn+file.protocol
-%{_datadir}/services/ksvn+http.protocol
-%{_datadir}/services/ksvn+https.protocol
-%{_datadir}/services/ksvn+ssh.protocol
-%{_datadir}/services/ksvn.protocol
-%{_datadir}/services/svn+file.protocol
-%{_datadir}/services/svn+http.protocol
-%{_datadir}/services/svn+https.protocol
-%{_datadir}/services/svn+ssh.protocol
-%{_datadir}/services/svn.protocol
-%{tde_libdir}/kio_ksvn.la
-%{tde_libdir}/kio_ksvn.so
-%{tde_libdir}/kded_kdesvnd.la
-%{tde_libdir}/kded_kdesvnd.so
+%{tde_datadir}/services/kded/kdesvnd.desktop
+%{tde_datadir}/services/ksvn+file.protocol
+%{tde_datadir}/services/ksvn+http.protocol
+%{tde_datadir}/services/ksvn+https.protocol
+%{tde_datadir}/services/ksvn+ssh.protocol
+%{tde_datadir}/services/ksvn.protocol
+%{tde_datadir}/services/svn+file.protocol
+%{tde_datadir}/services/svn+http.protocol
+%{tde_datadir}/services/svn+https.protocol
+%{tde_datadir}/services/svn+ssh.protocol
+%{tde_datadir}/services/svn.protocol
+%{tde_datadir}/services/svn+file.protocol_tdesvn
+%{tde_datadir}/services/svn+http.protocol_tdesvn
+%{tde_datadir}/services/svn+https.protocol_tdesvn
+%{tde_datadir}/services/svn+ssh.protocol_tdesvn
+%{tde_datadir}/services/svn.protocol_tdesvn
+%{tde_tdelibdir}/kio_ksvn.la
+%{tde_tdelibdir}/kio_ksvn.so
+%{tde_tdelibdir}/kded_kdesvnd.la
+%{tde_tdelibdir}/kded_kdesvnd.so
%Changelog
+* Mon Jul 30 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.4-3
+- Installs SVN protocols as alternative, avoids conlict with TDESDK
+
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.4-2
- Rebuilt for Fedora 17
- Fix post and postun
diff --git a/redhat/applications/kdmtheme/trinity-kdmtheme.spec b/redhat/applications/kdmtheme/trinity-kdmtheme.spec
index e2bd41958..b7fb762dd 100644
--- a/redhat/applications/kdmtheme/trinity-kdmtheme.spec
+++ b/redhat/applications/kdmtheme/trinity-kdmtheme.spec
@@ -1,12 +1,10 @@
# Default version for this component
%define kdecomp kdmtheme
-%define version 1.2.2
-%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"
%define _variant .opt
-%define _docdir %{_prefix}/share/doc
+%define _docdir %{_datadir}/doc
%endif
# TDE 3.5.13 specific building variables
@@ -18,8 +16,8 @@ BuildRequires: autoconf automake libtool m4
Name: trinity-%{kdecomp}
Summary: theme manager for KDM [Trinity]
-Version: %{?version}
-Release: %{?release}%{?dist}%{?_variant}
+Version: 1.2.2
+Release: 2%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
@@ -41,7 +39,7 @@ BuildRequires: gettext
%description
-kdmtheme is a theme manager for KDM. It provides a KDE Control Module (KCM)
+kdmtheme is a theme manager for KDM. It provides a TDE Control Module (KCM)
that allows you to easily install, remove and change your KDM themes.
@@ -87,9 +85,7 @@ export PATH="%{_bindir}:${PATH}"
%{tde_libdir}/kcm_kdmtheme.la
%{tde_libdir}/kcm_kdmtheme.so
%{_datadir}/applications/kde/kdmtheme.desktop
-%{tde_docdir}/HTML/en/kdmtheme/common
-%{tde_docdir}/HTML/en/kdmtheme/index.cache.bz2
-%{tde_docdir}/HTML/en/kdmtheme/index.docbook
+%{tde_docdir}/HTML/en/kdmtheme/
%Changelog
diff --git a/redhat/applications/kima/trinity-kima.spec b/redhat/applications/kima/trinity-kima.spec
index 9403f857c..8c1e6e3b7 100644
--- a/redhat/applications/kima/trinity-kima.spec
+++ b/redhat/applications/kima/trinity-kima.spec
@@ -1,12 +1,10 @@
# Default version for this component
%define kdecomp kima
-%define version 0.7.3.2
-%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"
%define _variant .opt
-%define _docdir %{_prefix}/share/doc
+%define _docdir %{_datadir}/doc
%endif
# TDE 3.5.13 specific building variables
@@ -18,8 +16,8 @@ BuildRequires: autoconf automake libtool m4
Name: trinity-%{kdecomp}
Summary: kicker monitoring applet [Trinity]
-Version: %{?version}
-Release: %{?release}%{?dist}%{?_variant}
+Version: 0.7.3.2
+Release: 2%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
@@ -51,7 +49,7 @@ panel.
# 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 \
+%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g"
@@ -86,22 +84,13 @@ export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
-%post
-/sbin/ldconfig || :
-
-%postun
-/sbin/ldconfig || :
-
-
%files -f %{kdecomp}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_libdir}/libkima.la
%{tde_libdir}/libkima.so
%{_datadir}/apps/kicker/applets/kima.desktop
-%{tde_docdir}/HTML/en/kima/common
-%{tde_docdir}/HTML/en/kima/index.cache.bz2
-%{tde_docdir}/HTML/en/kima/index.docbook
+%{tde_docdir}/HTML/en/kima/
%Changelog
diff --git a/redhat/applications/krusader/trinity-krusader.spec b/redhat/applications/krusader/trinity-krusader.spec
index 2816e930f..13beeab6b 100644
--- a/redhat/applications/krusader/trinity-krusader.spec
+++ b/redhat/applications/krusader/trinity-krusader.spec
@@ -1,7 +1,5 @@
# Default version for this component
%define kdecomp krusader
-%define version 1.90.0
-%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"
@@ -19,8 +17,8 @@ BuildRequires: autoconf automake libtool m4
Name: trinity-%{kdecomp}
Summary: twin-panel (commander-style) file manager for KDE (and other desktops)
-Version: %{?version}
-Release: %{?release}%{?dist}%{?_variant}
+Version: 1.90.0
+Release: 2%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
@@ -125,8 +123,8 @@ done
%{_datadir}/applications/kde/krusader.desktop
%{_datadir}/applications/kde/krusader_root-mode.desktop
%{_datadir}/apps/krusader
-%{tde_docdir}/HTML/en/krusader
-%{tde_docdir}/HTML/ru/krusader
+%{tde_docdir}/HTML/en/krusader/
+%lang(ru) %{tde_docdir}/HTML/ru/krusader/
%{_datadir}/icons/crystalsvg/*/apps/*.png
%{_datadir}/icons/locolor/*/apps/*.png
%{_datadir}/services/krarc.protocol
diff --git a/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.spec b/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.spec
index 5860200ab..8ac29215a 100644
--- a/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.spec
+++ b/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.spec
@@ -1,12 +1,10 @@
# Default version for this component
%define kdecomp kstreamripper
-%define version 0.3.4
-%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
-%define _docdir %{_prefix}/share/doc
+%define _docdir %{_datadir}/doc
%endif
# TDE 3.5.13 specific building variables
@@ -19,8 +17,8 @@ BuildRequires: autoconf automake libtool m4
Name: trinity-%{kdecomp}
Summary: TDE frontend for streamripper
-Version: %{?version}
-Release: %{?release}%{?dist}%{?_variant}
+Version: 0.3.4
+Release: 1%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities